Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loading after live ended. #4428

Open
5 tasks done
KunXi-Fox opened this issue Mar 20, 2024 · 0 comments
Open
5 tasks done

Infinite loading after live ended. #4428

KunXi-Fox opened this issue Mar 20, 2024 · 0 comments

Comments

@KunXi-Fox
Copy link

KunXi-Fox commented Mar 20, 2024

Environment
  • Dash.js version: 4.7.0
  • Browser name/version: Chrome V122
  • OS name/version: Max OS

Description

From reading code I get this: ⬇️

// See DASH-IF IOP v4.3 section 4.6.4 "Transition Phase between Live and On-Demand"
// Stop manifest update, ignore static manifest and signal end of dynamic stream to detect end of stream
if (manifestModel.getValue() && manifestModel.getValue().type === DashConstants.DYNAMIC && manifest.type === DashConstants.STATIC) {
    eventBus.trigger(Events.DYNAMIC_TO_STATIC);
    isUpdating = false;
    isStopped = true;
    return;
}

I tried to parse the static manifest and I found the duration is not same (smaller actually) compare with the last dynamic one. So after live ended, when current time between actual duration and the duration calc from last dynamic manifest, the video will stuck into infinite loading and the video ended event not fired.

Workaround now

I need to reset the player to force dash parse the static manifest and update the data model, then the video could plays to end successfully.

Expected result

Dash could handle it and I don't need to reset dash after live ended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants