1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

STAT: Refine tcUrl for SRT/RTC. v5.0.54

This commit is contained in:
winlin 2022-08-30 19:35:14 +08:00
parent d877c0b76f
commit 9c6774b644
21 changed files with 121 additions and 36 deletions

View file

@ -76,7 +76,7 @@ extern long srs_random();
* generate the tcUrl without param.
* @remark Use host as tcUrl.vhost if vhost is default vhost.
*/
extern std::string srs_generate_tc_url(std::string host, std::string vhost, std::string app, int port);
extern std::string srs_generate_tc_url(std::string schema, std::string host, std::string vhost, std::string app, int port);
/**
* Generate the stream with param.