Skip to content

Commit

Permalink
do not write mpd at each new segmentTimeline if in static offering
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Dec 11, 2023
1 parent f650002 commit 66d9839
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/filters/dasher.c
Expand Up @@ -9659,12 +9659,10 @@ static GF_Err dasher_process(GF_Filter *filter)
Bool update_manifest = GF_FALSE;
if (ctx->purge_segments) update_period = GF_TRUE;
if (ctx->mpd) {
//segment timeline used, always update manifest
if (ctx->stl)
update_manifest = GF_TRUE;
else if (ctx->dmode==GF_DASH_DYNAMIC) {
if (ctx->dmode>=GF_DASH_DYNAMIC) {
//publish time not set, we never send the manifest, do it
if (!ctx->mpd->publishTime) {
//segment timeline used, always update manifest
if (!ctx->mpd->publishTime || ctx->stl) {
update_manifest = GF_TRUE;
}
//whenever we have a new seg in HLS, push new manifest
Expand Down

0 comments on commit 66d9839

Please sign in to comment.