Hi try run mediasoup with:
export MEDIASOUP_USE_VALGRIND="true"
export MEDIASOUP_VALGRIND_OPTIONS="--leak-check=full --track-fds=yes --log-file=/tmp/mediasoup_valgrind_`data +%s`.log"
but workers crash:
0|edge | (node:60084) UnhandledPromiseRejectionWarning: Error: [pid:60095, code:1, signal:null]
0|edge | at ChildProcess.<anonymous> (/home/ubuntu/edge/node_modules/mediasoup/lib/Worker.js:122:43)
0|edge | at ChildProcess.emit (events.js:376:20)
0|edge | at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
0|edge | (Use `node --trace-warnings ...` to show where the warning was created)
0|edge | (node:60084) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
0|edge | (node:60084) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
pls help, thx