mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
mss: always periodically update the manifest taking the new fragments
Without this, for streams where the content is stored indefinitely and can be seeked on, the duration would never increase when in paused or, until we reached near the end of the currently advertised stream (where the internal fragment parser would see descriptions of new fragments).
This commit is contained in:
parent
80903beae1
commit
5199aa60d5
2 changed files with 1 additions and 4 deletions
|
@ -728,5 +728,5 @@ gst_mss_demux_requires_periodical_playlist_update (GstAdaptiveDemux * demux)
|
|||
{
|
||||
GstMssDemux *mssdemux = GST_MSS_DEMUX_CAST (demux);
|
||||
|
||||
return (!gst_mss_manifest_is_live (mssdemux->manifest));
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -1315,9 +1315,6 @@ gst_mss_stream_reload_fragments (GstMssStream * stream, xmlNodePtr streamIndex)
|
|||
guint64 current_gst_time;
|
||||
GstMssFragmentListBuilder builder;
|
||||
|
||||
if (stream->has_live_fragments)
|
||||
return;
|
||||
|
||||
current_gst_time = gst_mss_stream_get_fragment_gst_timestamp (stream);
|
||||
|
||||
gst_mss_fragment_list_builder_init (&builder);
|
||||
|
|
Loading…
Reference in a new issue