I am trying to learn the basics of mediasoup and started by installing mediasoup-sample-app.
I changed the config.js for my IP, created a ssl cert but other than that have not changed the code.
When I run I get log message for ‘client connected’ when I press the connect button on the page.
But, when I press the start webcam, share screen or subscribe buttons, I get this output and can’t seem to figure out why.
message:“port bind failed due to address not available [transport:udp, ip:‘192.168.1.132’, port:10080, attempt:1/101]”
stack:“Error: port bind failed due to address not available [transport:udp, ip:‘192.168.1.132’, port:10080, attempt:1/101]
at Channel._processMessage (/home/mike/mediasoup-sample-app/node_modules/mediasoup/lib/Channel.js:199:37)
at Socket. (/home/mike/mediasoup-sample-app/node_modules/mediasoup/lib/Channel.js:61:34)
at Socket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at Socket.Readable.push (_stream_readable.js:212:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:186:23)”