-
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
RTMP, RTSP, and HLS all fail after several hours #3972
Comments
Here is our config
|
I see this sometimes which is odd because Mediamtx is subscribing not receiving 2024/11/23 02:11:55 INF [RTMP] [conn 174.46.5.250:58986] opened |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which version are you using?
bluenviron/mediamtx:latest-ffmpeg 1.9.3
Which operating system are you using?
Linux amd64 Docker
Describe how to replicate the issue
We have 24 cameras streaming both hd and sd so a total of 48 video streams. We are feeding the video in VIA rtsp from a go2rtc instance and serving RTSP, RTMP, and HLS. After the server has been running for several hours some video feeds fail to deliver anymore, if we use the go2rtc stream it still works there. These cameras may have brief network issues as they are remote, but I feel that mediamtx should be able to recover from this. MediaMTX is not giving any specific information on why these may be "freezing" and no longer delivering the video. The cameras are h264 (except one) and the config does have some offline cameras.
Server logs
I redacted, the names, but here is the majority of what is going on on our server.
2024/11/22 07:54:40 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:40 ERR [path redacted-sd] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:41 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:41 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:41 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:42 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:42 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:42 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:42 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:42 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:42 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:42 ERR [HLS] [muxer redacted] muxer error: unable to extract DTS: too many reordered frames (23)
2024/11/22 07:54:43 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:43 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:43 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:43 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:43 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:44 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:44 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:44 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:44 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:44 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:45 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:45 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:45 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:45 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:46 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:46 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:47 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:47 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:47 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:48 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:48 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:48 ERR [path redacted-sd] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:48 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:49 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:49 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:49 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:50 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:50 ERR [HLS] [muxer redacted] the MPEG-TS variant of HLS supports H264 video only
2024/11/22 07:54:50 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:50 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:51 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:51 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:51 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:51 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:52 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:52 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:52 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:52 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:52 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
2024/11/22 07:54:52 INF [HLS] [muxer redacted] is converting into HLS, 2 tracks (H264, MPEG-4 Audio)
2024/11/22 07:54:52 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:52 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:53 WAR [path redacted] [RTSP source] received packet with wrong SSRC 682637193, expected 1934597805
2024/11/22 07:54:54 WAR [path redacted] [RTSP source] received packet with wrong SSRC 752134334, expected 2055028100
2024/11/22 07:54:54 WAR [path redacted] [RTSP source] received packet with wrong SSRC 1319712975, expected 2093518274
2024/11/22 07:54:54 ERR [path redacted] [RTSP source] bad status code: 404 (Not Found)
Network dump
Attached is the link to the pcap on the server the video is all sent trough Wireguard. We don't seem to have any type of networking issues going out.
https://nextcloud.814server.com/s/pSpHwjHKD3Sf9p3
The text was updated successfully, but these errors were encountered: