Ignore unrecognised 'default' stream.

This commit is contained in:
paweldomas 2014-11-28 16:20:24 +01:00
parent 0f6b6ae960
commit 3f3046893e
1 changed files with 4 additions and 1 deletions

5
app.js
View File

@ -356,7 +356,10 @@ function waitForPresence(data, sid) {
container = document.getElementById(
'participant_' + Strophe.getResourceFromJid(data.peerjid));
} else {
if (data.stream.id !== 'mixedmslabel') {
if (data.stream.id !== 'mixedmslabel'
// FIXME: default stream is added always with new focus
// (to be investigated)
&& data.stream.id !== 'default') {
console.error('can not associate stream',
data.stream.id,
'with a participant');