mediasoup-client 3.8.1 → 3.8.2

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.
@@ -110,7 +110,7 @@ class Chrome111 extends HandlerInterface_1.HandlerInterface {
110
110
  sdpObject,
111
111
  });
112
112
  // libwebrtc supports NACK for OPUS but doesn't announce it.
113
- ortcUtils.addNackSuppportForOpus(nativeRtpCapabilities);
113
+ ortcUtils.addNackSupportForOpus(nativeRtpCapabilities);
114
114
  return nativeRtpCapabilities;
115
115
  }
116
116
  catch (error) {
@@ -110,7 +110,7 @@ class Chrome74 extends HandlerInterface_1.HandlerInterface {
110
110
  sdpObject,
111
111
  });
112
112
  // libwebrtc supports NACK for OPUS but doesn't announce it.
113
- ortcUtils.addNackSuppportForOpus(nativeRtpCapabilities);
113
+ ortcUtils.addNackSupportForOpus(nativeRtpCapabilities);
114
114
  return nativeRtpCapabilities;
115
115
  }
116
116
  catch (error) {
@@ -114,7 +114,7 @@ class ReactNativeUnifiedPlan extends HandlerInterface_1.HandlerInterface {
114
114
  sdpObject,
115
115
  });
116
116
  // libwebrtc supports NACK for OPUS but doesn't announce it.
117
- ortcUtils.addNackSuppportForOpus(nativeRtpCapabilities);
117
+ ortcUtils.addNackSupportForOpus(nativeRtpCapabilities);
118
118
  return nativeRtpCapabilities;
119
119
  }
120
120
  catch (error) {
@@ -109,7 +109,7 @@ class Safari12 extends HandlerInterface_1.HandlerInterface {
109
109
  sdpObject,
110
110
  });
111
111
  // libwebrtc supports NACK for OPUS but doesn't announce it.
112
- ortcUtils.addNackSuppportForOpus(nativeRtpCapabilities);
112
+ ortcUtils.addNackSupportForOpus(nativeRtpCapabilities);
113
113
  return nativeRtpCapabilities;
114
114
  }
115
115
  catch (error) {
@@ -2,5 +2,5 @@ import { RtpCapabilities } from '../../RtpParameters';
2
2
  /**
3
3
  * This function adds RTCP NACK support for OPUS codec in given capabilities.
4
4
  */
5
- export declare function addNackSuppportForOpus(rtpCapabilities: RtpCapabilities): void;
5
+ export declare function addNackSupportForOpus(rtpCapabilities: RtpCapabilities): void;
6
6
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/handlers/ortc/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,eAAe,EAAE,eAAe,GAAG,IAAI,CAc7E"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/handlers/ortc/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,eAAe,GAAG,IAAI,CAc5E"}
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.addNackSuppportForOpus = addNackSuppportForOpus;
3
+ exports.addNackSupportForOpus = addNackSupportForOpus;
4
4
  /**
5
5
  * This function adds RTCP NACK support for OPUS codec in given capabilities.
6
6
  */
7
- function addNackSuppportForOpus(rtpCapabilities) {
7
+ function addNackSupportForOpus(rtpCapabilities) {
8
8
  for (const codec of rtpCapabilities.codecs ?? []) {
9
9
  if ((codec.mimeType.toLowerCase() === 'audio/opus' ||
10
10
  codec.mimeType.toLowerCase() === 'audio/multiopus') &&
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.8.1";
11
+ export declare const version = "3.8.2";
12
12
  /**
13
13
  * Expose Device class and detectDevice() helper.
14
14
  */
package/lib/index.js CHANGED
@@ -47,7 +47,7 @@ exports.types = types;
47
47
  /**
48
48
  * Expose mediasoup-client version.
49
49
  */
50
- exports.version = '3.8.1';
50
+ exports.version = '3.8.2';
51
51
  /**
52
52
  * Expose parseScalabilityMode() function.
53
53
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediasoup-client",
3
- "version": "3.8.1",
3
+ "version": "3.8.2",
4
4
  "description": "mediasoup client side TypeScript library",
5
5
  "contributors": [
6
6
  "Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)",
@@ -73,27 +73,27 @@
73
73
  "h264-profile-level-id": "^2.0.0",
74
74
  "queue-microtask": "^1.2.3",
75
75
  "sdp-transform": "^2.15.0",
76
- "supports-color": "^9.4.0",
77
- "ua-parser-js": "^2.0.0"
76
+ "supports-color": "^10.0.0",
77
+ "ua-parser-js": "^2.0.2"
78
78
  },
79
79
  "devDependencies": {
80
- "@eslint/js": "^9.17.0",
80
+ "@eslint/js": "^9.20.0",
81
81
  "@types/jest": "^29.5.14",
82
82
  "@types/node": "22",
83
83
  "@types/sdp-transform": "^2.4.9",
84
84
  "@types/ua-parser-js": "^0.7.39",
85
- "@typescript-eslint/eslint-plugin": "^8.18.1",
86
- "@typescript-eslint/parser": "^8.18.1",
87
- "eslint": "^9.17.0",
88
- "eslint-config-prettier": "^9.1.0",
89
- "eslint-plugin-jest": "^28.9.0",
90
- "eslint-plugin-prettier": "^5.2.1",
91
- "globals": "^15.14.0",
85
+ "@typescript-eslint/eslint-plugin": "^8.24.1",
86
+ "@typescript-eslint/parser": "^8.24.1",
87
+ "eslint": "^9.20.1",
88
+ "eslint-config-prettier": "^10.0.1",
89
+ "eslint-plugin-jest": "^28.11.0",
90
+ "eslint-plugin-prettier": "^5.2.3",
91
+ "globals": "^16.0.0",
92
92
  "jest": "^29.7.0",
93
93
  "open-cli": "^8.0.0",
94
- "prettier": "^3.4.2",
94
+ "prettier": "^3.5.1",
95
95
  "ts-jest": "^29.2.5",
96
- "typescript": "^5.7.2",
97
- "typescript-eslint": "^8.18.1"
96
+ "typescript": "^5.7.3",
97
+ "typescript-eslint": "^8.24.1"
98
98
  }
99
99
  }