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: stopStream causes the browser to freeze on some Android 11 devices #78

Merged
merged 2 commits into from
Dec 10, 2021

Conversation

jaymemi
Copy link
Contributor

@jaymemi jaymemi commented Mar 17, 2021

Fixes the issue causing some Android 11 devices to freeze Chrome while switching between rear and front cameras.

@jaymemi jaymemi changed the title fix: stopStream causes the browser to feeze on some Android 11 devices fix: stopStream causes the browser to freeze on some Android 11 devices Mar 19, 2021
@stefanhk31
Copy link

Any word on whether this PR will be merged? This Android 11 bug has been a problem for my team for several months now.

@jcesarmobile
Copy link
Member

I can't reproduce on Android 11 anymore, looks like it got fixed on Chrome.

I was going to add the change anyway as it looked harmless, but if I make this changes I get Cannot set properties of null (setting 'srcObject') on the test app

Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

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

Ok, fixed the error I was getting by adding a check

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.

3 participants