preferred codec for Mobile device from WebRTC Audio

438 views
Skip to first unread message

Rahul Pathak

unread,
Jun 30, 2014, 2:13:17 PM6/30/14
to discuss...@googlegroups.com
Hello,
        I am developing Mobile app based on WebRTC Audio processing module.
        I got bad voice in OPUS/48000 and take 100% CPU of device and VBR is not supported on OPUS. Am I correct? 
        can any one suggest me which codec is best for Mobile device? and I want HD voice in good Wifi network
        can ISAC support VBR (variable bit rate) in WebRTC?
Regards,
Rahul Pathak

Benjamin Schwartz

unread,
Jun 30, 2014, 2:34:45 PM6/30/14
to discuss...@googlegroups.com
Both ISAC and Opus are typically used in VBR mode in WebRTC.  However, the reference implementation does not currently apply bandwidth-adaptation or CPU-adaptation to the audio encoder.

If Opus is using 100% CPU, it's likely that you are not compiling with all relevant platform-specific optimizations enabled.  For example, you should make sure that your configuration includes the ARM assembly if your hardware has an ARM CPU.


--

---
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.

Rahul Pathak

unread,
Jun 30, 2014, 2:53:37 PM6/30/14
to discuss...@googlegroups.com
Hello,
        I builded  with this  http://ninjanetic.com/how-to-get-started-with-webrtc-and-ios-without-wasting-10-hours-of-your-life/  link. and its working fine with ISAC and uLaw codec. but when i use opus codec Voice is not good. and takes more CPU.
        I am using Audio processing module only. so can you please refer me some codec that can I use for HD voice with VBR? 
        can you please brief me which codec is better OPUS or ISAC?

Benjamin Schwartz

unread,
Jun 30, 2014, 4:18:43 PM6/30/14
to discuss...@googlegroups.com
On Mon, Jun 30, 2014 at 11:53 AM, Rahul Pathak <rrpat...@gmail.com> wrote:
I am using Audio processing module only. so can you please refer me some codec that can I use for HD voice with VBR?

For highest quality VBR voice encoding, you should use Opus.
 
        can you please brief me which codec is better OPUS or ISAC?

Opus is newer and can provide better quality than ISAC at the same bitrate, but does require more CPU power to encode and decode.  However, it should not use too much CPU power for modern mobile devices, when compiled correctly, so there may be a problem with your build configuration.

Rahul Pathak

unread,
Jun 30, 2014, 4:25:48 PM6/30/14
to discuss...@googlegroups.com

Hello,
        Thank you so much.. 
         can you please guide me to build WebRTC Audio libs for Android and IOS?
Reply all
Reply to author
Forward
0 new messages