summary refs log tree commit diff
path: root/webclient/components
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-11 18:59:22 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-11 18:59:22 +0100
commit1e05e30472de1d115e655390ada4fa7a01271b3e (patch)
tree314fba24b41463b13b0b46e4055b8ba64f134808 /webclient/components
parentFix bug where web client wold break trying to add the earliest token without ... (diff)
downloadsynapse-1e05e30472de1d115e655390ada4fa7a01271b3e.tar.xz
Put back the line that adds the stream to the invite, otherwise caller->callee audio won't work...
Diffstat (limited to 'webclient/components')
-rw-r--r--webclient/components/matrix/matrix-call.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/webclient/components/matrix/matrix-call.js b/webclient/components/matrix/matrix-call.js
index 3a692ccf5c..2191bdab39 100644
--- a/webclient/components/matrix/matrix-call.js
+++ b/webclient/components/matrix/matrix-call.js
@@ -138,6 +138,7 @@ angular.module('MatrixCall', [])
             audioTracks[i].enabled = true;
         }
         this.peerConn = this.createPeerConnection();
+        this.peerConn.addStream(stream);
         var self = this;
         this.peerConn.createOffer(function(d) {
             self.gotLocalOffer(d);