Fixes a bug reported by George Politis.

This commit is contained in:
Boris Grozev 2015-10-19 15:59:24 -05:00
parent 657a3fb2e1
commit 554808549e
1 changed files with 1 additions and 1 deletions

View File

@ -895,7 +895,7 @@ JingleSessionPC.prototype.addSource = function (elem) {
return this.getAttribute('ssrc'); return this.getAttribute('ssrc');
}).get(); }).get();
if (!ssrcs.length) { if (ssrcs.length) {
lines += 'a=ssrc-group:' + semantics + ' ' + ssrcs.join(' ') + '\r\n'; lines += 'a=ssrc-group:' + semantics + ' ' + ssrcs.join(' ') + '\r\n';
} }
}); });