diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index d69c20aa8..503c19199 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -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 diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index 86b8500b0..8f6e8bb22 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -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;