summary refs log tree commit diff
path: root/webclient/room/room.html
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-19 16:26:46 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-19 16:26:46 +0100
commit03ac0c91ae195b2931967c8c574017deaa77e7c2 (patch)
treeab8fcabb0d9c0f517405485e913d034048a1780e /webclient/room/room.html
parentSYWEB-13 SYWEB-14: disabled "Call" button if the browser does not support all... (diff)
parentFirst working version of UI chrome for video calls. (diff)
downloadsynapse-03ac0c91ae195b2931967c8c574017deaa77e7c2.tar.xz
Merge branch 'videocalls' into develop
Conflicts:
	webclient/room/room.html
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r--webclient/room/room.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index 1fe83c03ea..07b74248a8 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -183,6 +183,13 @@
                         >
                     Voice Call
                 </button>
+                <button ng-click="startVideoCall()"
+                        ng-show="(currentCall == undefined || currentCall.state == 'ended') && memberCount() == 2"
+                        ng-disabled="state.permission_denied || !state.webRTCSupported"
+                        title ="{{ state.webRTCNotSupported ? '' : 'VoIP requires webRTC but your browser does not support it.'}}"
+                        >
+                    Video Call
+                </button>
             </div>
         
             {{ feedback }}