blackuy / react-native-twilio-video-webrtc

Twilio Video (WebRTC) for React Native
https://www.twilio.com/docs/video
MIT License
609 stars 403 forks source link

flipCamera() not working for Redmi note 5 pro #533

Open malikKartik opened 3 years ago

malikKartik commented 3 years ago

Steps to reproduce

  1. We can use the code given in the example
  2. Use flipCamera() to flip the local video view camera once the call is started

Expected behaviour

Camera should be switched from the Front camera to the back camera and vice versa

Actual behaviour

Not able to switch camera

Environment

react-native-twilio-video-webrtc

Version: npm version or "master"

slycoder commented 3 years ago

Possibly a dupe of #537

tanmay-patil commented 3 years ago

@slycoder

This issue is only specific to the Redmi note 5 Pro device, So I dont think #537 which is more on the generic side can help out here.

slycoder commented 3 years ago

537 regards an issue which affects certain devices on certain os versions (because of the differing api1 vs api2 implementations) so it's possible that the redmi note5 is one of the affected devices.