Replies: 1 comment
-
Hello, this happens because the QT application is using an unsupported RTSP procedure: first it tries to read the stream with the UDP transport protocol:
Then it switches to a failback procedure, probably because it is unable to receive UDP packets. Normally this failback procedure consists in terminating the session and opening another one that uses the TCP transport protocol. Contrarily, your client reuses the current session and tries to change the protocol from UDP to TCP, which is not supported:
Therefore: fix your QT application in order to either use TCP from the beginning, or fix the failback mechanism. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
I am trying to use mediamtx 1.8.4, in combination with ffmpeg to re-publish a RTSP stream from a camera in h.265 with aac audio, since the original stream isn't compatible with the client I am working on (Qt QMediaPlayer on Android). To this end, I used the runOnDemand option with a ffmpeg command that seems to work well, and tested using VLC. In VLC, the stream takes a LONG time to come up (5-10 seconds+), but it does work.
When I fire up my Qt application on android and try to connect to mediamtx, however, I get the error
closed: interleaved IDs are in use
What is this error, and how can I fix this?
Debug logs:
Beta Was this translation helpful? Give feedback.
All reactions