mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
GB28181: Fix parse rtp tcp failed (#2382)
* fix parse rtp-tcp failed * fix parse rtp-tcp failed * fix gb28181 support tcp stack is setup:passive * Update push.gb28181.tcp.conf Co-authored-by: cfw <fangwei.cheng@transwarp.io> Co-authored-by: Winlin <winlin@vip.126.com>
This commit is contained in:
parent
3e7536c493
commit
1c7c74b01a
2 changed files with 145 additions and 0 deletions
|
@ -1062,6 +1062,8 @@ void SrsSipStack::req_invite(stringstream& ss, SrsSipRequest *req, string ip, in
|
|||
//<< "m=video " << port << " TCP/RTP/AVP 98" << SRS_RTSP_CRLF
|
||||
<< "a=recvonly" << SRS_RTSP_CRLF
|
||||
<< "a=rtpmap:96 PS/90000" << SRS_RTSP_CRLF
|
||||
<< "a=setup:passive" << SRS_RTSP_CRLF
|
||||
<< "a=connection:new" << SRS_RTSP_CRLF
|
||||
//TODO: current no support
|
||||
//<< "a=rtpmap:97 MPEG4/90000" << SRS_RTSP_CRLF
|
||||
//<< "a=rtpmap:98 H264/90000" << SRS_RTSP_CRLF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue