-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[WebRTC] OperationError: Duplicate payload type with conflicting codec name or clock rate., retrying in some seconds on iPad #3543
Comments
The strangest thing is that this is not reproduced for everyone and if the Android settings are more open and you can break something yourself, then in the iPhone/iPad it is really problematic to do this Also, the problematic mobile devices were reset to default settings, but this did not solve the problem |
I collected a small dump from the test server, there are 131 streams and I am trying to connect from iPhone 15 and iPhone 14 Immediately after testing, I rolled back the mediamtx version to 1.8.1 and did not find such an error, both phones (iPhone 14 and iPhone 15) play videos without problems |
edit - nevermind clearing cache doesn't work; though it's strange that if a stream page is open while the mediamtx is upgraded, the stream continues fine until the next time i stop it and then the error shows up. I have the same issue on one of my devices (old cherrytrail tablet) running ChromeOS and using Chrome to view a WebRTC proxy stream. Only this device has issues; |
Some additional findings on my end,
|
That's right, everything works in version 1.8.2 and below. So for now I just rebuilt version 1.8.3 and returned the read_index.html file from version 1.8.2 to it. |
So if you compile the latest version but with the 1.8.2 version of 'read_index.html' everything works fine? |
Yes, but it seems to me that this is not entirely correct and this bug needs to be fixed in the original version of the file, so dear @aler9, please fix it. |
This issue is mentioned in release v1.9.0 🚀 |
Which version are you using?
v1.8.3
Which operating system are you using?
Describe the issue
When I use a UDP MPEG-TS stream (h264 packets with opus encoded audio) into Mediamtx and read via RTSP (VLC) or WebRTC (Chrome) on a desktop everything works fine. However on an iPad, while RTSP (through VLC) works fine, the WebRTC site on both Safari and Chrome display the error:
OperationError: Duplicate payload type with conflicting codec name or clock rate., retrying in some seconds
The stream never loads and I can't get WebRTC through the browser. I am working through a zerotier setup so the tunneling or NAT and all that shouldnt be an issue as they use UDP hole punch. Let me know if you need anything else.
Thanks for your continued work on this project!
Describe how to replicate the issue
Did you attach the server logs?
no
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered: