[Freeswitch-users] OPUS and CPU load

Quan Huo Sheng quanhs at stee.stengg.com
Fri Apr 8 12:04:50 MSD 2016

I just want to study a successful case for the Webrtc demo (using media mode) in the chapter 6 of book “FreeSwitch 1.6 Cookbook” which uses sip.js (sip-0.7.0.js) in Chrome.

So far I fail until now. Please refer to the  thread “Webrtc [err] mod_sofia.c 2299 codec negotiation error. Sdp”


From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris
Sent: Friday, April 08, 2016 3:13 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] OPUS and CPU load

Can someone explain why sip would be preferred in this scenario?  Is there any real reason?

On Friday, April 8, 2016, Quan Huo Sheng <quanhs at stee.stengg.com<mailto:quanhs at stee.stengg.com>> wrote:

I want to set up Webrtc Demo using freeswitch with media switching or media transcode. Setup is chrome (sip.js) ->fs->chrome (sip.js), but end up with fail.
Can you share your successful case using Webrtc + opus. (SIP preferred to Verto as signal).


From: freeswitch-users-bounces at lists.freeswitch.org<javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces at lists.freeswitch.org');> [mailto:freeswitch-users-bounces at lists.freeswitch.org<javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces at lists.freeswitch.org');>] On Behalf Of Oleg Stolyar
Sent: Friday, April 08, 2016 12:50 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] OPUS and CPU load

In my tests OPUS transcoding seems to consume 5-6 times more CPU then G.711 or G.722.

On Thu, Apr 7, 2016 at 9:39 AM, Michael Jerris <mike at jerris.com<javascript:_e(%7B%7D,'cvml','mike at jerris.com');>> wrote:
I've seen estimates that opus is up to twice as heavy as g729.  webrtc encryption adds some (although not huge) load on top of that.  20 opus sessions per cpu seems low, are these particularly slow processors or virtual processors?

> On Apr 7, 2016, at 12:25 PM, Agustí Ubalde <aubalde at presenceco.com<javascript:_e(%7B%7D,'cvml','aubalde at presenceco.com');>> wrote:
> Hi all,,
> I have found that the CPU usage with users WebRTC + OPUS is high. With 2vCPUs, 10 users use 25% of CPU. Anyone know if this load is normal?

Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<javascript:_e(%7B%7D,'cvml','consulting at freeswitch.org');>

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users at lists.freeswitch.org');>

[This e-mail is confidential and may be privileged. If you are not the
intended recipient, please kindly notify us immediately and delete the message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160408/45eaec87/attachment.html 

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