Refine the config

pull/2809/head
winlin 3 years ago
parent cc501e3eef
commit faf5fb0a83

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

Loading…
Cancel
Save