File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 27
27
2 . 使rtmp、http-flv、hls、http-ts直播支持mp3、h265编码
28
28
3 . 支持http-ts直播协议
29
29
4 . 支持直播时移服务
30
- 5 . 支持hls+(内存切片)服务(目前仅在dev分支,经过进一步测试后会合并到master分支上 )
30
+ 5 . 支持hls+(内存切片)服务(目前仅支持单进程下使用,多进程下无法正常使用,未来将支持多进程下的hls+ )
31
31
6 . 支持服务器端自动修复异常的音视频时间戳功能
32
32
7 . 修复流状态监控后台页面
33
33
@@ -145,6 +145,9 @@ http {
145
145
root /tmp;
146
146
add_header Cache-Control no-cache;
147
147
}
148
+ location /hls2 {
149
+ hls2_live 1935 app=live;
150
+ }
148
151
location /dash {
149
152
# Serve DASH fragments
150
153
root /tmp;
@@ -178,7 +181,8 @@ rtmp://your-server-ip/live/stream-name
178
181
- http-flv播放地址:http://your-server-ip/flv/stream-name
179
182
- http-ts播放地址:http://your-server-ip/ts/stream-name
180
183
- hls播放地址:http://your-server-ip/hls/stream-name.m3u8
181
-
184
+ - “hls+”播放地址:http://your-server-ip/hls2/stream-name.m3u8
185
+ ** hls+ 模式下可以提供更低延时的hls直播服务,缺点是目前仅支持单进程下使用,未来会支持多进程场景。**
182
186
183
187
常用的推流工具有OBS和ffmpeg,具体使用方法这里不再赘述,只给出ffmpeg推送文件的命令。
184
188
You can’t perform that action at this time.
0 commit comments