|
@@ -1343,8 +1343,11 @@ export default class JingleSessionPC extends JingleSession {
|
1343
|
1343
|
this.setOfferAnswerCycle(
|
1344
|
1344
|
originalOffer,
|
1345
|
1345
|
() => {
|
1346
|
|
- const localSDP
|
1347
|
|
- = new SDP(this.peerconnection.localDescription.sdp);
|
|
1346
|
+ const localSDP = new SDP(this.peerconnection.localDescription.sdp);
|
|
1347
|
+
|
|
1348
|
+ if (typeof this.options.channelLastN === 'number' && this.options.channelLastN >= 0) {
|
|
1349
|
+ localSDP.initialLastN = this.options.channelLastN;
|
|
1350
|
+ }
|
1348
|
1351
|
|
1349
|
1352
|
this.sendTransportAccept(localSDP, success, failure);
|
1350
|
1353
|
|
|
@@ -1388,6 +1391,9 @@ export default class JingleSessionPC extends JingleSession {
|
1388
|
1391
|
if (this.failICE) {
|
1389
|
1392
|
localSDP.failICE = true;
|
1390
|
1393
|
}
|
|
1394
|
+ if (typeof this.options.channelLastN === 'number' && this.options.channelLastN >= 0) {
|
|
1395
|
+ localSDP.initialLastN = this.options.channelLastN;
|
|
1396
|
+ }
|
1391
|
1397
|
localSDP.toJingle(
|
1392
|
1398
|
accept,
|
1393
|
1399
|
this.initiatorJid === this.localJid ? 'initiator' : 'responder');
|