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

Support build srs-librtmp by VS2015. 2.0.267

This commit is contained in:
winlin 2019-12-23 17:11:31 +08:00
parent c6732d0fbb
commit 08bbbc5414
2 changed files with 5 additions and 3 deletions

View file

@ -71,8 +71,9 @@ void srs_discovery_tc_url(
vhost = host;
srs_vhost_resolve(vhost, app, param);
srs_vhost_resolve(vhost, stream, param);
if (param == "?vhost="SRS_CONSTS_RTMP_DEFAULT_VHOST) {
// There must be a space to make VS2015 happy.
if (param == "?vhost=" SRS_CONSTS_RTMP_DEFAULT_VHOST) {
param = "";
}
}