mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix compile errors.
This commit is contained in:
parent
17c0a5c470
commit
eb54ec25c9
4 changed files with 57 additions and 12 deletions
|
@ -1018,8 +1018,9 @@ int SrsServer::listen_stream_caster()
|
|||
srs_error("invalid stream caster port %d. ret=%d", port, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
if ((ret = listener->listen(port)) != ERROR_SUCCESS) {
|
||||
|
||||
// TODO: support listen at <[ip:]port>
|
||||
if ((ret = listener->listen("0.0.0.0", port)) != ERROR_SUCCESS) {
|
||||
srs_error("StreamCaster listen at port %d failed. ret=%d", port, ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue