-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pause #10
Comments
Just now I have fixed the bug. Maybe you could try the newest code. |
|
Refer to https://tools.ietf.org/html/rfc7826#page-101 The first byte '$' means the media data length follow. And then the media data will be received in next packet which is the RTP packet. The first byte 'R' means the RTSP response. API 'recv(...MSG_PEEK)' do not pop the bytes we read, so we clear them manually so that we will not be blocked when getting bad data. |
It will throw the RTSP response if you have not set the callback. |
Bye the way, there is a new parameter for DoXXX API: http_tunnel_no_response. |
why play after pause, rtp can't find "$" or "R"? I find error is happened in myTCPTransmitter.cpp ,74 line ( if(m_httpTunnelHeaderBuffer[0] != '$' && m_httpTunnelHeaderBuffer[0] != 'R'))
The text was updated successfully, but these errors were encountered: