mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge 5.0.100, v5.0-a1 into develop.
This commit is contained in:
commit
fa177679a6
13 changed files with 1088 additions and 108 deletions
|
@ -914,6 +914,7 @@ vhost scope.vhost.srs.com {
|
|||
# the default chunk size is 128, max is 65536,
|
||||
# some client does not support chunk size change,
|
||||
# vhost chunk size will override the global value.
|
||||
# Overwrite by env SRS_VHOST_CHUNK_SIZE for all vhosts.
|
||||
# default: global chunk size.
|
||||
chunk_size 128;
|
||||
|
||||
|
@ -922,11 +923,13 @@ vhost scope.vhost.srs.com {
|
|||
# but for some peer(encoder), it never send message but use a different ack size.
|
||||
# We can chnage the default ack size in server-side, to send acknowledge message,
|
||||
# or the encoder maybe blocked after publishing for some time.
|
||||
# Overwrite by env SRS_VHOST_IN_ACK_SIZE for all vhosts.
|
||||
# Default: 0
|
||||
in_ack_size 0;
|
||||
|
||||
# The output ack size, 0 to not set.
|
||||
# This is used to notify the peer(player) to send acknowledge to server.
|
||||
# Overwrite by env SRS_VHOST_OUT_ACK_SIZE for all vhosts.
|
||||
# Default: 2500000
|
||||
out_ack_size 2500000;
|
||||
}
|
||||
|
@ -1099,6 +1102,7 @@ vhost play.srs.com {
|
|||
|
||||
# Limit the max frames in gop cache. It might cause OOM if video stream has no IDR frame, so we limit to N
|
||||
# frames by default. Note that it's the size of gop cache, including videos, audios and other messages.
|
||||
# Overwrite by env SRS_VHOST_PLAY_GOP_CACHE_MAX_FRAMES for all vhosts.
|
||||
# default: 2500
|
||||
gop_cache_max_frames 2500;
|
||||
|
||||
|
@ -1700,6 +1704,7 @@ vhost hls.srs.com {
|
|||
hls_ts_ctx on;
|
||||
|
||||
# the hls fragment in seconds, the duration of a piece of ts.
|
||||
# Overwrite by env SRS_VHOST_HLS_HLS_FRAGMENT for all vhosts.
|
||||
# default: 10
|
||||
hls_fragment 10;
|
||||
# the hls m3u8 target duration ratio,
|
||||
|
@ -1892,7 +1897,7 @@ vhost hds.srs.com {
|
|||
# default: off
|
||||
enabled on;
|
||||
# the hds fragment in seconds.
|
||||
# Overwrite by env SRS_VHOST_HDS_FRAGMENT for all vhosts.
|
||||
# Overwrite by env SRS_VHOST_HDS_HDS_FRAGMENT for all vhosts.
|
||||
# default: 10
|
||||
hds_fragment 10;
|
||||
# the hds window in seconds, erase the segment when exceed the window.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue