Skip to content

Commit 0030a75

Browse files
authored
Update README.md
1 parent 25a349b commit 0030a75

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
2. 使rtmp、http-flv、hls、http-ts直播支持mp3、h265编码
2828
3. 支持http-ts直播协议
2929
4. 支持直播时移服务
30-
5. 支持hls+(内存切片)服务(目前仅在dev分支,经过进一步测试后会合并到master分支上
30+
5. 支持hls+(内存切片)服务(目前仅支持单进程下使用,多进程下无法正常使用,未来将支持多进程下的hls+
3131
6. 支持服务器端自动修复异常的音视频时间戳功能
3232
7. 修复流状态监控后台页面
3333

@@ -145,6 +145,9 @@ http {
145145
root /tmp;
146146
add_header Cache-Control no-cache;
147147
}
148+
location /hls2 {
149+
hls2_live 1935 app=live;
150+
}
148151
location /dash {
149152
# Serve DASH fragments
150153
root /tmp;
@@ -178,7 +181,8 @@ rtmp://your-server-ip/live/stream-name
178181
- http-flv播放地址:http://your-server-ip/flv/stream-name
179182
- http-ts播放地址:http://your-server-ip/ts/stream-name
180183
- hls播放地址:http://your-server-ip/hls/stream-name.m3u8
181-
184+
- “hls+”播放地址:http://your-server-ip/hls2/stream-name.m3u8
185+
**hls+ 模式下可以提供更低延时的hls直播服务,缺点是目前仅支持单进程下使用,未来会支持多进程场景。**
182186

183187
常用的推流工具有OBS和ffmpeg,具体使用方法这里不再赘述,只给出ffmpeg推送文件的命令。
184188

0 commit comments

Comments
 (0)