summary refs log tree commit diff
path: root/webclient/index.html
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-08 16:10:36 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-08 16:10:36 +0100
commit972f664b6b38029cda46a6ba709b7fc8b6b6bdae (patch)
tree582d79e95eb0f3e5e53cc52ba917c1604880ef69 /webclient/index.html
parentMerge branch 'origin/release-v0.2.2' into develop (diff)
downloadsynapse-972f664b6b38029cda46a6ba709b7fc8b6b6bdae.tar.xz
add sounds to the calling interface
Diffstat (limited to 'webclient/index.html')
-rw-r--r--webclient/index.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/webclient/index.html b/webclient/index.html
index 81c7c7d06c..53ac1cb10e 100644
--- a/webclient/index.html
+++ b/webclient/index.html
@@ -70,6 +70,22 @@
                     <button ng-click="hangupCall()">Reject</button>
                 </span>
                 <button ng-click="hangupCall()" ng-show="currentCall && currentCall.state != 'ringing' && currentCall.state != 'ended' && currentCall.state != 'fledgling'">Hang up</button>
+                <audio id="ringAudio" loop>
+                    <source src="media/ring.ogg" type="audio/ogg" />
+                    <source src="media/ring.mp3" type="audio/mpeg" />
+                </audio>
+                <audio id="ringbackAudio" loop>
+                    <source src="media/ringback.ogg" type="audio/ogg" />
+                    <source src="media/ringback.mp3" type="audio/mpeg" />
+                </audio>
+                <audio id="callendAudio">
+                    <source src="media/callend.ogg" type="audio/ogg" />
+                    <source src="media/callend.mp3" type="audio/mpeg" />
+                </audio>
+                <audio id="busyAudio">
+                    <source src="media/busy.ogg" type="audio/ogg" />
+                    <source src="media/busy.mp3" type="audio/mpeg" />
+                </audio>
             </div>
             <a href id="headerUserId" ng-click='goToUserPage(user_id)'>{{ user_id }}</a>
             &nbsp;