mediasoup 3.23.0 → 3.23.1
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
### NEXT
|
|
4
4
|
|
|
5
|
+
### 3.23.1
|
|
6
|
+
|
|
7
|
+
Worker: Fix, use `thread_local` buffer on `MS_ABORT()` ([PR#1873](https://github.com/versatica/mediasoup/pull/1873)).
|
|
8
|
+
|
|
5
9
|
### 3.23.0
|
|
6
10
|
|
|
7
11
|
- Bump up Meson from 1.9.1 to 1.11.2 ([PR #1861](https://github.com/versatica/mediasoup/pull/1861)).
|
package/package.json
CHANGED
|
@@ -470,11 +470,10 @@ public:
|
|
|
470
470
|
#define MS_ABORT(desc, ...) \
|
|
471
471
|
do \
|
|
472
472
|
{ \
|
|
473
|
-
std::
|
|
473
|
+
std::snprintf(Logger::buffer, Logger::BufferSize, "(ABORT) " _MS_LOG_STR_DESC desc _MS_LOG_SEPARATOR_CHAR_STD, _MS_LOG_ARG, ##__VA_ARGS__); \
|
|
474
|
+
std::fprintf(stderr, "%s", Logger::buffer); \
|
|
474
475
|
std::fflush(stderr); \
|
|
475
|
-
|
|
476
|
-
std::snprintf(abortMessage, Logger::BufferSize, "(ABORT) " _MS_LOG_STR_DESC desc _MS_LOG_SEPARATOR_CHAR_STD, _MS_LOG_ARG, ##__VA_ARGS__); \
|
|
477
|
-
throw std::runtime_error(abortMessage); \
|
|
476
|
+
throw std::runtime_error(Logger::buffer); \
|
|
478
477
|
} \
|
|
479
478
|
while (false)
|
|
480
479
|
#endif
|