invalid SDP: sdp: invalid numeric value `19599440071187478912`
Which version are you using?
1.19.1
Which operating system are you using?
Windows amd64 standard
Describe the issue
When trying to connect to RTSP camera, I get the error
invalid SDP: sdp: invalid numeric value 19599440071187478912 on startup.
Describe how to replicate the issue
started the server with the following line in .yml: channel02_sub: source: rtsp://username:[email protected]:554/v01
MediaMTX configuration
MediaMTX logs
2026/07/14 16:16:32 DEB [path channel02_sub] [RTSP source] [s->c] RTSP/1.0 200 OK CSeq: 3 Cache-Control: no-cache Content-Base: rtsp://hs18358-115-03-ttt.ubddns.org:8554/Media/Live/Normal?camera=C_2&streamindex=2/ Content-Length: 573 Content-Type: application/sdp Date: Tue, 14 Jul 2026 08:15:58 GMT Expires: Tue, 14 Jul 2026 08:15:58 GMT Server: Streaming Server/1.0.0.0 X-Accept-Dynamic-Rate: 1 X-Accept-Retransmit: our-retransmit
v=0 o=RTSP 19599440071187478912 13656283801756621937 IN IP4 0.0.0.0 s=RTSP server c=IN IP4 0.0.0.0 t=0 0 a=control:* a=etag:1234567890 a=range:npt=0- a=control:* m=video 0 RTP/AVP 98 a=control:trackID=1 b=AS:0 a=rtpmap:98 H264/90000 a=fmtp:98 packetization-mode=1;profile-level-id=4d401f;sprop-parameter-sets=Z01AH42NQCgC3/gLcBAQFAAAD6AAATiDoYA9AAANWfrvLjQwB6AAAas/XeXCgA==,aO44gA== m=application 0 RTP/AVP 107 a=control:trackID=3 a=rtpmap:107 vnd.onvif.metadata/90000 m=application 0 RTP/AVP 108 a=control:trackID=4 a=rtpmap:108 vnd.vivotek.metj/90000
2026/07/14 16:16:32 ERR [path channel02_sub] [RTSP source] invalid SDP: sdp: invalid numeric value 19599440071187478912
2026/07/14 16:16:37 DEB [path channel02_sub] [RTSP source] connecting
2026/07/14 16:16:37 DEB [path channel02_sub] [RTSP source] [c->s] OPTIONS rtsp://hs18358-115-03-ttt.ubddns.org:8554/Media/Live/Normal?camera=C_2&streamindex=2 RTSP/1.0
CSeq: 1
User-Agent: gortsplib
2026/07/14 16:16:37 DEB [path channel02_sub] [RTSP source] [s->c] RTSP/1.0 200 OK CSeq: 1 Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS Server: Streaming Server/1.0.0.0
2026/07/14 16:16:37 DEB [path channel02_sub] [RTSP source] [c->s] DESCRIBE rtsp://hs18358-115-03-ttt.ubddns.org:8554/Media/Live/Normal?camera=C_2&streamindex=2 RTSP/1.0 Accept: application/sdp CSeq: 2 User-Agent: gortsplib
2026/07/14 16:16:37 DEB [path channel02_sub] [RTSP source] [s->c] RTSP/1.0 401 Unauthorized CSeq: 2 Server: Streaming Server/1.0.0.0 WWW-Authenticate: Digest realm="Streaming Server", nonce="2fb333a659faef3d518af11848d2e9b1"
2026/07/14 16:16:37 DEB [path channel02_sub] [RTSP source] [c->s] DESCRIBE rtsp://hs18358-115-03-ttt.ubddns.org:8554/Media/Live/Normal?camera=C_2&streamindex=2 RTSP/1.0 Accept: application/sdp Authorization: Digest username="admin", realm="Streaming Server", nonce="2fb333a659faef3d518af11848d2e9b1", uri="rtsp://hs18358-115-03-ttt.ubddns.org:8554/Media/Live/Normal?camera=C_2&streamindex=2", response="9a60b6b5c6011f5be5e4a6bc63d16dd2" CSeq: 3 User-Agent: gortsplib
2026/07/14 16:16:37 DEB [path channel02_sub] [RTSP source] [s->c] RTSP/1.0 200 OK CSeq: 3 Cache-Control: no-cache Content-Base: rtsp://hs18358-115-03-ttt.ubddns.org:8554/Media/Live/Normal?camera=C_2&streamindex=2/ Content-Length: 573 Content-Type: application/sdp Date: Tue, 14 Jul 2026 08:15:52 GMT Expires: Tue, 14 Jul 2026 08:15:52 GMT Server: Streaming Server/1.0.0.0 X-Accept-Dynamic-Rate: 1 X-Accept-Retransmit: our-retransmit
v=0 o=RTSP 19599440071187478912 13656283801756621937 IN IP4 0.0.0.0 s=RTSP server c=IN IP4 0.0.0.0 t=0 0 a=control:* a=etag:1234567890 a=range:npt=0- a=control:* m=video 0 RTP/AVP 98 a=control:trackID=1 b=AS:0 a=rtpmap:98 H264/90000 a=fmtp:98 packetization-mode=1;profile-level-id=4d401f;sprop-parameter-sets=Z01AH42NQCgC3/gLcBAQFAAAD6AAATiDoYA9AAANWfrvLjQwB6AAAas/XeXCgA==,aO44gA== m=application 0 RTP/AVP 107 a=control:trackID=3 a=rtpmap:107 vnd.onvif.metadata/90000 m=application 0 RTP/AVP 108 a=control:trackID=4 a=rtpmap:108 vnd.vivotek.metj/90000
2026/07/14 16:16:37 ERR [path channel02_sub] [RTSP source] invalid SDP: sdp: invalid numeric value 19599440071187478912
2026/07/14 16:16:42 INF [path channel02_sub] [RTSP source] stopped: timed out
2026/07/14 16:16:42 DEB [WebRTC] [conn [::1]:62336] [s->c] HTTP/1.1 400 Bad Request
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: null
Content-Type: application/json; charset=utf-8
Server: mediamtx
Packet dump
No response
Source: bluenviron/mediamtx