Fixes typo with removessrc initialization.

This commit is contained in:
paweldomas 2014-03-05 17:10:06 +01:00
parent 056f80d844
commit 7ac2bad8e1
1 changed files with 1 additions and 1 deletions

View File

@ -2133,7 +2133,7 @@ JingleSession.prototype.removeSource = function (elem) {
if (!SDPUtil.find_line(media, 'a=mid:' + name))
return;
sdp.media[idx] += lines;
if (!self.addssrc[idx]) self.removessrc[idx] = '';
if (!self.removessrc[idx]) self.removessrc[idx] = '';
self.removessrc[idx] += lines;
});
sdp.raw = sdp.session + sdp.media.join('');