Problems with the new live555 version

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.