mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #369, support RTMP 302 api at protocol level.
This commit is contained in:
parent
f1e7e9d933
commit
d24aef50ba
7 changed files with 86 additions and 3 deletions
|
@ -306,7 +306,9 @@ string srs_generate_rtmp_url(string server, int port, string vhost, string app,
|
|||
ss << "...vhost..." << vhost;
|
||||
}
|
||||
|
||||
ss << "/" << stream;
|
||||
if (!stream.empty()) {
|
||||
ss << "/" << stream;
|
||||
}
|
||||
|
||||
return ss.str();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue