hlsdemux/adaptivedemux - stops after changing bitrate
GStreamer 1.18.1
Pipeline:
GST_DEBUG=3,adaptive*:5,hls*:5 gst-launch-1.0 souphttpsrc location=http://mcdn.daserste.de/daserste/de/master.m3u8 ! queue ! hlsdemux bitrate-limit=0.5 ! multiqueue ! decodebin name=d ! autovideosink d. ! audioresample ! audioconvert ! autoaudiosink
(tested with souphttpsrc is-live true/false)
Log (with some part inbetween truncated): https://pastebin.com/xjsqhDjx
Last logs:
0:01:03.820608364 1648 0xb4d6b800 INFO hlsdemux gsthlsdemux.c:1622:gst_hls_demux_change_playlist: Client was on 4118400bps, max allowed is 1643926bps, switching to bitrate 1302400bps
[...]
0:01:04.110554624 1648 0xb4d6b800 DEBUG adaptivedemux gstadaptivedemux.c:2744:gst_adaptive_demux_stream_fragment_download_finish:hlsdemux0:src_0 Download finish: -3 eos - err: (nil)
[...]
0:01:04.120604265 1648 0xb4308c88 DEBUG adaptivedemux gstadaptivedemux.c:3290:gst_adaptive_demux_stream_download_uri:hlsdemux0:src_0 fragment download finished: http://mcdn.daserste.de/daserste/de/master_3744/01927/master_3744_00780.ts -3 eos
[...]
0:01:04.124876254 1648 0xb4308c88 DEBUG adaptivedemux gstadaptivedemux.c:3504:gst_adaptive_demux_stream_download_fragment:hlsdemux0:src_0 Fragment download result: -3 (200) eos
0:01:04.125021587 1648 0xb4308c88 DEBUG adaptivedemux gstadaptivedemux.c:3840:gst_adaptive_demux_stream_download_loop:hlsdemux0:src_0 EOS, checking to stop download loop
0:01:04.125113920 1648 0xb4308c88 DEBUG adaptivedemux gstadaptivedemux.c:4498:gst_adaptive_demux_has_next_period: Has next period: 0
0:01:04.125567585 1648 0xb4308c88 DEBUG adaptivedemux gstadaptivedemux.c:2909:gst_adaptive_demux_stream_wait_manifest_update: No fragment left but live playlist, wait a bit
[...]
0:01:04.203006054 1648 0xb4d6bf30 DEBUG hlsdemux gsthlsdemux-util.c:173:handle_pat: program 0001: pmt_pid : 01e0
0:01:04.203178054 1648 0xb4d6bf30 DEBUG hlsdemux gsthlsdemux-util.c:139:handle_pmt: pcr_pid now: 01e1
0:01:04.203267720 1648 0xb4d6bf30 DEBUG adaptivedemux gstadaptivedemux.c:2423:gst_adaptive_demux_stream_push_buffer:<'':src_1> Marking fragment as discontinuous
[...]
0:01:04.203629386 1648 0xb4d6bf30 DEBUG adaptivedemux gstadaptivedemux.c:1255:gst_adaptive_demux_expose_streams:hlsdemux0:src_0 Pushing EOS
[...]
0:01:04.228764322 1648 0x6fd938 DEBUG adaptivedemux gstadaptivedemux.c:3504:gst_adaptive_demux_stream_download_fragment:hlsdemux0:src_1 Fragment download result: -1 (200) not-linked
0:01:04.229040654 1648 0x6fd938 WARN adaptivedemux gstadaptivedemux.c:3886:gst_adaptive_demux_stream_download_loop: error: Internal data stream error.
0:01:04.229133987 1648 0x6fd938 WARN adaptivedemux gstadaptivedemux.c:3886:gst_adaptive_demux_stream_download_loop: error: streaming stopped, reason not-linked (-1)
[...]
0:01:04.298528144 1648 0xb4308c88 DEBUG adaptivedemux gstadaptivedemux.c:2953:gst_adaptive_demux_stream_wait_manifest_update: Retrying now
[...]
0:01:04.369190630 1648 0x67fe40 DEBUG hlsdemux gsthlsdemux.c:1184:gst_hls_demux_reset: resetting
0:01:04.370746959 1648 0x67fe40 DEBUG adaptivedemux gstadaptivedemux.c:533:gst_adaptive_demux_finalize: finalize