mirror of
https://github.com/ossrs/srs.git
synced 2025-11-24 03:44:02 +08:00
SRT: Default to request for VLC. #4515
This commit is contained in:
@@ -693,8 +693,8 @@ srt_server {
|
||||
# This is used when SRT client connects without setting SRTO_STREAMID socket option.
|
||||
# The streamid format follows SRT standard: #!::r=app/stream,m=publish|request
|
||||
# Overwrite by env SRS_SRT_SERVER_DEFAULT_STREAMID
|
||||
# default: #!::r=live/livestream,m=publish
|
||||
default_streamid "#!::r=live/livestream,m=publish";
|
||||
# default: #!::r=live/livestream,m=request
|
||||
default_streamid "#!::r=live/livestream,m=request";
|
||||
# The peerlatency is set by the sender side and will notify the receiver side.
|
||||
# Overwrite by env SRS_SRT_SERVER_PEERLATENCY
|
||||
# default: 0
|
||||
|
||||
@@ -7621,7 +7621,7 @@ string SrsConfig::get_srt_default_streamid()
|
||||
{
|
||||
SRS_OVERWRITE_BY_ENV_STRING("srs.srt_server.default_streamid"); // SRS_SRT_SERVER_DEFAULT_STREAMID
|
||||
|
||||
static string DEFAULT = "#!::r=live/livestream,m=publish";
|
||||
static string DEFAULT = "#!::r=live/livestream,m=request";
|
||||
SrsConfDirective *conf = root_->get("srt_server");
|
||||
if (!conf) {
|
||||
return DEFAULT;
|
||||
|
||||
Reference in New Issue
Block a user