diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-19 17:20:27 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-19 17:20:33 +0200 |
commit | 709b8ac2b7a82a047edca7fbc5f3bc92b0f55c60 (patch) | |
tree | 6dfd0477994e7d6694113e8964e01ab979c4f70a /webclient/room/room.html | |
parent | SYWEB-13: disabled "Send image" button if the browser does not support HTML5 ... (diff) | |
download | synapse-709b8ac2b7a82a047edca7fbc5f3bc92b0f55c60.tar.xz |
SYWEB-13 SYWEB-14: disabled "Call" button if the browser does not support all required WebRTC features
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r-- | webclient/room/room.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index 44a0e34d9f..1fe83c03ea 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -176,7 +176,13 @@ <button ng-click="inviteUser()" ng-disabled="state.permission_denied">Invite</button> </span> <button ng-click="leaveRoom()" ng-disabled="state.permission_denied">Leave</button> - <button ng-click="startVoiceCall()" ng-show="(currentCall == undefined || currentCall.state == 'ended') && memberCount() == 2" ng-disabled="state.permission_denied">Voice Call</button> + <button ng-click="startVoiceCall()" + 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.'}}" + > + Voice Call + </button> </div> {{ feedback }} |