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

fix: prevent infinite loop causing stream freeze in DASH multi-period streams #1947

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

totallyunknown
Copy link

  • Added a condition to ensure requiredIntervalUs > 0 in DashMediaSource.
  • Resolves an issue where negative requiredIntervalUs triggered an infinite loop in onPlaylistUpdateRequested(), leading to application/stream freezes.

This fix restores smooth playback for multi-period DASH streams.

This fixes #1698.

… streams

- Added a condition to ensure `requiredIntervalUs > 0` in `DashMediaSource`.
- Resolves an issue where negative `requiredIntervalUs` triggered an infinite loop in `onPlaylistUpdateRequested()`, leading to application/stream freezes.

This fix restores smooth playback for multi-period DASH streams.
@rohitjoins rohitjoins self-assigned this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants