mediasoup-sfu-webrtc-video-rooms
mediasoup-sfu-webrtc-video-rooms copied to clipboard
App crashes when connecting/disconnecting?
I was trying to run this app. Sometimes the rooms peers connect and disconnect fine. But sometimes the app crashes. Here is the console.log when the app crashes: /home/ec2-user/www/node_modules/mediasoup/lib/Channel.js:199 sent.reject(new Error(msg.reason)); ^
Error: [method:transport.connect]
at Channel._processMessage (/home/ec2-user/www/node_modules/mediasoup/lib/Channel.js:199:37)
at Socket.
I have tried to reproduce the error, but it happens randomly. Any suggestions?
Hello @ranavjk,
Try updating the dependencies, mediasoup-server
to latest and recompiling the mediasoup-client
to latest and see if the problem still persists? Regards