diff options
author | David Baker <dbkr@matrix.org> | 2014-08-29 11:33:36 +0100 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-08-29 11:33:36 +0100 |
commit | 171d8b032f9494fcfe720ec66ebb807bfb3b1de5 (patch) | |
tree | 4826e8cf9fef892e78f9418e8c0bae0149a8b9fd /webclient/room/room.html | |
parent | Cleaned up ng deps. By convention, angular modules must be listed at first (diff) | |
parent | More basic functionality for voip calls (like hanging up) (diff) | |
download | synapse-171d8b032f9494fcfe720ec66ebb807bfb3b1de5.tar.xz |
Merge branch 'voip' into develop
Conflicts: webclient/room/room-controller.js
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r-- | webclient/room/room.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index 7443b2f77b..572c52e64e 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -98,6 +98,14 @@ <button ng-click="inviteUser(userIDToInvite)">Invite</button> </span> <button ng-click="leaveRoom()">Leave</button> + <button ng-click="startVoiceCall()" ng-show="currentCall == undefined">Voice Call</button> + <div ng-show="currentCall.state == 'ringing'"> + Incoming call from {{ currentCall.user_id }} + <button ng-click="answerCall()">Answer</button> + <button ng-click="hangupCall()">Reject</button> + </div> + <button ng-click="hangupCall()" ng-show="currentCall && currentCall.state != 'ringing'">Hang up</button> + {{ currentCall.state }} </div> {{ feedback }} |