Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

cycleVideo causes publisher stream freeze on android #205

Open
og1sha opened this issue Aug 29, 2021 · 0 comments
Open

cycleVideo causes publisher stream freeze on android #205

og1sha opened this issue Aug 29, 2021 · 0 comments

Comments

@og1sha
Copy link

og1sha commented Aug 29, 2021

I have a button for camera switch which upon clicking executes cycleVideo function
if(this.mainPublisher && this.mainPublisher.current) { this.mainPublisher.current.getPublisher().cycleVideo().catch(console.error); }

This works fine for IOS and desktop devices. But with android devices, cycling video results in zooming in/out, freezing the current stream on both publisher and subscriber side, or going just to no video at all. Error returned from cycleVideo promise is empty, so i have no idea why is this happening. Tested on chrome and firefox browsers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant