mediasoup 3.9.3 → 3.9.4
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/node/lib/Worker.js +1 -1
- package/node/lib/index.d.ts +1 -1
- package/node/lib/index.js +1 -1
- package/package.json +7 -7
- package/worker/src/Worker.cpp +8 -8
package/node/lib/Worker.js
CHANGED
|
@@ -81,7 +81,7 @@ class Worker extends EnhancedEventEmitter_1.EnhancedEventEmitter {
|
|
|
81
81
|
// options
|
|
82
82
|
{
|
|
83
83
|
env: {
|
|
84
|
-
MEDIASOUP_VERSION: '3.9.
|
|
84
|
+
MEDIASOUP_VERSION: '3.9.4',
|
|
85
85
|
// Let the worker process inherit all environment variables, useful
|
|
86
86
|
// if a custom and not in the path GCC is used so the user can set
|
|
87
87
|
// LD_LIBRARY_PATH environment variable for runtime.
|
package/node/lib/index.d.ts
CHANGED
package/node/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mediasoup",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.4",
|
|
4
4
|
"description": "Cutting Edge WebRTC Video Conferencing",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)",
|
|
@@ -79,12 +79,12 @@
|
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@types/debug": "^4.1.7",
|
|
81
81
|
"@types/random-number": "^0.0.1",
|
|
82
|
-
"@types/uuid": "^8.3.
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
84
|
-
"@typescript-eslint/parser": "^5.
|
|
85
|
-
"eslint": "^8.
|
|
86
|
-
"eslint-plugin-jest": "^25.3.
|
|
87
|
-
"jest": "^27.4.
|
|
82
|
+
"@types/uuid": "^8.3.4",
|
|
83
|
+
"@typescript-eslint/eslint-plugin": "^5.9.0",
|
|
84
|
+
"@typescript-eslint/parser": "^5.9.0",
|
|
85
|
+
"eslint": "^8.6.0",
|
|
86
|
+
"eslint-plugin-jest": "^25.3.4",
|
|
87
|
+
"jest": "^27.4.7",
|
|
88
88
|
"jest-tobetype": "^1.2.3",
|
|
89
89
|
"open-cli": "^7.0.1",
|
|
90
90
|
"pick-port": "^1.0.0",
|
package/worker/src/Worker.cpp
CHANGED
|
@@ -259,7 +259,7 @@ inline void Worker::OnChannelRequest(Channel::ChannelSocket* /*channel*/, Channe
|
|
|
259
259
|
}
|
|
260
260
|
catch (const MediaSoupError& error)
|
|
261
261
|
{
|
|
262
|
-
MS_THROW_ERROR("%s [method:%s]", error.
|
|
262
|
+
MS_THROW_ERROR("%s [method:%s]", error.what(), request->method.c_str());
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
auto* router = new RTC::Router(routerId);
|
|
@@ -283,7 +283,7 @@ inline void Worker::OnChannelRequest(Channel::ChannelSocket* /*channel*/, Channe
|
|
|
283
283
|
}
|
|
284
284
|
catch (const MediaSoupError& error)
|
|
285
285
|
{
|
|
286
|
-
MS_THROW_ERROR("%s [method:%s]", error.
|
|
286
|
+
MS_THROW_ERROR("%s [method:%s]", error.what(), request->method.c_str());
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
// Remove it from the map and delete it.
|
|
@@ -308,11 +308,11 @@ inline void Worker::OnChannelRequest(Channel::ChannelSocket* /*channel*/, Channe
|
|
|
308
308
|
}
|
|
309
309
|
catch (const MediaSoupTypeError& error)
|
|
310
310
|
{
|
|
311
|
-
MS_THROW_TYPE_ERROR("%s [method:%s]", error.
|
|
311
|
+
MS_THROW_TYPE_ERROR("%s [method:%s]", error.what(), request->method.c_str());
|
|
312
312
|
}
|
|
313
313
|
catch (const MediaSoupError& error)
|
|
314
314
|
{
|
|
315
|
-
MS_THROW_ERROR("%s [method:%s]", error.
|
|
315
|
+
MS_THROW_ERROR("%s [method:%s]", error.what(), request->method.c_str());
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
break;
|
|
@@ -349,11 +349,11 @@ inline void Worker::OnPayloadChannelNotification(
|
|
|
349
349
|
}
|
|
350
350
|
catch (const MediaSoupTypeError& error)
|
|
351
351
|
{
|
|
352
|
-
MS_THROW_TYPE_ERROR("%s [event:%s]", error.
|
|
352
|
+
MS_THROW_TYPE_ERROR("%s [event:%s]", error.what(), notification->event.c_str());
|
|
353
353
|
}
|
|
354
354
|
catch (const MediaSoupError& error)
|
|
355
355
|
{
|
|
356
|
-
MS_THROW_ERROR("%s [method:%s]", error.
|
|
356
|
+
MS_THROW_ERROR("%s [method:%s]", error.what(), notification->event.c_str());
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
|
|
@@ -376,11 +376,11 @@ inline void Worker::OnPayloadChannelRequest(
|
|
|
376
376
|
}
|
|
377
377
|
catch (const MediaSoupTypeError& error)
|
|
378
378
|
{
|
|
379
|
-
MS_THROW_TYPE_ERROR("%s [method:%s]", error.
|
|
379
|
+
MS_THROW_TYPE_ERROR("%s [method:%s]", error.what(), request->method.c_str());
|
|
380
380
|
}
|
|
381
381
|
catch (const MediaSoupError& error)
|
|
382
382
|
{
|
|
383
|
-
MS_THROW_ERROR("%s [method:%s]", error.
|
|
383
|
+
MS_THROW_ERROR("%s [method:%s]", error.what(), request->method.c_str());
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
|