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

Use software decoder fallback for codec exceptions #48

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

DanielNovak
Copy link
Contributor

We discovered a bug when screensharing from Firefox into Android would throw a MediaCodec.CodecException (Error code 0x1) when a larger resolution window was shared. Falling back to the software decoder fixes the problem in this specific case and should generally be a good "last try" approach.

Copy link
Member

@skydoves skydoves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@skydoves skydoves merged commit d260c92 into main Aug 8, 2023
1 check passed
@skydoves skydoves deleted the fix_fallback_codec branch August 8, 2023 09:53
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