Full Duplex Audio Engine for BlackBerry 10 VoIP Developers

Native SDK Development

TITLE_IMAGE

Figure shows a high level audio block diagram of BlackBerry 10 audio subsystem and BlackBerry 10 APIs

If you haven’t already heard, RIM’s subscriber base just grew to 80 million users — and of those users, 60 million use BlackBerry Messenger (BBM). If you are thinking about growing your user base, why not just port your existing VoIP solution to BlackBerry 10?

For VoIP developers, how can this be possible? Well, it’s simple: BlackBerry 10 is powered by a QNX operating system, and you can benefit from this POSIX-compliant platform by porting open source libraries – whether that is PJSIP/PJMEDIA or your existing propriety VoIP stack.

As a VoIP developer, you may wonder if BlackBerry 10 provides the core ingredients for you to integrate your existing stack (SIP, RTP, Jitter buffer, SDP etc.) to BlackBerry 10’s underlying platform. Good news is that we have already done the work and validated this for you.

BlackBerry 10 audio subsystems consist of:

  • Full duplex audio support
  • Interface to the microphone, receiver, loudspeaker and headset
  • Analog-to-Digital Conversion for the microphone
  • Digital-to-Analog Conversion for the speaker
  • Hardware Audio Routing to select audio user interface (headset, speakerphone…)
  • Io-audio enables voice processing (AEC, NR, Gain Control) and routes audio to voice path
  • Automatic Least cost audio routing over Wi-Fi or cellular radio
  • Volume control

What’s important here is that these features are available to you today through the Audio Library APIs as part of the BlackBerry 10 Native SDK. The Audio Library is based on the QNX Sound Architecture API functions and has a lot of similarities to the Advanced Linux Sound Architecture (ALSA) APIs. These are not directly compatible, but for those of you that come from the Linux world and choose to use ALSA this would definitely be a good opportunity for you to port your existing code to BlackBerry 10.

So why wait – get started today! The knowledge base article below directs you to sample code that demonstrates how to integrate your existing VoIP stack with the BlackBerry 10 audio subsystem.

http://supportforums.blackberry.com/t5/Native-Development/BlackBerry-10-Audio-Subsystem/ta-p/2018769

You can follow existing success stories at:
http://blog.truphone.com/2012/05/blackberry-10-the-developers-advantage-1.html
http://devblog.blackberry.com/2012/07/voip-development-on-blackberry-10/

PJSIP Blog:
http://blog.pjsip.org/2012/06/14/initial-support-for-blackberry-10-bb10-now-available/
https://trac.pjsip.org/repos/wiki/Getting-Started/BB10

About Gurtej S.

Gurtej is an Application Development Consultant with the Developer Relations at Research In Motion (RIM). His responsibilities include managing the technical relationships with System Integrators (SI) and Independent Software Vendors (ISVs) who specialize in integrating with the BlackBerry Enterprise Solution. Gurtej’s area of expertise includes BES and enterprise application development.

Join the conversation

Show comments Hide comments
+ -
blog comments powered by Disqus