summary refs log tree commit diff
path: root/webclient/room/room.html
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-08-29 11:29:36 +0100
committerDavid Baker <dbkr@matrix.org>2014-08-29 11:29:36 +0100
commit41d02ab6742643c755f37665c31afa94c0cc8af5 (patch)
tree0771a9e7239d7820833146510f0d70b80b042a59 /webclient/room/room.html
parentFirst basic working VoIP call support (diff)
downloadsynapse-41d02ab6742643c755f37665c31afa94c0cc8af5.tar.xz
More basic functionality for voip calls (like hanging up)
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r--webclient/room/room.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index dceb7322f5..bc3eefaf34 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -104,6 +104,7 @@
                 <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>
         
@@ -111,7 +112,6 @@
             <div ng-hide="!state.stream_failure">
                 {{ state.stream_failure.data.error || "Connection failure" }}
             </div>
-           <audio id="remoteAudio" autoplay="autoplay"></audio>
         </div>
     </div>