I encountered a miserable problem when I was working on the RTSP/RTP Proxy Server (which is my current mood. for a video server from a manufacturer, after switching to the latest live555 (live.2011.12.02 .tar.gz) source code, the video server cannot be forwarded for more than 10 seconds in any case! The video server will be automatically disconnected within 10 seconds.
After several days of hard work and hard work, I finally found the cause: Version problems, but the new version of the source code is not good!
The reason should be that the new version changes the calculation rule for the RTCP packet sending time. it may be more scientific, but many existing servers cannot accept it. generally, when receiving the server-side Sr package, the client will respond to the RR package, so that the server-side package and client-side package will appear. it is estimated that the servers will use the RTCP package as a heartbeat test, and the new version of live555 will lead to a longer delay in sending the RR package, so that the SR package and the RR package cannot overlap, if the server fails to receive the RR package after the SR package is sent, it will think that the client end is dead, so bye-bye.
I have not compared the RTCP package sending code in the new and old codes, but I can confirm it by 90%.
Therefore, if live555 is used as a project, pay attention to this issue, especially when it is used as a client.
However, this also illustrates a problem. The live555 update is quite fast.