RTPS Server: Support NVR
Describe the feature
Currently this NVR is not compatible: https://ganzsecurity.de/produkty/network-video-recorders-nvr-pixel-master/
Problem is, that the NVR adds trackID=0 to PLAY URL which seems specification compliant for me, but mediamtx does not support it.
Logs: 2026/01/01 00:12:22 DEB [RTSP] [conn 192.168.1.111:44190] [s->c] RTSP/1.0 200 OK 2026/01/01 00:12:22 DEB [RTSP] [conn 192.168.1.111:44190] [c->s] SETUP rtsp://192.168.1.34:554/stream1/trackID=0 RTSP/1.0 2026/01/01 00:12:22 DEB [RTSP] [conn 192.168.1.111:44190] [s->c] RTSP/1.0 200 OK 2026/01/01 00:12:22 DEB [RTSP] [conn 192.168.1.111:44190] [c->s] PLAY rtsp://192.168.1.34:554/stream1/trackID=0 RTSP/1.0 2026/01/01 00:12:22 DEB [RTSP] [conn 192.168.1.111:44190] [s->c] RTSP/1.0 400 Bad Request 2026/01/01 00:12:22 INF [RTSP] [conn 192.168.1.111:44190] closed: path has changed, was '/stream1', now is '/stream1/trackID=0'
Source: bluenviron/mediamtx