You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using mediamtx to pass an HLS IPTV stream to my local server so that I can view the stream via browser. Everything works well but there is one particular stream which is not stable and keep disconnecting. Here is the log from mediamtx that kept repeating.
media-server_1 | 2024/04/27 15:27:36 INF [HLS] [muxer proxied] created (requested by 192.168.1.209:52782)
media-server_1 | 2024/04/27 15:27:36 INF [HLS] [muxer proxied] is converting into HLS, 2 tracks (MPEG-4 Audio, H264)
media-server_1 | 2024/04/27 15:27:38 DEB [path proxied] [HLS source] downloading stream playlist https://external-stream/live-audio_0=96000-video=4800000.m3u8
media-server_1 | 2024/04/27 15:27:38 DEB [path proxied] [HLS source] downloading segment https://external-stream/live-audio_0=96000-video=4800000-892828984.ts
media-server_1 | 2024/04/27 15:27:40 DEB [path proxied] [HLS source] downloading stream playlist https://external-stream/live-audio_0=96000-video=4800000.m3u8
media-server_1 | 2024/04/27 15:27:40 DEB [path proxied] [HLS source] downloading segment https://external-stream/live-audio_0=96000-video=4800000-892828985.ts
media-server_1 | 2024/04/27 15:27:42 DEB [path proxied] [HLS source] downloading stream playlist https://external-stream/live-audio_0=96000-video=4800000.m3u8
media-server_1 | 2024/04/27 15:27:42 DEB [path proxied] [HLS source] downloading segment https://external-stream/live-audio_0=96000-video=4800000-892828986.ts
media-server_1 | 2024/04/27 15:27:44 DEB [path proxied] [HLS source] downloading stream playlist https://external-stream/live-audio_0=96000-video=4800000.m3u8
media-server_1 | 2024/04/27 15:27:44 DEB [path proxied] [HLS source] downloading segment https://external-stream/live-audio_0=96000-video=4800000-892828987.ts
media-server_1 | 2024/04/27 15:27:45 DEB [path proxied] [HLS source] downloading stream playlist https://external-stream/live-audio_0=96000-video=4800000.m3u8
media-server_1 | 2024/04/27 15:27:45 ERR [path proxied] [HLS source] next segment not found or not ready yet
media-server_1 | 2024/04/27 15:27:45 DEB [HLS] [conn 192.168.1.209:52782] [s->c] HTTP/1.1 500 Internal Server Error
media-server_1 | Access-Control-Allow-Credentials: true
media-server_1 | Access-Control-Allow-Origin: *
media-server_1 | Server: mediamtx
media-server_1 |
media-server_1 |
media-server_1 | 2024/04/27 15:27:45 INF [HLS] [muxer proxied] destroyed: terminated
media-server_1 | 2024/04/27 15:27:47 DEB [HLS] [conn 192.168.1.209:52782] [c->s] GET /proxied/index.m3u8 HTTP/1.1
media-server_1 | Host: 192.168.1.1:8888
media-server_1 | Accept: */*
media-server_1 | Accept-Encoding: gzip, deflate
media-server_1 | Accept-Language: en-US,en;q=0.5
media-server_1 | Connection: keep-alive
media-server_1 | Dnt: 1
media-server_1 | Referer: http://192.168.1.1:8888/proxied/
media-server_1 | Sec-Gpc: 1
media-server_1 | User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
media-server_1 |
media-server_1 |
media-server_1 | 2024/04/27 15:27:47 INF [HLS] [muxer proxied] created (requested by 192.168.1.209:52782)
media-server_1 | 2024/04/27 15:27:47 INF [HLS] [muxer proxied] destroyed: no one is publishing to path 'proxied'
media-server_1 | 2024/04/27 15:27:47 DEB [HLS] [conn 192.168.1.209:52782] [s->c] HTTP/1.1 404 Not Found
media-server_1 | Access-Control-Allow-Credentials: true
media-server_1 | Access-Control-Allow-Origin: *
media-server_1 | Content-Type: text/plain
media-server_1 | Server: mediamtx
media-server_1 |
media-server_1 | (body of 18 bytes)
media-server_1 | 2024/04/27 15:27:49 DEB [HLS] [conn 192.168.1.209:52782] [c->s] GET /proxied/index.m3u8 HTTP/1.1
media-server_1 | Host: 192.168.1.1:8888
media-server_1 | Accept: */*
media-server_1 | Accept-Encoding: gzip, deflate
media-server_1 | Accept-Language: en-US,en;q=0.5
media-server_1 | Connection: keep-alive
media-server_1 | Dnt: 1
media-server_1 | Referer: http://192.168.1.1:8888/proxied/
media-server_1 | Sec-Gpc: 1
media-server_1 | User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
media-server_1 |
media-server_1 |
media-server_1 | 2024/04/27 15:27:49 INF [HLS] [muxer proxied] created (requested by 192.168.1.209:52782)
media-server_1 | 2024/04/27 15:27:49 INF [HLS] [muxer proxied] destroyed: no one is publishing to path 'proxied'
media-server_1 | 2024/04/27 15:27:49 DEB [HLS] [conn 192.168.1.209:52782] [s->c] HTTP/1.1 404 Not Found
I've tried to edit the HLS segment duration to longer time as shown in docker-compose file below:
However the issue still persists. The same stream is working fine on Kodi player. Obviously this part of the message ERR [path proxied] [HLS source] next segment not found or not ready yet is the biggest clue. Is there any configuration I can set to prevent it from disconnect the proxied stream when server is not responding? Any help is appreciated. Thank you.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Question
I'm using mediamtx to pass an HLS IPTV stream to my local server so that I can view the stream via browser. Everything works well but there is one particular stream which is not stable and keep disconnecting. Here is the log from mediamtx that kept repeating.
I've tried to edit the HLS segment duration to longer time as shown in docker-compose file below:
However the issue still persists. The same stream is working fine on Kodi player. Obviously this part of the message
ERR [path proxied] [HLS source] next segment not found or not ready yet
is the biggest clue. Is there any configuration I can set to prevent it from disconnect the proxied stream when server is not responding? Any help is appreciated. Thank you.Beta Was this translation helpful? Give feedback.
All reactions