TypeError: empty iceCandidaes

Hi there!

I am hacking on a little app based on the demo.

I get the following error:

protoo Peer "request" event [method:createWebRtcTransport, peerId:nht5hyyq]
request failed:TypeError: empty iceCandidates [method:router.createWebRtcTransportWithServer]
    at Channel.processMessage (...node_modules/mediasoup/node/lib/Channel.js:196:37)
    at Socket.<anonymous> (.../node_modules/mediasoup/node/lib/Channel.js:69:34)
    at Socket.emit (node:events:526:28)
    at Socket.emit (node:domain:475:12)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) {

Anyone knows a., what might be the cause b., how could I learn to debug mediasoup issues?



Seems like when porting from JS to TS I mistakenly disabled both UDP and TCP!
Enabled both and now data is flowing.