diff --git a/index.html b/index.html index 2930d8c798..990d976163 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ - + diff --git a/libs/app.bundle.js b/libs/app.bundle.js index 829187c8cb..017987f2f6 100644 --- a/libs/app.bundle.js +++ b/libs/app.bundle.js @@ -12751,8 +12751,16 @@ JingleSession.prototype.initiate = function (peerjid, isInitiator) { self.sendIceCandidate(event.candidate); }; this.peerconnection.onaddstream = function (event) { - console.log("REMOTE STREAM ADDED: " + event.stream + " - " + event.stream.id); - self.remoteStreamAdded(event); + if (event.stream.id !== 'default') { + console.log("REMOTE STREAM ADDED: " + event.stream + " - " + event.stream.id); + self.remoteStreamAdded(event); + } else { + // This is a recvonly stream. Clients that implement Unified Plan, + // such as Firefox use recvonly "streams/channels/tracks" for + // receiving remote stream/tracks, as opposed to Plan B where there + // are only 3 channels: audio, video and data. + console.log("RECVONLY REMOTE STREAM IGNORED: " + event.stream + " - " + event.stream.id); + } }; this.peerconnection.onremovestream = function (event) { // Remove the stream from remoteStreams