[Freeswitch-users] Why only 3 frame sizes in mod_opus?

Dragos Oancea doancea at orange-vallee.net
Wed Oct 7 19:23:57 MSD 2015


Hi Michael,

You have the full spectrum with opus at 8000h actually : 
10,20,40,60,80,100,120 .

80,100,120 are created like this (using Opus repacketization):
80 = 2 x 40 ms
100 = 5 x 20 ms  (since Opus can only repacketize frames of the same size)
120 = 2 x 60 ms .

As far as I know 60 ms at 48 khz exceeds an internal buffer size in 
Freeswitch when decoding,
so that's why no frame sizes over 40 ms for Opus @ 48 khz .

Regards,
Dragos


On 10/07/2015 01:49 AM, Michel Aoun wrote:
> I think that only 3 frame sizes (10ms, 20ms and 40ms) are implemented 
> in mod_opus?
>
> Is there a reason for not adding the entire list of 2.5, 5, 10, 20, 
> 40, and 60 ms (https://tools.ietf.org/html/rfc6716#section-2.1.4)?
>
> Thanks
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151007/24ee502a/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list