react-native-twilio-video-webrtc icon indicating copy to clipboard operation
react-native-twilio-video-webrtc copied to clipboard

flipCamera() not working for Redmi note 5 pro

Open malikKartik opened this issue 4 years ago • 3 comments

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

  • 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"

malikKartik avatar Aug 16 '21 04:08 malikKartik

Possibly a dupe of #537

slycoder avatar Aug 19 '21 07:08 slycoder

@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.

tanmay-patil avatar Aug 20 '21 09:08 tanmay-patil

#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.

slycoder avatar Aug 21 '21 15:08 slycoder