Comments (2)
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:
- Run packet capture on the client side, make sure the response is actually arriving.
- Try with tcp control socket and see if that works better.
- 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.
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)
- socket allocated (SOCKET_REPLY) in technical docs is wrong? HOT 2
- rtpproxy briefly sends RTP from out-of-range source port and with unrelated RTP header fields before starting to properly forward HOT 4
- Difference between rtpp_weakref_obj and rtpp_hash_table HOT 1
- rtpp_acct_rtcp_hep - RTCP Type 203 (BYE)? HOT 2
- SIGSEGV in rtpp_wi_free HOT 2
- Play command fails HOT 7
- OSS-Fuzz issue 56543
- OSS-Fuzz issue 56764
- OSS-Fuzz issue 56786 HOT 1
- OSS-Fuzz issue 57069
- OSS-Fuzz issue 57278
- haw i can write RTCP code in c++
- OSS-Fuzz issue 59215
- What is the memory and CPU requirements for RTPProxy HOT 1
- Can't put all packets from both directions into a single file HOT 2
- OSS-Fuzz issue 59712
- Memory leak in `rtpp_cmd_rcache_insert` function HOT 1
- -Wincompatible-pointer-types configure check may fail unconditionally with future compilers
- SRTP support and 'transcoding' between encrypted and unencrypted streams
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtpproxy.