Put back the line that adds the stream to the invite, otherwise caller->callee audio won't work...

pull/10/head
David Baker 2014-09-11 18:59:22 +01:00
parent 81d061e74e
commit 1e05e30472
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ angular.module('MatrixCall', [])
audioTracks[i].enabled = true; audioTracks[i].enabled = true;
} }
this.peerConn = this.createPeerConnection(); this.peerConn = this.createPeerConnection();
this.peerConn.addStream(stream);
var self = this; var self = this;
this.peerConn.createOffer(function(d) { this.peerConn.createOffer(function(d) {
self.gotLocalOffer(d); self.gotLocalOffer(d);