vpalmisano
(Vittorio Palmisano)
November 18, 2019, 3:59pm
1
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?
ibc
(Iñaki Baz Castillo)
November 18, 2019, 4:05pm
2
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
).
vpalmisano
(Vittorio Palmisano)
November 18, 2019, 4:08pm
3
Yes. I’m looking at the Bot
code contained in the mediasoup-demo
repository.
ibc
(Iñaki Baz Castillo)
November 18, 2019, 4:40pm
4
BTW I’ve properly documented the “packet” event right now:
ibc
(Iñaki Baz Castillo)
November 19, 2019, 4:57pm
5
BTW, if you are using enablePacketEvent()
, sorry for this:
mediasoup 3.3.3 has been released. Here the changes:
Add consumer.setPriority() and consumer.priority API to prioritize how the estimated outgoing bitrate in a transport is distributed among all video consumers (in case there is not enough bitrate to satisfy them).
Make video SimpleConsumers play the BWE game by helping in probation generation and bitrate distribution.
Add consumer.preferredLayers getter.
Rename enablePacketEvent() and “packet” event to enableTraceEvent() and “trace” event (so…
Rename enablePacketEvent()
and “packet” event to enableTraceEvent()
and “trace” event (sorry SEMVER).