-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
🚀enhancementNew feature or requestNew feature or request
Description
I'm trying to have my local video stream mirrored when using the front-facing camera, but not mirrored when using the back camera.
My current code looks something like this:
_localStream.getVideoTracks()[0].switchCamera();
_renderer.mirror = !_renderer.mirror;The problem is that switchCamera takes ~1s, but setting the mirror property is instant. It thus creates a bit of an awkward UI experience...
Is it possible to get a callback when the camera is actually switched, so that I can time setting mirror at the exact same time?
Metadata
Metadata
Assignees
Labels
🚀enhancementNew feature or requestNew feature or request