mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update srt2rtmp about rtmp listen tcp port
This commit is contained in:
parent
76204fa2ba
commit
94741c1676
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ rtmp_client::rtmp_client(std::string key_path):_key_path(key_path)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
port = (port == 0) ? 1935 : port;
|
||||||
if (_vhost == DEF_VHOST) {
|
if (_vhost == DEF_VHOST) {
|
||||||
sprintf(url_sz, "rtmp://127.0.0.1:%d/%s/%s", port,
|
sprintf(url_sz, "rtmp://127.0.0.1:%d/%s/%s", port,
|
||||||
_appname.c_str(), _streamname.c_str());
|
_appname.c_str(), _streamname.c_str());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue