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

Remove line 59 in trunk/src/protocol/srs_protocol_utility.cpp, for it cause the repeat of the param

This commit is contained in:
zx 2024-10-09 21:33:35 +08:00
parent 0de887d374
commit 0f791cbf06

View file

@ -56,7 +56,6 @@ void srs_discovery_tc_url(string tcUrl, string& schema, string& host, string& vh
// rtmp://ip/app/app2/stream?k=v
// Where after last slash is stream.
fullUrl += stream.empty() ? "/" : (stream.at(0) == '/' ? stream : "/" + stream);
fullUrl += param.empty() ? "" : (param.at(0) == '?' ? param : "?" + param);
// First, we covert the FMLE URL to standard URL:
// rtmp://ip/app/app2?k=v/stream , or: