Error docker mediasoup-demo

Hello everyone ,

I try dockerizer server mediasoup-demo but when run de image the interactiveClient.js throw error in line 16 ,
socket.on(‘connect’, () => { process.stdin.setRawMode(true) });

SetRawMode no at function i find int internet any solution but without success.

You can help me please.

The error you’re encountering with process.stdin.setRawMode(true) in InteractiveClient.js while using the mediasoup demo via Docker occurs because setRawMode is available only when Node.js is running in an interactive terminal (TTY). If you run the script in an environment that is not a TTY, such as when running a Docker container in non-interactive mode or through an orchestration system that doesn’t attach a TTY, setRawMode will not be available.