mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use send_min_interval for stream control. 2.0.183
This commit is contained in:
parent
c02da33c11
commit
ae37fa8f3e
14 changed files with 133 additions and 26 deletions
|
@ -858,6 +858,27 @@ vhost min.delay.com {
|
|||
tcp_nodelay on;
|
||||
}
|
||||
|
||||
# the vhost to control the stream delivery feature
|
||||
vhost stream.control.com {
|
||||
# @see vhost mrw.srs.com for detail.
|
||||
min_latency on;
|
||||
mr {
|
||||
enabled off;
|
||||
}
|
||||
mw_latency 100;
|
||||
# @see vhost min.delay.com
|
||||
queue_length 10;
|
||||
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.
|
||||
# default: 0
|
||||
send_min_interval 3;
|
||||
}
|
||||
|
||||
# the vhost for antisuck.
|
||||
vhost refer.anti_suck.com {
|
||||
# the common refer for play and publish.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue