Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Detail comment

Lyubo Marinovaaf7a38cce0b
diff --git a/react/features/toolbar/components/Toolbar.native.js b/react/features/toolbar/components/Toolbar.native.js
index d132588787..9bc5630547 100644
--- a/react/features/toolbar/components/Toolbar.native.js
+++ b/react/features/toolbar/components/Toolbar.native.js
@@ -112,19 +112,23 @@ class Toolbar extends AbstractToolbar {
/* eslint-disable react/jsx-curly-spacing,react/jsx-handler-names */
- // TODO Use an appropriate icon for toggle camera facing mode.
return (
<View style = { styles.secondaryToolbar }>
- {/*
- * XXX Temporarily disabled until issues are fixed in
- * react-native-webrtc.
+ {/* FIXME There are multiple issues with the toggling of the
+ * camera facing more. For example, switching from the user
+ * facing camera to the environment facing camera on iOS may be
+ * very slow or may not work at all. On Android the toggling
+ * either works or does not. The causes of the various problems
+ * have been identified to lie within either
+ * react-native-webrtc or Google's native WebRTC API.
+ *
<ToolbarButton
iconName = 'switch-camera'
iconStyle = { iconStyle }
onClick = { this._toggleCameraFacingMode }
style = { style }
underlayColor = { underlayColor } />
- */}
+ */}
<ToolbarButton
iconName = {
this.props._locked ? 'security-locked' : 'security'