mediasoup-sfu-webrtc-video-rooms icon indicating copy to clipboard operation
mediasoup-sfu-webrtc-video-rooms copied to clipboard

app.js: 'consumer' is not defined

Open bra1n opened this issue 2 years ago • 1 comments

https://github.com/Dirvann/mediasoup-sfu-webrtc-video-rooms/blob/dd52d6c932b21add48456f93dbba19a70f7e6a0c/src/app.js#L192

It seems like the server-side app.js is using an undefined consumer variable in the "resume" socket event listener. Is this an oversight or a bug?

bra1n avatar Jan 31 '22 18:01 bra1n

Ah, seems to be like this code is not even used. Is there a particular reason why resume is never called? IIRC, resuming the consumer is supposed to be necessary...

bra1n avatar Jan 31 '22 20:01 bra1n