[jitsi-dev] [libjitsi] RTP packetization (#47)


#1

I am currently evaluating Libjitsi.

The problem I have so far is that the equipment accepts only RTP packets containing '40ms' of PCMU audio.
It seems that Libjitsi is scheduled at '20ms'. Am I right?
If so, how can I adapt to that requirement?

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/libjitsi/issues/47


#2

I manage to add my own Packetizer in the FMJ PluginManager.
And I also manage to use this one when transmitting on the net.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/libjitsi/issues/47#issuecomment-112681755


#3

My next question is how can I select this new 40ms Packetizer or the former 20ms Packetizer when I setup the line?

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/libjitsi/issues/47#issuecomment-112682104


#4

Closed #47.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/libjitsi/issues/47#event-337784316


#5

After the mediaStream is started (.start()) you can do the following:

  Set<PacketSizeControl> _list = ((AudioMediaStreamImpl) mediaStream).getDeviceSession().getEncoderControls(PacketSizeControl.class);
  Iterator<PacketSizeControl> ite = _list.iterator();
  while (ite.hasNext())
  {
    PacketSizeControl control = ite.next();
    control.setPacketSize(320);
  }

I hope this will help!

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/libjitsi/issues/47#issuecomment-114491912