mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge SRS
This commit is contained in:
commit
2c1bd6da3e
17 changed files with 2764 additions and 140 deletions
|
@ -319,7 +319,8 @@ stream_caster {
|
|||
rtp_port_min 58200;
|
||||
rtp_port_max 58300;
|
||||
# Whether wait for keyframe then forward to RTMP.
|
||||
wait_keyframe off;
|
||||
# default: on
|
||||
wait_keyframe on;
|
||||
# Max timeout in seconds for RTP stream, if timeout, RTCP bye and close stream.
|
||||
# default: 30
|
||||
rtp_idle_timeout 30;
|
||||
|
|
|
@ -36,7 +36,7 @@ stream_caster {
|
|||
# 是否等待关键帧之后,再转发,
|
||||
# off:不需等待,直接转发
|
||||
# on:等第一个关键帧后,再转发
|
||||
wait_keyframe off;
|
||||
wait_keyframe on;
|
||||
|
||||
# rtp包空闲等待时间,如果指定时间没有收到任何包
|
||||
# rtp监听连接自动停止,发送BYE命令
|
||||
|
@ -54,6 +54,10 @@ stream_caster {
|
|||
# 因为flash,只支持11025 22050 44100
|
||||
audio_enable off;
|
||||
|
||||
# 是否开启rtp缓冲
|
||||
# 开启之后能有效解决rtp乱序等问题
|
||||
jitterbuffer_enable on;
|
||||
|
||||
# 服务器主机号,可以域名或ip地址
|
||||
# 也就是设备端将媒体发送的地址,如果是服务器是内外网
|
||||
# 需要写外网地址,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue