mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #149, RTMP/HTTP support bind to <[ip:]port>. 2.0.148
This commit is contained in:
parent
fcab17741c
commit
b6feb0742f
12 changed files with 148 additions and 83 deletions
|
@ -50,7 +50,8 @@ SrsRtpConn::SrsRtpConn(SrsRtspConn* r, int p, int sid)
|
|||
rtsp = r;
|
||||
_port = p;
|
||||
stream_id = sid;
|
||||
listener = new SrsUdpListener(this, p);
|
||||
// TODO: support listen at <[ip:]port>
|
||||
listener = new SrsUdpListener(this, "0.0.0.0", p);
|
||||
cache = new SrsRtpPacket();
|
||||
pprint = SrsPithyPrint::create_caster();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue