Add /video to automatically give HLS to supported browser

This commit is contained in:
Kamil Trzcinski
2022-09-06 23:04:55 +02:00
parent 5ee0bee59f
commit 5801152b03
12 changed files with 93 additions and 12 deletions

View File

@ -23,4 +23,8 @@ void http_mkv_video(struct http_worker_s *worker, FILE *stream);
void http_mp4_video(struct http_worker_s *worker, FILE *stream);
void http_mov_video(struct http_worker_s *worker, FILE *stream);
// HLS
void http_m3u8_video(struct http_worker_s *worker, FILE *stream);
void http_detect_video(struct http_worker_s *worker, FILE *stream);
#define HTTP_LOW_RES_PARAM "res=low"