Open huntson opened 6 months ago
Hello, in order to analyze this issue we need a dump of the incoming video from your source, that can be generated by enabling recording:
pathDefaults:
record: yes
Record a sample of ~30 secs and attach it. Thanks.
Can I just add that the environment variables? Don't I also have to set a destination/volume?
Which version are you using?
v1.2.1
Which operating system are you using?
Describe the issue
Green bars showing up at different spots when playing back WebRTC from RTMP in Chrome only. Firefox plays the video without issue.
Describe how to replicate the issue
version: '3.3' services: mediamtx: stdin_open: true tty: true environment:
'/var/lib/docker/volumes/mediamtx/mediamtx.yml:/mediamtx.yml' restart: always
paths: PC-MSU: source: rtsp://10.96.80.199/live
Did you attach the server logs?
`2023/12/09 00:39:43 INF [WebRTC] [session d8609920] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:39:44 INF [WebRTC] [session d44a9197] created by 10.96.50.19:50267
2023/12/09 00:39:44 INF [WebRTC] [session d44a9197] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:39:44 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:39:45 INF [WebRTC] [session a857abb7] created by 10.96.50.23:47144
2023/12/09 00:39:45 INF [WebRTC] [session a857abb7] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:39:48 INF [WebRTC] [session 781b9fed] created by 10.96.50.23:47156
2023/12/09 00:39:48 INF [WebRTC] [session 781b9fed] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:39:49 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:39:50 INF [WebRTC] [session 457c99cb] created by 10.96.50.23:47160
2023/12/09 00:39:50 INF [WebRTC] [session 457c99cb] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:39:52 INF [WebRTC] [session 253eb840] created by 10.96.50.23:47160
2023/12/09 00:39:52 INF [WebRTC] [session 253eb840] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:39:54 INF MediaMTX v1.2.1
2023/12/09 00:39:54 INF configuration loaded from /mediamtx.yml
2023/12/09 00:39:54 INF [path PC-MSU] [RTSP source] started
2023/12/09 00:39:54 INF [RTSP] listener opened on :8554 (TCP)
2023/12/09 00:39:54 INF [RTMP] listener opened on :1935
2023/12/09 00:39:54 INF [HLS] listener opened on :8888
2023/12/09 00:39:54 INF [WebRTC] listener opened on :8889 (HTTP), :8189 (ICE/UDP)
2023/12/09 00:39:54 INF [SRT] listener opened on :8890 (UDP)
2023/12/09 00:39:54 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:39:55 INF [WebRTC] [session 8b5b40a4] created by 10.96.50.23:47162
2023/12/09 00:39:55 INF [WebRTC] [session 8b5b40a4] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:39:57 INF [WebRTC] [session 1d05668a] created by 10.96.50.23:47166
2023/12/09 00:39:57 INF [WebRTC] [session 1d05668a] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:39:59 INF [WebRTC] [session 0932c5c4] created by 10.96.50.23:47168
2023/12/09 00:39:59 INF [WebRTC] [session 0932c5c4] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:39:59 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:01 INF [WebRTC] [session cc2ffc7b] created by 10.96.50.23:47168
2023/12/09 00:40:01 INF [WebRTC] [session cc2ffc7b] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:03 INF [WebRTC] [session 191c5d1d] created by 10.96.50.23:47170
2023/12/09 00:40:03 INF [WebRTC] [session 191c5d1d] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:04 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:05 INF [WebRTC] [session 253e0c23] created by 10.96.50.23:47170
2023/12/09 00:40:05 INF [WebRTC] [session 253e0c23] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:07 INF [WebRTC] [session 3341b107] created by 10.96.50.23:47172
2023/12/09 00:40:07 INF [WebRTC] [session 3341b107] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:09 INF [WebRTC] [session cc01f386] created by 10.96.50.23:47174
2023/12/09 00:40:09 INF [WebRTC] [session cc01f386] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:09 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:11 INF [WebRTC] [session 110e3987] created by 10.96.50.23:47174
2023/12/09 00:40:11 INF [WebRTC] [session 110e3987] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:13 INF [WebRTC] [session e87ab8d0] created by 10.96.50.23:47176
2023/12/09 00:40:13 INF [WebRTC] [session e87ab8d0] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:14 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:15 INF [WebRTC] [session 697f52ce] created by 10.96.50.23:47176
2023/12/09 00:40:15 INF [WebRTC] [session 697f52ce] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:17 INF [WebRTC] [session 65be3f1f] created by 10.96.50.23:47180
2023/12/09 00:40:17 INF [WebRTC] [session 65be3f1f] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:19 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:19 INF [WebRTC] [session 1f635efb] created by 10.96.50.23:47182
2023/12/09 00:40:19 INF [WebRTC] [session 1f635efb] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:21 INF [WebRTC] [session f4c50508] created by 10.96.50.23:47182
2023/12/09 00:40:21 INF [WebRTC] [session f4c50508] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:23 INF [WebRTC] [session b81a8566] created by 10.96.50.23:47184
2023/12/09 00:40:23 INF [WebRTC] [session b81a8566] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:24 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:25 INF [WebRTC] [session d9587855] created by 10.96.50.23:47184
2023/12/09 00:40:25 INF [WebRTC] [session d9587855] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:27 INF [WebRTC] [session a4ee6f20] created by 10.96.50.23:47186
2023/12/09 00:40:27 INF [WebRTC] [session a4ee6f20] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:29 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:29 INF [WebRTC] [session 1b51aead] created by 10.96.50.23:47188
2023/12/09 00:40:29 INF [WebRTC] [session 1b51aead] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:32 INF [WebRTC] [session 56489c2d] created by 10.96.50.23:47188
2023/12/09 00:40:32 INF [WebRTC] [session 56489c2d] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:34 INF [WebRTC] [session b5007fd2] created by 10.96.50.23:47190
2023/12/09 00:40:34 INF [WebRTC] [session b5007fd2] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:34 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:36 INF [WebRTC] [session 853feb5e] created by 10.96.50.23:47190
2023/12/09 00:40:36 INF [WebRTC] [session 853feb5e] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:38 INF [WebRTC] [session d81d68d0] created by 10.96.50.23:47192
2023/12/09 00:40:38 INF [WebRTC] [session d81d68d0] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:39 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:40 INF [WebRTC] [session 217d9ce1] created by 10.96.50.23:47192
2023/12/09 00:40:40 INF [WebRTC] [session 217d9ce1] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:42 INF [WebRTC] [session fa7c2660] created by 10.96.50.23:47192
2023/12/09 00:40:42 INF [WebRTC] [session fa7c2660] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:44 INF [WebRTC] [session 22234ab5] created by 10.96.50.23:47194
2023/12/09 00:40:44 INF [WebRTC] [session 22234ab5] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:44 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:46 INF [WebRTC] [session f1cdce91] created by 10.96.50.23:47194
2023/12/09 00:40:46 INF [WebRTC] [session f1cdce91] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:48 INF [WebRTC] [session c638e74f] created by 10.96.50.23:47206
2023/12/09 00:40:48 INF [WebRTC] [session c638e74f] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:49 ERR [path PC-MSU] [RTSP source] dial tcp 10.96.80.199:554: connect: connection refused
2023/12/09 00:40:50 INF [WebRTC] [session 5cf01982] created by 10.96.50.23:47206
2023/12/09 00:40:50 INF [WebRTC] [session 5cf01982] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:52 INF [WebRTC] [session 805e32a4] created by 10.96.50.23:47206
2023/12/09 00:40:52 INF [WebRTC] [session 805e32a4] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:54 INF [WebRTC] [session 04a80cfa] created by 10.96.50.23:47210
2023/12/09 00:40:54 INF [WebRTC] [session 04a80cfa] closed: no one is publishing to path 'PC-MSU'
2023/12/09 00:40:54 INF [path PC-MSU] [RTSP source] ready: 1 track (H264)
2023/12/09 00:40:56 INF [WebRTC] [session b0aad3ba] created by 10.96.50.23:47210
2023/12/09 00:40:56 INF [WebRTC] [session b0aad3ba] peer connection established, local candidate: host/udp/10.96.50.9/8189, remote candidate: host/udp/10.96.50.23/44334
2023/12/09 00:40:56 INF [WebRTC] [session b0aad3ba] is reading from path 'PC-MSU', 1 track (H264)
2023/12/09 00:41:05 INF [WebRTC] [session 68d87ffa] created by 10.96.50.19:50285
2023/12/09 00:41:05 INF [WebRTC] [session 68d87ffa] peer connection established, local candidate: host/udp/10.96.50.9/8189, remote candidate: prflx/udp/10.96.50.19/65219
2023/12/09 00:41:05 INF [WebRTC] [session 68d87ffa] is reading from path 'PC-MSU', 1 track (H264) `
yes / no
Did you attach a network dump?
no