Commit 5199aa60 authored by Matthew Waters's avatar Matthew Waters 🐨
Browse files

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).
parent 80903bea
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment