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
|
@ -642,7 +642,7 @@ srs_error_t SrsRtspConn::connect()
|
|||
if (!req) {
|
||||
std::string schema, host, vhost, app, param;
|
||||
int port;
|
||||
srs_discovery_tc_url(rtsp_tcUrl, schema, host, vhost, app, port, param);
|
||||
srs_discovery_tc_url(rtsp_tcUrl, schema, host, vhost, app, rtsp_stream, port, param);
|
||||
|
||||
// generate output by template.
|
||||
std::string output = output_template;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue