Closed AndreyPatseiko closed 1 year ago
@AndreyPatseiko ,
I think you can write a React hook that listens to the "started" event on the local video track, and checks the constraints passed to the "restart()" method. Hope this answers your question.
Question It's possible catch event when user changed facingMode?
I have application where is critical part to display video from same direction. In your examples you mirrored local image when user switch facingMode
But how I can check that participant switched facingMode in not localTrack?