You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error is caused and in 2 js files there is a note marked "TODO handle null errors" and this error occurs.
First here is the error when I launch for example my microphone or camera:
/home/debian/node/dcs/mediasoup/src/Peer.js:24
let producer = await this.transports.get(producerTransportId).produce({
^
TypeError: Cannot read properties of undefined (reading 'produce')
at Peer.createProducer (/home/debian/node/dcs/mediasoup/src/Peer.js:24:66)
at Room.<anonymous> (/home/debian/node/dcs/mediasoup/src/Room.js:92:56)
at new Promise (<anonymous>)
at Room.produce (/home/debian/node/dcs/mediasoup/src/Room.js:90:12)
at Socket.<anonymous> (/home/debian/node/dcs/mediasoup/src/app.js:175:58)
at Socket.emit (node:events:513:28)
at Socket.emitUntyped (/home/debian/node/dcs/mediasoup/node_modules/socket.io/dist/typed-events.js:69:22)
at /home/debian/node/dcs/mediasoup/node_modules/socket.io/dist/socket.js:614:39
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
Node.js v18.12.1
I think the error occurs with the 2 comments there are here whose note is "TODO":
An error is caused and in 2 js files there is a note marked "TODO handle null errors" and this error occurs.
First here is the error when I launch for example my microphone or camera:
I think the error occurs with the 2 comments there are here whose note is "TODO":
mediasoup-sfu-webrtc-video-rooms/src/app.js
Line 179 in 6446c24
mediasoup-sfu-webrtc-video-rooms/src/Peer.js
Line 23 in 6446c24
Does anyone have an idea how to fix/make them?
The text was updated successfully, but these errors were encountered: