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

Edge Mobile (Android) requires video.play(); #330

Open
reneherbrich opened this issue May 27, 2022 · 0 comments
Open

Edge Mobile (Android) requires video.play(); #330

reneherbrich opened this issue May 27, 2022 · 0 comments

Comments

@reneherbrich
Copy link

reneherbrich commented May 27, 2022

On Android with Edge Mobile the live video is not beeing displayed.

Solution:

if ("srcObject" in video) {
  video.srcObject = stream;
  video.play(); //added video.play(); to make it work with Edge Mobile on Android
}
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

No branches or pull requests

1 participant