mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #319, move smi and rsh to play
This commit is contained in:
parent
f7c893d907
commit
bc24c0407b
7 changed files with 43 additions and 63 deletions
|
@ -437,6 +437,21 @@ vhost play.srs.com {
|
|||
# the value recomment is [300, 1800]
|
||||
# default: 350
|
||||
mw_latency 350;
|
||||
|
||||
# the minimal packets send interval in ms,
|
||||
# used to control the ndiff of stream by srs_rtmp_dump,
|
||||
# for example, some device can only accept some stream which
|
||||
# delivery packets in constant interval(not cbr).
|
||||
# @remark 0 to disable the minimal interval.
|
||||
# @remark >0 to make the srs to send message one by one.
|
||||
# @remark user can get the right packets interval in ms by srs_rtmp_dump.
|
||||
# default: 0
|
||||
send_min_interval 10.0;
|
||||
# whether reduce the sequence header,
|
||||
# for some client which cannot got duplicated sequence header,
|
||||
# while the sequence header is not changed yet.
|
||||
# default: off
|
||||
reduce_sequence_header on;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -501,25 +516,12 @@ vhost stream.control.com {
|
|||
# @see scope.vhost.srs.com
|
||||
tcp_nodelay on;
|
||||
|
||||
# the minimal packets send interval in ms,
|
||||
# used to control the ndiff of stream by srs_rtmp_dump,
|
||||
# for example, some device can only accept some stream which
|
||||
# delivery packets in constant interval(not cbr).
|
||||
# @remark 0 to disable the minimal interval.
|
||||
# @remark >0 to make the srs to send message one by one.
|
||||
# @remark user can get the right packets interval in ms by srs_rtmp_dump.
|
||||
# default: 0
|
||||
send_min_interval 10.0;
|
||||
# whether reduce the sequence header,
|
||||
# for some client which cannot got duplicated sequence header,
|
||||
# while the sequence header is not changed yet.
|
||||
# default: off
|
||||
reduce_sequence_header on;
|
||||
|
||||
# @see play.srs.com
|
||||
play {
|
||||
mw_latency 100;
|
||||
queue_length 10;
|
||||
send_min_interval 10.0;
|
||||
reduce_sequence_header on;
|
||||
}
|
||||
|
||||
# @see publish.srs.com
|
||||
|
|
|
@ -79,7 +79,6 @@ vhost vhost.srs.com {
|
|||
gop_cache off;
|
||||
queue_length 10;
|
||||
|
||||
# TODO
|
||||
send_min_interval 10.0;
|
||||
reduce_sequence_header on;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue