mediamtx: "Transport header does not contain interleaved IDs" with specific TCP client
Which version are you using?
v0.21.1
Which operating system are you using?
- Linux amd64 standard
- Linux amd64 Docker
- Linux arm64 standard
- Linux arm64 Docker
- Linux arm7 standard
- Linux arm7 Docker
- Linux arm6 standard
- Linux arm6 Docker
- Windows amd64 standard
- Windows amd64 Docker (WSL backend)
- macOS amd64 standard
- macOS amd64 Docker
- Other (please describe)
Describe the issue
Customer (Australia) uses “Genetec Video System to receive the RTSP”. They are unable to receive video via TCP using this system. UDP is reported to work. VLC and FFPLAY is reported to work too. With the Genetec system sometimes the DESCRIBE request is answered with “BAD REQUEST”, sometimes “OK”. Even in OK case there is no video (flowing).
The only indication that something is wrong: I see a lot of traces of this kind in the RTSP server log:
2023/04/05 07:21:23 INF [RTSP] [session 028d421f] created by 202.xxx.xxx.xxx:34140
2023/04/05 07:21:23 INF [RTSP] [conn 202.xxx.xxx.xxx:34140] closed (transport header does not contain interleaved IDs)
2023/04/05 07:21:23 INF [RTSP] [session 028d421f] destroyed (not in use)
Describe how to replicate the issue
Replication difficult, I also don’t have that “video system”. I just have the Wireshark traces taken by them.
Did you attach the server logs?
No
Did you attach a network dump?
I have that, but I would not like to publish it here. Can provide it using a private dropbox link, if I would have a way to securely communicate that.
Sorry for the “no-information”. Hoping we could get in touch with this.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (7 by maintainers)
Commits related to this issue
- server: support TCP read requests without interleaved IDs (https://github.com/aler9/mediamtx/issues/1650) — committed to bluenviron/gortsplib by aler9 4 years ago
- server: support TCP read requests without interleaved IDs (#246) (https://github.com/aler9/mediamtx/issues/1650) — committed to bluenviron/gortsplib by aler9 4 years ago
Yes. Thanks. I’m aware of the roles. Thanks for the link. I already digested my results and will forward it to Genetec in the hope that they’ll fix it. I also already tested several other clients, namely FFPLAY, GStreamer and VLC and they are all doing this UDP hole punching in one way or another. And also the mandatory interlaced info element for TCP/TLS is sent by them. So the ball is in the field of Genetc. I hope they’ll see that too.
At least you have saved our solution by enabling TCP with them for our clients. This was a boss move. 😀. Thanks again. I love your project.