mediasoup-client 3.6.44 → 3.6.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,7 +205,7 @@ class Chrome55 extends HandlerInterface_1.HandlerInterface {
205
205
  ortc.reduceCodecs(sendingRemoteRtpParameters.codecs);
206
206
  if (!this._transportReady) {
207
207
  await this._setupTransport({
208
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
208
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
209
209
  localSdpObject
210
210
  });
211
211
  }
@@ -336,7 +336,7 @@ class Chrome55 extends HandlerInterface_1.HandlerInterface {
336
336
  .find((m) => m.type === 'application');
337
337
  if (!this._transportReady) {
338
338
  await this._setupTransport({
339
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
339
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
340
340
  localSdpObject
341
341
  });
342
342
  }
@@ -204,7 +204,7 @@ class Chrome67 extends HandlerInterface_1.HandlerInterface {
204
204
  ortc.reduceCodecs(sendingRemoteRtpParameters.codecs);
205
205
  if (!this._transportReady) {
206
206
  await this._setupTransport({
207
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
207
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
208
208
  localSdpObject
209
209
  });
210
210
  }
@@ -377,7 +377,7 @@ class Chrome67 extends HandlerInterface_1.HandlerInterface {
377
377
  .find((m) => m.type === 'application');
378
378
  if (!this._transportReady) {
379
379
  await this._setupTransport({
380
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
380
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
381
381
  localSdpObject
382
382
  });
383
383
  }
@@ -197,7 +197,7 @@ class Chrome70 extends HandlerInterface_1.HandlerInterface {
197
197
  let offerMediaObject;
198
198
  if (!this._transportReady) {
199
199
  await this._setupTransport({
200
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
200
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
201
201
  localSdpObject
202
202
  });
203
203
  }
@@ -384,7 +384,7 @@ class Chrome70 extends HandlerInterface_1.HandlerInterface {
384
384
  .find((m) => m.type === 'application');
385
385
  if (!this._transportReady) {
386
386
  await this._setupTransport({
387
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
387
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
388
388
  localSdpObject
389
389
  });
390
390
  }
@@ -206,7 +206,7 @@ class Chrome74 extends HandlerInterface_1.HandlerInterface {
206
206
  let offerMediaObject;
207
207
  if (!this._transportReady) {
208
208
  await this._setupTransport({
209
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
209
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
210
210
  localSdpObject
211
211
  });
212
212
  }
@@ -374,7 +374,7 @@ class Chrome74 extends HandlerInterface_1.HandlerInterface {
374
374
  .find((m) => m.type === 'application');
375
375
  if (!this._transportReady) {
376
376
  await this._setupTransport({
377
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
377
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
378
378
  localSdpObject
379
379
  });
380
380
  }
@@ -209,7 +209,7 @@ class ReactNative extends HandlerInterface_1.HandlerInterface {
209
209
  ortc.reduceCodecs(sendingRemoteRtpParameters.codecs);
210
210
  if (!this._transportReady) {
211
211
  await this._setupTransport({
212
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
212
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
213
213
  localSdpObject
214
214
  });
215
215
  }
@@ -342,7 +342,7 @@ class ReactNative extends HandlerInterface_1.HandlerInterface {
342
342
  .find((m) => m.type === 'application');
343
343
  if (!this._transportReady) {
344
344
  await this._setupTransport({
345
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
345
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
346
346
  localSdpObject
347
347
  });
348
348
  }
@@ -204,7 +204,7 @@ class Safari11 extends HandlerInterface_1.HandlerInterface {
204
204
  ortc.reduceCodecs(sendingRemoteRtpParameters.codecs);
205
205
  if (!this._transportReady) {
206
206
  await this._setupTransport({
207
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
207
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
208
208
  localSdpObject
209
209
  });
210
210
  }
@@ -373,7 +373,7 @@ class Safari11 extends HandlerInterface_1.HandlerInterface {
373
373
  .find((m) => m.type === 'application');
374
374
  if (!this._transportReady) {
375
375
  await this._setupTransport({
376
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
376
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
377
377
  localSdpObject
378
378
  });
379
379
  }
@@ -195,7 +195,7 @@ class Safari12 extends HandlerInterface_1.HandlerInterface {
195
195
  let offerMediaObject;
196
196
  if (!this._transportReady) {
197
197
  await this._setupTransport({
198
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
198
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
199
199
  localSdpObject
200
200
  });
201
201
  }
@@ -346,7 +346,7 @@ class Safari12 extends HandlerInterface_1.HandlerInterface {
346
346
  .find((m) => m.type === 'application');
347
347
  if (!this._transportReady) {
348
348
  await this._setupTransport({
349
- localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'server',
349
+ localDtlsRole: (_a = this._forcedLocalDtlsRole) !== null && _a !== void 0 ? _a : 'client',
350
350
  localSdpObject
351
351
  });
352
352
  }
package/lib/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export { types };
8
8
  /**
9
9
  * Expose mediasoup-client version.
10
10
  */
11
- export declare const version = "3.6.44";
11
+ export declare const version = "3.6.45";
12
12
  /**
13
13
  * Expose Device class and detectDevice() helper.
14
14
  */
package/lib/index.js CHANGED
@@ -33,7 +33,7 @@ exports.types = types;
33
33
  /**
34
34
  * Expose mediasoup-client version.
35
35
  */
36
- exports.version = '3.6.44';
36
+ exports.version = '3.6.45';
37
37
  /**
38
38
  * Expose parseScalabilityMode() function.
39
39
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediasoup-client",
3
- "version": "3.6.44",
3
+ "version": "3.6.45",
4
4
  "description": "mediasoup client side JavaScript library",
5
5
  "contributors": [
6
6
  "Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)",
@@ -328,7 +328,7 @@ export class Chrome55 extends HandlerInterface
328
328
  {
329
329
  await this._setupTransport(
330
330
  {
331
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
331
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
332
332
  localSdpObject
333
333
  });
334
334
  }
@@ -544,7 +544,7 @@ export class Chrome55 extends HandlerInterface
544
544
  {
545
545
  await this._setupTransport(
546
546
  {
547
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
547
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
548
548
  localSdpObject
549
549
  });
550
550
  }
@@ -329,7 +329,7 @@ export class Chrome67 extends HandlerInterface
329
329
  {
330
330
  await this._setupTransport(
331
331
  {
332
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
332
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
333
333
  localSdpObject
334
334
  });
335
335
  }
@@ -621,7 +621,7 @@ export class Chrome67 extends HandlerInterface
621
621
  {
622
622
  await this._setupTransport(
623
623
  {
624
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
624
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
625
625
  localSdpObject
626
626
  });
627
627
  }
@@ -311,7 +311,7 @@ export class Chrome70 extends HandlerInterface
311
311
  {
312
312
  await this._setupTransport(
313
313
  {
314
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
314
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
315
315
  localSdpObject
316
316
  });
317
317
  }
@@ -627,7 +627,7 @@ export class Chrome70 extends HandlerInterface
627
627
  {
628
628
  await this._setupTransport(
629
629
  {
630
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
630
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
631
631
  localSdpObject
632
632
  });
633
633
  }
@@ -328,7 +328,7 @@ export class Chrome74 extends HandlerInterface
328
328
  {
329
329
  await this._setupTransport(
330
330
  {
331
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
331
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
332
332
  localSdpObject
333
333
  });
334
334
  }
@@ -613,7 +613,7 @@ export class Chrome74 extends HandlerInterface
613
613
  {
614
614
  await this._setupTransport(
615
615
  {
616
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
616
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
617
617
  localSdpObject
618
618
  });
619
619
  }
@@ -333,7 +333,7 @@ export class ReactNative extends HandlerInterface
333
333
  {
334
334
  await this._setupTransport(
335
335
  {
336
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
336
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
337
337
  localSdpObject
338
338
  });
339
339
  }
@@ -552,7 +552,7 @@ export class ReactNative extends HandlerInterface
552
552
  {
553
553
  await this._setupTransport(
554
554
  {
555
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
555
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
556
556
  localSdpObject
557
557
  });
558
558
  }
@@ -328,7 +328,7 @@ export class Safari11 extends HandlerInterface
328
328
  {
329
329
  await this._setupTransport(
330
330
  {
331
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
331
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
332
332
  localSdpObject
333
333
  });
334
334
  }
@@ -615,7 +615,7 @@ export class Safari11 extends HandlerInterface
615
615
  {
616
616
  await this._setupTransport(
617
617
  {
618
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
618
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
619
619
  localSdpObject
620
620
  });
621
621
  }
@@ -308,7 +308,7 @@ export class Safari12 extends HandlerInterface
308
308
  {
309
309
  await this._setupTransport(
310
310
  {
311
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
311
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
312
312
  localSdpObject
313
313
  });
314
314
  }
@@ -567,7 +567,7 @@ export class Safari12 extends HandlerInterface
567
567
  {
568
568
  await this._setupTransport(
569
569
  {
570
- localDtlsRole : this._forcedLocalDtlsRole ?? 'server',
570
+ localDtlsRole : this._forcedLocalDtlsRole ?? 'client',
571
571
  localSdpObject
572
572
  });
573
573
  }