Detail comment

This commit is contained in:
Lyubo Marinov 2017-02-21 09:09:07 -06:00
parent 1ed0759a50
commit aaf7a38cce
1 changed files with 9 additions and 5 deletions

View File

@ -112,12 +112,16 @@ 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 }