|
|
|
@ -484,7 +484,7 @@ vhost rtc.vhost.srs.com {
|
|
|
|
|
min_latency on;
|
|
|
|
|
play {
|
|
|
|
|
# set the MW(merged-write) latency in ms.
|
|
|
|
|
# @remark For WebRTC, we enable pass-timestamp mode, so we ignore this config.
|
|
|
|
|
# @remark For WebRTC, we enable pass-by-timestamp mode, so we ignore this config.
|
|
|
|
|
# default: 0 (For WebRTC)
|
|
|
|
|
mw_latency 0;
|
|
|
|
|
# Set the MW(merged-write) min messages.
|
|
|
|
@ -717,7 +717,7 @@ vhost play.srs.com {
|
|
|
|
|
# SRS always set mw on, so we just set the latency value.
|
|
|
|
|
# the latency of stream >= mw_latency + mr_latency
|
|
|
|
|
# the value recomment is [300, 1800]
|
|
|
|
|
# @remark For WebRTC, we enable pass-timestamp mode, so we ignore this config.
|
|
|
|
|
# @remark For WebRTC, we enable pass-by-timestamp mode, so we ignore this config.
|
|
|
|
|
# default: 350 (For RTMP/HTTP-FLV)
|
|
|
|
|
# default: 0 (For WebRTC)
|
|
|
|
|
mw_latency 350;
|
|
|
|
|