Using non-zero streamId for RTC dataProducer


I am using MediaSoup v3 & creating dataProducers using the “proper solution” mentioned here - Unreliable RTCDataChannel - #2 by ibc.

It works fine but whenever a non-zero streamId is used, it does nothing. No error messages or logs but the on “message” event on the dataConsumer isn’t triggered.

Any ideas what the problem is?