mediasoup-client 3.6.98 → 3.6.99
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.
- package/lib/handlers/sdp/commonUtils.js +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +7 -7
|
@@ -138,9 +138,9 @@ function extractRtpCapabilities({ sdpObject }) {
|
|
|
138
138
|
exports.extractRtpCapabilities = extractRtpCapabilities;
|
|
139
139
|
function extractDtlsParameters({ sdpObject }) {
|
|
140
140
|
const mediaObject = (sdpObject.media || [])
|
|
141
|
-
.find((m) => (m.
|
|
141
|
+
.find((m) => (m.port !== 0 && m.setup));
|
|
142
142
|
if (!mediaObject) {
|
|
143
|
-
throw new Error('no active media section found');
|
|
143
|
+
throw new Error('no active media section with DTLS role found');
|
|
144
144
|
}
|
|
145
145
|
const fingerprint = mediaObject.fingerprint || sdpObject.fingerprint;
|
|
146
146
|
let role;
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mediasoup-client",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.99",
|
|
4
4
|
"description": "mediasoup client side JavaScript library",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"awaitqueue": "^3.0.1",
|
|
66
66
|
"debug": "^4.3.4",
|
|
67
67
|
"events": "^3.3.0",
|
|
68
|
-
"fake-mediastreamtrack": "^1.
|
|
68
|
+
"fake-mediastreamtrack": "^1.2.0",
|
|
69
69
|
"h264-profile-level-id": "^1.0.1",
|
|
70
70
|
"queue-microtask": "^1.2.3",
|
|
71
71
|
"sdp-transform": "^2.14.1",
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/events": "^3.0.0",
|
|
77
|
-
"@types/jest": "^29.5.
|
|
77
|
+
"@types/jest": "^29.5.4",
|
|
78
78
|
"@types/sdp-transform": "^2.4.6",
|
|
79
79
|
"@types/ua-parser-js": "^0.7.36",
|
|
80
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
81
|
-
"@typescript-eslint/parser": "^6.
|
|
82
|
-
"eslint": "^8.
|
|
80
|
+
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
81
|
+
"@typescript-eslint/parser": "^6.4.1",
|
|
82
|
+
"eslint": "^8.47.0",
|
|
83
83
|
"eslint-plugin-jest": "^27.2.3",
|
|
84
|
-
"jest": "^29.6.
|
|
84
|
+
"jest": "^29.6.3",
|
|
85
85
|
"open-cli": "^7.2.0",
|
|
86
86
|
"ts-jest": "^29.1.1",
|
|
87
87
|
"typescript": "^5.1.6"
|