正在显示
1 个修改的文件
包含
1 行增加
和
13 行删除
1 | # the listen ports, split by space. | 1 | # the listen ports, split by space. |
2 | listen 1935; | 2 | listen 1935; |
3 | -<<<<<<< HEAD | ||
4 | -======= | ||
5 | -# the default chunk size is 128, max is 65536, | ||
6 | -# some client does not support chunk size change, | ||
7 | -# however, most clients supports it and it can improve | ||
8 | -# performance about 10%. | ||
9 | -# default: 4096 | ||
10 | -chunk_size 65000; | ||
11 | ->>>>>>> upstream/master | ||
12 | # the logs dir. | 3 | # the logs dir. |
13 | # if enabled ffmpeg, each stracoding stream will create a log file. | 4 | # if enabled ffmpeg, each stracoding stream will create a log file. |
14 | # default: ./objs/logs | 5 | # default: ./objs/logs |
@@ -105,15 +96,12 @@ vhost dev { | @@ -105,15 +96,12 @@ vhost dev { | ||
105 | gop_cache on; | 96 | gop_cache on; |
106 | queue_length 10; | 97 | queue_length 10; |
107 | forward 127.0.0.1:19350; | 98 | forward 127.0.0.1:19350; |
108 | -<<<<<<< HEAD | ||
109 | -======= | ||
110 | hls { | 99 | hls { |
111 | enabled on; | 100 | enabled on; |
112 | hls_path ./objs/nginx/html; | 101 | hls_path ./objs/nginx/html; |
113 | hls_fragment 5; | 102 | hls_fragment 5; |
114 | hls_window 30; | 103 | hls_window 30; |
115 | } | 104 | } |
116 | ->>>>>>> upstream/master | ||
117 | http_hooks { | 105 | http_hooks { |
118 | enabled off; | 106 | enabled off; |
119 | on_connect http://127.0.0.1:8085/api/v1/clients; | 107 | on_connect http://127.0.0.1:8085/api/v1/clients; |
@@ -124,7 +112,7 @@ vhost dev { | @@ -124,7 +112,7 @@ vhost dev { | ||
124 | on_stop http://127.0.0.1:8085/api/v1/sessions; | 112 | on_stop http://127.0.0.1:8085/api/v1/sessions; |
125 | } | 113 | } |
126 | transcode { | 114 | transcode { |
127 | - enabled off; | 115 | + enabled on; |
128 | ffmpeg ./objs/ffmpeg/bin/ffmpeg; | 116 | ffmpeg ./objs/ffmpeg/bin/ffmpeg; |
129 | engine dev { | 117 | engine dev { |
130 | enabled on; | 118 | enabled on; |
-
请 注册 或 登录 后发表评论