Code Monkey home page Code Monkey logo

Comments (2)

sobomax avatar sobomax commented on June 10, 2024

Hi, I suspect there is something peculiar going on with the stream_socket_client() in PHP causing this to happen. Few things you could do to debug it further:

  1. Run packet capture on the client side, make sure the response is actually arriving.
  2. Try with tcp control socket and see if that works better.
  3. Run rtpproxy with debug logging level ("-d dbug") see if requests is received and replied to correctly.

Feel free to update this ticket once you have more data available so it can be debugged further.

Thanks!

from rtpproxy.

solarmon avatar solarmon commented on June 10, 2024

Hi @sobomax

The issue was only occurring on our live/production rtpproxy nodes, and I could not replicate the issue in our test environment.

Turning on debug on the live/production rtpproxy nodes is not an option. So I had to add extra debugging to my script.

Our rtpproxy nodes had multiple rtpproxy instances running, each with a different management port. My script was trying to automatically determine how many rtpproxy instances and what management port each one had, so that it could query each rtpproxy instance individually.

However, my script logic was not good enough and it was sometimes not matching on the correct management port of the rtpproxy instance - it was actually matching on a similar looking port of an actual RTP session, hence why it was so random/intermittent. Thus, the script was sometimes using the wrong port to communicate with the rtpproxy instance!

I have fixed the script logic, so the management port detection is correct/better, and this has now resolved the issue.

Thank you for your support and suggestions, but ultimately the issue was with my script!

Thank you!

from rtpproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.