node server.js & mediasoup卡在create worker
worker创建成功后的@success回调没有上到nodejs层
sudo node server.js & 可以启动worker但是通信双方看不到视频流
怀疑跟Transport 的listenIp.ip有关
有什么好的mediasoup部署方式推荐吗
running 16 mediasoup Workers…
await createWorker: 0
mediasoup:ERROR:Worker constructor() +0ms
mediasoup:ERROR:Worker spawning worker process: /home/caros/icode/baidu/adu-lab/rtc-sfu/server/node_modules/mediasoup/worker/out/Release/mediasoup-worker --logLevel=debug --logTag=info --logTag=ice --logTag=dtls --logTag=rtp --logTag=srtp --logTag=rtcp --logTag=rtx --logTag=bwe --logTag=score --logTag=simulcast --logTag=svc --logTag=sctp --rtcMinPort=40000 --rtcMaxPort=49999 +0ms
mediasoup:ERROR:Worker this.channel: Channel {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: Infinity,
[Symbol(kCapture)]: false
} +3ms
mediasoup:ERROR:Worker this.payloadChannel PayloadChannel {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: Infinity,
[Symbol(kCapture)]: false
} +1ms
mediasoup:ERROR:Worker worker constructor done +0ms //server/node_modules/mediasoup/node/lib/Worker.js :193
mediasoup:ERROR worker.on@failure Worker { //server/node_modules/mediasoup/node/lib/Worker.js :148
_events: [Object: null prototype] {
’@success’: [Function (anonymous)],
’@failure’: [Function (anonymous)]
},
_eventsCount: 2,
_maxListeners: Infinity,
[Symbol(kCapture)]: false
} +0ms