Skip to content

Commit

Permalink
solve srt listen bug
Browse files Browse the repository at this point in the history
  • Loading branch information
runner365 committed Apr 25, 2023
1 parent bb12e5b commit 20887ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7748,7 +7748,7 @@ std::string SrsConfig::get_srt_type(SrsConfDirective* srt_conf)

unsigned short SrsConfig::get_srt_port(SrsConfDirective* srt_conf)
{
SRS_OVERWRITE_BY_ENV_INT("srs.srt_server.pushport"); // SRS_SRT_SERVER_LISTEN
SRS_OVERWRITE_BY_ENV_INT("srs.srt_server.listen"); // SRS_SRT_SERVER_LISTEN

static unsigned short DEFAULT = 10080;

Expand Down

0 comments on commit 20887ae

Please sign in to comment.