mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #1059, merge from 2.0, supports url with vhost in stream. 3.0.27
This commit is contained in:
parent
93d3e1464a
commit
681138d2af
14 changed files with 164 additions and 68 deletions
|
@ -368,7 +368,7 @@ srs_error_t SrsIngester::initialize_ffmpeg(SrsFFMPEG* ffmpeg, SrsConfDirective*
|
|||
int port = SRS_CONSTS_RTMP_DEFAULT_PORT;
|
||||
std::string tcUrl, schema, host, vhost2, param;
|
||||
srs_parse_rtmp_url(output, tcUrl, stream);
|
||||
srs_discovery_tc_url(tcUrl, schema, host, vhost2, app, port, param);
|
||||
srs_discovery_tc_url(tcUrl, schema, host, vhost2, app, stream, port, param);
|
||||
}
|
||||
|
||||
std::string log_file = SRS_CONSTS_NULL_FILE; // disabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue