react-native-twilio-video-webrtc
react-native-twilio-video-webrtc copied to clipboard
flipCamera() not working for Redmi note 5 pro
Steps to reproduce
- We can use the code given in the example
- 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
- Node.js version:v14.17.3
- React Native version: 0.64.2
- React Native platform + platform version: Android 9 - Redmi note 5 pro only
react-native-twilio-video-webrtc
Version: npm version or "master"
Possibly a dupe of #537
@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.
#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.