Add /video
to automatically give HLS to supported browser
This commit is contained in:
@ -76,7 +76,9 @@ http_method_t http_methods[] = {
|
||||
{ "GET /stream?", http_stream },
|
||||
{ "GET /?action=snapshot", http_snapshot },
|
||||
{ "GET /?action=stream", http_stream },
|
||||
{ "GET /video?", http_content, "text/html", html_video_html, 0, &html_video_html_len },
|
||||
{ "GET /video?", http_detect_video },
|
||||
{ "GET /video.html?", http_content, "text/html", html_video_html, 0, &html_video_html_len },
|
||||
{ "GET /video.m3u8?", http_m3u8_video },
|
||||
{ "GET /video.h264?", http_h264_video },
|
||||
{ "GET /video.mkv?", http_mkv_video },
|
||||
{ "GET /video.mp4?", http_mp4_video },
|
||||
|
Reference in New Issue
Block a user