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 fallback to inline worker when exception is thrown in worker #5270

Merged
merged 1 commit into from Mar 3, 2023

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Mar 2, 2023

This PR will...

Fix fallback to inline worker when exception is thrown in worker

Why is this Pull Request needed?

When the injected worker fails,worker.onerror callback triggers an internal error event that is not handled properly. These changes set config.enableWorker to false and resets the stream controller loading state and transmuxer instance so that audio and main stream controllers can retry with inline transmuxer.

Related issues:

Related to #5107

@robwalch robwalch added this to the 1.4.0 milestone Mar 2, 2023
@robwalch robwalch merged commit 8d32659 into master Mar 3, 2023
@robwalch robwalch deleted the bugfix/recover-from-worker-exception branch March 3, 2023 02:13
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.

None yet

1 participant