|
|
@@ -844,6 +844,10 @@ JingleSession.prototype.addSource = function (elem, fromJid) {
|
|
844
|
844
|
console.warn("Got add stream request for my own ssrc: "+ssrc);
|
|
845
|
845
|
return;
|
|
846
|
846
|
}
|
|
|
847
|
+ if (sdp.containsSSRC(ssrc)) {
|
|
|
848
|
+ console.warn("Source-add request for existing SSRC: " + ssrc);
|
|
|
849
|
+ return;
|
|
|
850
|
+ }
|
|
847
|
851
|
$(this).find('>parameter').each(function () {
|
|
848
|
852
|
lines += 'a=ssrc:' + ssrc + ' ' + $(this).attr('name');
|
|
849
|
853
|
if ($(this).attr('value') && $(this).attr('value').length)
|