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.
@@ -81,7 +81,7 @@ class Worker extends EnhancedEventEmitter_1.EnhancedEventEmitter {
81
81
  // options
82
82
  {
83
83
  env: {
84
- MEDIASOUP_VERSION: '3.9.3',
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.
@@ -9,7 +9,7 @@ export { types };
9
9
  /**
10
10
  * Expose mediasoup version.
11
11
  */
12
- export declare const version = "3.9.3";
12
+ export declare const version = "3.9.4";
13
13
  /**
14
14
  * Expose parseScalabilityMode() function.
15
15
  */
package/node/lib/index.js CHANGED
@@ -11,7 +11,7 @@ exports.types = types;
11
11
  /**
12
12
  * Expose mediasoup version.
13
13
  */
14
- exports.version = '3.9.3';
14
+ exports.version = '3.9.4';
15
15
  /**
16
16
  * Expose parseScalabilityMode() function.
17
17
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediasoup",
3
- "version": "3.9.3",
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.3",
83
- "@typescript-eslint/eslint-plugin": "^5.8.0",
84
- "@typescript-eslint/parser": "^5.8.0",
85
- "eslint": "^8.5.0",
86
- "eslint-plugin-jest": "^25.3.0",
87
- "jest": "^27.4.5",
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",
@@ -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.buffer, request->method.c_str());
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.buffer, request->method.c_str());
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.buffer, request->method.c_str());
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.buffer, request->method.c_str());
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.buffer, notification->event.c_str());
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.buffer, notification->event.c_str());
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.buffer, request->method.c_str());
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.buffer, request->method.c_str());
383
+ MS_THROW_ERROR("%s [method:%s]", error.what(), request->method.c_str());
384
384
  }
385
385
  }
386
386