Created
May 29, 2017 12:30
-
-
Save saukap/7dab5dd4bd832076366e4c866aaff4f3 to your computer and use it in GitHub Desktop.
react-native-voximplant-demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn call-screen | |
[call video?] | |
(if video? | |
[view {:style {:flex 4 | |
:width "100%"}} | |
[preview {:style video-preview-style}] | |
[remote-view {:style video-remoteview-style | |
:call-id (:callId call)}]] | |
[view {:style {:flex 4 ; an audio call, show a regular view | |
:width "100%"}}])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment