[Freeswitch-users] Conference vs codec sample rate and CPU
Anthony Minessale
anthony.minessale at gmail.com
Wed Oct 7 02:32:08 MSD 2015
G722 is actually 16khz which can pass for hd
isac will do higher sample rates as well like 16 and 32 but it will
probably also be cpu intensive.
On Tue, Oct 6, 2015 at 5:17 PM, Giovanni Maruzzelli <gmaruzz at gmail.com>
wrote:
> With browsers/webrtc I believe your choice is only between opus and g711
>
> sent from my mobile,
> Giovanni Maruzzelli
> cell: +39 347 266 56 18
> On Oct 7, 2015 12:04 AM, "Oleg Stolyar" <olegstolyar at gmail.com> wrote:
>
>> My endpoint is Chrome/WebRTC. Here is what the current version sends in
>> the the INVITE.
>>
>> Doesn't look like G722/16000 is there. How is ISAC in terms of CPU
>> consumption?
>>
>> a=rtpmap:111 opus/48000/2
>> a=fmtp:111 minptime=10; useinbandfec=1
>> a=rtpmap:103 ISAC/16000
>> a=rtpmap:104 ISAC/32000
>> a=rtpmap:9 G722/8000
>> a=rtpmap:0 PCMU/8000
>> a=rtpmap:8 PCMA/8000
>> a=rtpmap:106 CN/32000
>> a=rtpmap:105 CN/16000
>> a=rtpmap:13 CN/8000
>> a=rtpmap:126 telephone-event/8000
>>
>>
>> On Tue, Oct 6, 2015 at 1:49 PM, Stanislav Sinyagin <ssinyagin at gmail.com>
>> wrote:
>>
>>> If your endpoint supports it, G722 at 16000h gives a very decent voice
>>> quality. SILK also supports 16KHz.
>>>
>>> here's some information related to codec complexity:
>>>
>>> https://txlab.wordpress.com/2015/04/10/testing-freeswitch-performance-on-scaleway-c1/
>>>
>>>
>>>
>>> On Tue, Oct 6, 2015 at 10:40 PM, Oleg Stolyar <olegstolyar at gmail.com>
>>> wrote:
>>>
>>>> Thanks guys!
>>>>
>>>> Anthony, using your suggestion means that I won't have HD voice,
>>>> correct? HD voice is the primary reason I am considering OPUS instead of
>>>> G.722.
>>>>
>>>> Is there some codec/setting that will let me have HD voice for less CPU
>>>> and perhaps more bandwidth?
>>>>
>>>> It's not a must - I can scale up if needed, just wondering.
>>>>
>>>> On Tue, Oct 6, 2015 at 1:35 PM, Anthony Minessale <
>>>> anthony.minessale at gmail.com> wrote:
>>>>
>>>>> typo: opus at 8000h@20i
>>>>>
>>>>> On Tue, Oct 6, 2015 at 3:33 PM, Stanislav Sinyagin <
>>>>> ssinyagin at gmail.com> wrote:
>>>>>
>>>>>> OPUS is an expensive codec, so any conversion between OPUS and
>>>>>> uncompressed audio is CPU-consuming. I don;t think that resampling
>>>>>> would play much of a role in CPU consumption.
>>>>>>
>>>>>> On Tue, Oct 6, 2015 at 10:29 PM, Oleg Stolyar <olegstolyar at gmail.com>
>>>>>> wrote:
>>>>>> > Hi guys,
>>>>>> >
>>>>>> > I have a bunch of conferences on my FS. Users are either
>>>>>> G.711/8000 or
>>>>>> > G.722/8000. Conference sample rate is set to 8000.
>>>>>> >
>>>>>> > When I switched some users to OPUS instead, the CPU consumption
>>>>>> jumped 3-4
>>>>>> > times even though the conference rate is still 8000. Is this
>>>>>> expected?
>>>>>> >
>>>>>> > I was hoping to be able to save some CPU by setting the conference
>>>>>> sample
>>>>>> > rate to auto (so it only used high-quality sampling for users that
>>>>>> can
>>>>>> > support it) but it seems it won't work. Any ideas?
>>>>>> >
>>>>>> >
>>>>>> _________________________________________________________________________
>>>>>> > 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
>>>>>>
>>>>>>
>>>>>> _________________________________________________________________________
>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
>>>>>
>>>>> ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞
>>>>> http://twitter.com/FreeSWITCH
>>>>> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
>>>>> <http://freeswitch.org/g+>*
>>>>>
>>>>> ClueCon Weekly Development Call
>>>>> ☎ sip:888 at conference.freeswitch.org ☎ +19193869900
>>>>>
>>>>> https://www.youtube.com/watch?v=9XXgW34t40s
>>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>
> _________________________________________________________________________
> 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
>
--
Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞
http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*
ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151006/905a6b0d/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list