react-native-opentok icon indicating copy to clipboard operation
react-native-opentok copied to clipboard

Publisher 'cameraDirection' prop has no effect

Open DGeoWils opened this issue 6 years ago • 2 comments

On both iOS and Android - using the cameraDirection prop does not change the initial camera state. Stream always starts with front (screen-facing) camera.

<Publisher cameraDirection='back' />

DGeoWils avatar Aug 08 '18 15:08 DGeoWils

Found this out too - cameraDirection is not working.

adebonis avatar Aug 09 '18 16:08 adebonis

@DGeoWils you can use switchCamera() function instead.

khataha92 avatar Nov 17 '19 13:11 khataha92