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

Fallback to inline demuxing on Worker error #5016

Merged
merged 1 commit into from
Nov 12, 2022

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Nov 9, 2022

This PR will...

Fallback to demuxing on the main runtime look when an error event is received from the Worker.

Why is this Pull Request needed?

Worker errors can occur as a result of webworkify JS injection issues like #5015 or other runtime issues. Disabling the worker to continue streaming playback is better that emitting a fatal error.

We already have a try-catch block to fallback in case the worker could not be instantiated, so why not fallback in the case of an exception.

Resolves issues:

Helps with builds that break webworkify like #5015

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch added this to the 1.2.6 milestone Nov 9, 2022
@robwalch robwalch requested a review from itsjamie November 9, 2022 19:18
@robwalch robwalch removed the request for review from itsjamie November 12, 2022 01:27
@robwalch robwalch merged commit 539b8ed into master Nov 12, 2022
@robwalch robwalch deleted the feature/disable-worker-on-worker-error branch November 12, 2022 01:27
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.

1 participant