New ‘packet’ event in Data producers

Hi,
I’m trying to listen to the new ‘packet’ event on a Data producer, but I can’t get anything. I think It works only for audio/video producers, right?

Right. We cannot provide any useful info in the JS layer regarding SCTP packets since, anyway, we cannot provide the full data they contain (for that you need a real Node.js based DataConsumer).

Yes. I’m looking at the Bot code contained in the mediasoup-demo repository.

BTW I’ve properly documented the “packet” event right now:

BTW, if you are using enablePacketEvent(), sorry for this:

Rename enablePacketEvent() and “packet” event to enableTraceEvent() and “trace” event (sorry SEMVER).