|
@@ -42,7 +42,6 @@ function JingleSessionPC(me, sid, connection, service) {
|
42
|
42
|
this.addingStreams = false;
|
43
|
43
|
|
44
|
44
|
this.wait = true;
|
45
|
|
- this.localStreamsSSRC = null;
|
46
|
45
|
this.ssrcOwners = {};
|
47
|
46
|
this.ssrcVideoTypes = {};
|
48
|
47
|
|
|
@@ -258,8 +257,7 @@ JingleSessionPC.prototype.accept = function () {
|
258
|
257
|
// FIXME why do we generate session-accept in 3 different places ?
|
259
|
258
|
prsdp.toJingle(
|
260
|
259
|
accept,
|
261
|
|
- this.initiator == this.me ? 'initiator' : 'responder',
|
262
|
|
- this.localStreamsSSRC);
|
|
260
|
+ this.initiator == this.me ? 'initiator' : 'responder');
|
263
|
261
|
var sdp = this.peerconnection.localDescription.sdp;
|
264
|
262
|
while (SDPUtil.find_line(sdp, 'a=inactive')) {
|
265
|
263
|
// FIXME: change any inactive to sendrecv or whatever they were originally
|
|
@@ -486,8 +484,7 @@ JingleSessionPC.prototype.createdOffer = function (sdp) {
|
486
|
484
|
sid: this.sid});
|
487
|
485
|
self.localSDP.toJingle(
|
488
|
486
|
init,
|
489
|
|
- this.initiator == this.me ? 'initiator' : 'responder',
|
490
|
|
- this.localStreamsSSRC);
|
|
487
|
+ this.initiator == this.me ? 'initiator' : 'responder');
|
491
|
488
|
|
492
|
489
|
SSRCReplacement.processSessionInit(init);
|
493
|
490
|
|
|
@@ -1510,13 +1507,6 @@ JingleSessionPC.prototype.setLocalDescription = function () {
|
1510
|
1507
|
});
|
1511
|
1508
|
});
|
1512
|
1509
|
}
|
1513
|
|
- else if(self.localStreamsSSRC && self.localStreamsSSRC[media.type])
|
1514
|
|
- {
|
1515
|
|
- newssrcs.push({
|
1516
|
|
- 'ssrc': self.localStreamsSSRC[media.type],
|
1517
|
|
- 'type': media.type
|
1518
|
|
- });
|
1519
|
|
- }
|
1520
|
1510
|
|
1521
|
1511
|
});
|
1522
|
1512
|
|