Opus frame size support in 20ms packet

135 views
Skip to first unread message

Yong Xin

unread,
Jun 24, 2014, 3:18:22 PM6/24/14
to discuss...@googlegroups.com
Hi everyone,
 
When testing Opus with Chrome browser, I have seen it is always sending single 20ms frame when packetization is set to 20ms.
 
Does anyone know if Chrome or Firebox browser supports sending 20ms Opus packet with other frame size? For example, 2 x 10ms frames or 4 x 5ms frames or 8 x 2.5ms frames.
 
If not, is there a plan to support these frame size in the roadmap?
 
Thanks,
Yong 

Benjamin Schwartz

unread,
Jun 24, 2014, 5:22:04 PM6/24/14
to discuss...@googlegroups.com
All Opus implementations support receiving smaller frame sizes inside a 20ms packet.  However, there is no way for javascript to request that the browser produce such multi-frame packets.  It is up to the encoder to determine how many frames to use in each packet.

If you want a shorter overall packet duration, you can signal that through SDP.


--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages