<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>BlackBerry Developer Blog &#187; VoIP</title>
	<atom:link href="http://devblog.blackberry.com/tag/voip/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Tue, 18 Jun 2013 16:50:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='devblog.blackberry.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9ef0a66c09615fa946c4179662398878?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>BlackBerry Developer Blog &#187; VoIP</title>
		<link>http://devblog.blackberry.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://devblog.blackberry.com/osd.xml" title="BlackBerry Developer Blog" />
	<atom:link rel='hub' href='http://devblog.blackberry.com/?pushpress=hub'/>
		<item>
		<title>WebRTC, VoIP, and BlackBerry 10 Development [VIDEO]</title>
		<link>http://devblog.blackberry.com/2013/06/webrtc-voip-blackberry10/</link>
		<comments>http://devblog.blackberry.com/2013/06/webrtc-voip-blackberry10/#comments</comments>
		<pubDate>Mon, 17 Jun 2013 12:42:00 +0000</pubDate>
		<dc:creator>Gurtej S.</dc:creator>
				<category><![CDATA[Interviews/Thought Leadership]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Hookflash]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[WebRTC]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=15334</guid>
		<description><![CDATA[Over the last few months, I&#8217;ve been talking about the possibilities for WebRTC and VoIP on the BlackBerry 10 platform. Last month, our own Alec Saunders joined myself, (Gurtej Sandhu), and Chief Architect of Hookflash, Robin Raymond to discuss the WebRTC platform and the opportunity for developers in real-time communications to bring their application to BlackBerry 10 platform.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=15334&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Over the last few months, I&#8217;ve been talking about the <a href="http://devblog.blackberry.com/2013/05/hookflash/" target="_blank">possibilities</a> for WebRTC and VoIP on the BlackBerry 10 platform. Last month, our own <a title="Alec Saunders profile" href="http://www.speakerfile.com/speakers/alec.saunders" target="_blank">Alec Saunders</a> joined myself, (<a title="Gurtej Sandhu" href="https://developer.blackberry.com/devzone/jamcommunity/profiles/devrel.html" target="_blank">Gurtej Sandhu</a>), and Chief Architect of <a title="Hookflash" href="http://hookflash.com/" target="_blank">Hookflash</a>, <a title="Ronin Raymond" href="http://ca.linkedin.com/in/robraymond" target="_blank">Robin Raymond </a>to discuss the <a title="WebRTC with Crocodile RTC" href="http://www.voipusersconference.org/2013/crocodile-rtc/" target="_blank">WebRTC</a> platform and the opportunity for developers in real-time communications to bring their application to BlackBerry 10 platform.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/7jD-0jeQlRs?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/15334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/15334/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=15334&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/06/webrtc-voip-blackberry10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/41e8b1a2189dfce0a51887beab21795d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gurtejsan1</media:title>
		</media:content>
	</item>
		<item>
		<title>Real-time Communications (VoIP) on BlackBerry 10: WebRTC and Open Peer</title>
		<link>http://devblog.blackberry.com/2013/05/hookflash/</link>
		<comments>http://devblog.blackberry.com/2013/05/hookflash/#comments</comments>
		<pubDate>Wed, 22 May 2013 13:09:22 +0000</pubDate>
		<dc:creator>Gurtej S.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Cascades]]></category>
		<category><![CDATA[Case Studies & Success Stories]]></category>
		<category><![CDATA[Interviews/Thought Leadership]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[ndk]]></category>
		<category><![CDATA[Open Peer]]></category>
		<category><![CDATA[Real-time Communications]]></category>
		<category><![CDATA[RTC]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[voice]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[WebRTC]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=15059</guid>
		<description><![CDATA[I would like take this opportunity and introduce you to our good friends at Hookflash who have successfully ported all major components of both WebRTC and Open Peer libraries to BlackBerry 10. To provide a brief overview, WebRTC is an open source multimedia &#38; network stack that supports real-time audio &#38; video. The value Open [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=15059&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div id="attachment_15061" class="wp-caption aligncenter" style="width: 532px"><a href="http://rimdevblog.files.wordpress.com/2013/05/rtc1.png"><img class="size-full wp-image-15061" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/05/rtc1.png?w=522&#038;h=278" width="522" height="278" /></a><p class="wp-caption-text"><a href="http://www.webrtc.org/reference/architecture" rel="nofollow">http://www.webrtc.org/reference/architecture</a></p></div>
<p>I would like take this opportunity and introduce you to our good friends at <a href="http://hookflash.com/">Hookflash</a> who have successfully ported all major components of both <a href="http://www.webrtc.org/">WebRTC</a> and <a href="http://openpeer.org/">Open Peer</a> libraries to BlackBerry 10. To provide a brief overview, WebRTC is an open source multimedia &amp; network stack that supports real-time audio &amp; video. The value Open Peer delivers to WebRTC applications is peer-to-peer (P2P) signalling on the wire, Instant Messaging, Federated Identities and multiple mobile platform support.</p>
<p><span id="more-15059"></span></p>
<p>So why is this so important?  Well, it enables developers to build rich, compelling, real-time communication applications integrating Social Identities with Voice, Video and Messaging using <a href="https://developer.blackberry.com/native/">BlackBerry 10 Native SDK</a>. Secondly, WebRTC is free to use if you decide to commercialize your application. What Hookflash has achieved on BlackBerry 10 really exemplifies the power of our BlackBerry 10 Native Platform to deliver the best communications experience.</p>
<p>I would like to further highlight Hookflash team’s experience in porting both WebRTC and Open Peer stack’s over to BlackBerry 10 platform. Check out my interview with Erik Lagerway (Co-founder) &amp; Robin Raymond (Chief Architect) from Hookflash below:</p>
<blockquote>
<h3>What is Hookflash?</h3>
<p><a href="http://hookflash.com/">Hookflash</a> is a globally distributed software development team building “<a href="http://openpeer.org/">Open Peer</a>”, new “open” video, voice and messaging specification and software for mobile platforms and web browsers.  Open Peer enables an important new evolution of communications; <i>Open</i>, for developers and customers to create with. “<i>Over-the-top</i>” on the Internet, where users control their economics and quality of service. “<i>Federated Identity” </i>so user’s connections aren’t limited by service provider’s walled gardens and operating systems. “<i>Integrated”</i>, as communications become a native function in software and applications. Hookflash founders, lead developers and Advisors accomplishments include; creators of the world’s most popular softphones, built audio technology acquired and used by Skype, built GIPS technology acquired and open sourced by Google to create WebRTC, and engaged in <a href="http://webrtc.is/">WebRTC standards development</a> in the IETF and W3C.</p>
<h3>What is Open Peer SDK and how would this empower BlackBerry 10 developers?</h3>
<p>Open Peer enables direct integration of social identities, video, voice and messaging communications for developers building native BlackBerry 10 (NDK) applications. Voice, video and messaging flow Over The Top (OTT) via the Internet.</p>
<p>These services are delivered peer-to-peer (P2P) providing extremely strong privacy, security and encryption. Open Peer enables federated identities and allows developers to leverage and integrate whatever identity model they currently have, so their users <i>remain their users!</i></p>
<h3>What features does Open Peer SDK support?</h3>
<p>The Open Peer SDKs are built according to the <a href="http://docs.openpeer.org/OpenPeerProtocolSpecification/">Open Peer specification</a>. Here are a few of the features we have built into the current SDKs&#8230;</p>
<ul>
<li>HD real-time video</li>
<li>Wideband voice and messaging</li>
<li>Peer-to peer signalling &amp; media transport (greater efficiency, reliability &amp; privacy)</li>
<li>Federated identity for cross-platform communications (not to be confused with Single Sign-On)</li>
<li>Encrypted &amp; secure communications</li>
</ul>
<h3>Would HTML5/WebWorks developers be able to leverage this in BlackBerry 10?</h3>
<p>Yes. The current SDK is for BB10 NDK developers at this time. However, we have an active “opjs” project under development that will allow interaction between a native BB10 application and an HTML5/WebRTC enabled browser thus allowing web applications to communicate directly with native BB10 applications.</p>
<h3>Share your experience in cross compiling your code for BlackBerry 10</h3>
<p>Like all platforms, there’s is a learning curve relative to what you are used to until you find yourself comfortable in a new environment, and BB10/QNX is no different. The richness to the platform experience is impressive on the BB10 and made iOS feel somewhat dated by comparison.</p>
<p>Since QNX is a POSIX compliant system, it was relatively easy to get a majority of open source code ported to BlackBerry 10. The QNX GCC-compliant mode has helped us as well.</p>
<p>There were a few wrinkles along the way. The documentation and NDK felt young compared to other more established platforms but that kind of level of documentation grows out of community support and interaction.</p>
<p>One major difference between this project and other platforms has been the phenomenal support that Blackberry has provided us as developers, especially as Hookflash is pushing the platform and technology harder than most with real time communications in audio and video. This was refreshing, We&#8217;ve never seen such incredible support for their developer community.</p>
<h3>Have you ported over the entire webRTC engine to BlackBerry?</h3>
<p>Yes, we have ported all major components of webRTC library to BlackBerry. We will be extending what is offered by WebRTC’s library as well.</p>
<h3>How long did it take to port the WebRTC and Open Peer code to Blackberry 10?</h3>
<p>When you consider the size of the code-base that had to be moved, and the fact we had not worked on QNX /  Blackberry 10 before, it went relatively quickly. The entire move took us approximately 90 days.</p>
<h3>Are you going to commit this work back upstream to WebRTC project?</h3>
<p>Yes, our code will migrate back to the WebRTC project. Hookflash is extremely busy on a number of fronts making Open Peer widely available with limited resources.  We appreciate help from other developers. Pushing the WebRTC codebase back upstream will be of tremendous value to the Blackberry developer community. Requests to join <a href="https://github.com/openpeer/opbb10">our Open Peer BB10 github project</a> are always appreciated.</p>
<h3>What APIs did you use to build your application on BlackBerry 10?</h3>
<p><a href="https://developer.blackberry.com/native/reference/bb10/audio_libref/topic/summary.html">NDK’s audio</a>, camera and rendering subsystems and Boost are the bulk of the components. We use <a href="https://developer.blackberry.com/cascades/">Cascades/QT</a> for the sample application.</p>
<h3>Do you have VP8 Video working on BlackBerry 10?</h3>
<p>Yes. We had some difficulty getting the assembly to compile properly but with Blackberry’s support we were successful in porting an optimized version of VP8 to the BB10 platform. Keep in mind we have tested this mostly on Z devices at this time with limited testing done on the Q devices.</p>
<h3>How was your experience relative to working with other platforms and BlackBerry 10?</h3>
<p>As mentioned earlier, Blackberry feels a bit new in the documentation area and there are still a few bugs to take care of in the platform. Having said that, the platform is forward thinking, flexible and impressively powerful. Blackberry’s support has been beyond anything we could have hoped and even expected.</p>
<p>As more developers are drawn to the platform, documentation and community involvement will improve the access to information on the platform and increase the samples available to draw upon.</p>
<p>For such a new entrant into the market, our team is thoroughly impressed.</p>
<h3>How was your experience working with the RIM team?</h3>
<p>Bar-none, the best support we’ve ever had from a major platform vendor directly into the project. Kudos to RIM / Blackberry for providing such a spectacular community outreach.</p>
<h3>When is Open Peer SDK going to be available for BlackBerry 10?</h3>
<p>Our SDK is ready now in beta, developers can get it on <a href="https://github.com/openpeer/opbb10">Github</a> today. We continue to polish this and our other toolkits, we expect commercialization to begin later this year. Follow us on <a href="https://github.com/openpeer/">github</a> and <a href="http://twitter.com/hookflash">twitter</a> to get the latest news on Hookflash and Open Peer development.</p></blockquote>
<p>I hope you found this interview informative and useful.  If you have any questions or feedback please leave a comment below or reach out to me directly on Twitter <a href="https://twitter.com/_GurtejSandhu">_GurtejSandhu</a>. Kudos to Hookflash team for making this all happen.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/15059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/15059/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=15059&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/05/hookflash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/41e8b1a2189dfce0a51887beab21795d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gurtejsan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/rtc1.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>Full Duplex Audio Engine for BlackBerry 10 VoIP Developers</title>
		<link>http://devblog.blackberry.com/2013/01/blackberry-10-voip/</link>
		<comments>http://devblog.blackberry.com/2013/01/blackberry-10-voip/#comments</comments>
		<pubDate>Wed, 02 Jan 2013 19:15:09 +0000</pubDate>
		<dc:creator>Gurtej S.</dc:creator>
				<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[audio subsystem]]></category>
		<category><![CDATA[audio support]]></category>
		<category><![CDATA[bbm]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[PJSIP]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12809</guid>
		<description><![CDATA[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 &#8212; and of those users, 60 million use BlackBerry Messenger (BBM). If you are thinking about growing your user base, why not just port [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12809&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-12810" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/12/voip.jpg?w=600&#038;h=276" width="600" height="276" /></p>
<p style="text-align:center;"><i>Figure shows a high level audio block diagram of BlackBerry 10 audio subsystem and BlackBerry 10 APIs</i></p>
<p>If you haven’t already heard, RIM’s subscriber base just grew to 80 million users &#8212; 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?</p>
<p>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.</p>
<p>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.</p>
<p>BlackBerry 10 audio subsystems consist of:</p>
<ul>
<li>Full duplex audio support</li>
<li>Interface to the microphone, receiver, loudspeaker and headset</li>
<li>Analog-to-Digital Conversion for the microphone</li>
<li>Digital-to-Analog Conversion for the speaker</li>
<li>Hardware Audio Routing to select audio user interface (headset, speakerphone&#8230;)</li>
<li>Io-audio enables voice processing (AEC, NR, Gain Control) and routes audio to voice path</li>
<li>Automatic Least cost audio routing over Wi-Fi or cellular radio</li>
<li>Volume control</li>
</ul>
<p>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.</p>
<p>So why wait &#8211; 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.</p>
<p><a href="http://supportforums.blackberry.com/t5/Native-Development/BlackBerry-10-Audio-Subsystem/ta-p/2018769" target="_new">http://supportforums.blackberry.com/t5/Native-Development/BlackBerry-10-Audio-Subsystem/ta-p/2018769</a></p>
<p>You can follow existing success stories at:<br />
<a href="http://blog.truphone.com/2012/05/blackberry-10-the-developers-advantage-1.html" target="_new">http://blog.truphone.com/2012/05/blackberry-10-the-developers-advantage-1.html</a><br />
<a href="http://devblog.blackberry.com/2012/07/voip-development-on-blackberry-10/" target="_new">http://devblog.blackberry.com/2012/07/voip-development-on-blackberry-10/</a></p>
<p>PJSIP Blog:<br />
<a href="http://blog.pjsip.org/2012/06/14/initial-support-for-blackberry-10-bb10-now-available/" target="_new">http://blog.pjsip.org/2012/06/14/initial-support-for-blackberry-10-bb10-now-available/</a><br />
<a href="https://trac.pjsip.org/repos/wiki/Getting-Started/BB10" target="_new">https://trac.pjsip.org/repos/wiki/Getting-Started/BB10</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12809/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12809/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12809&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/01/blackberry-10-voip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/41e8b1a2189dfce0a51887beab21795d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gurtejsan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/12/voip.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>VoIP Development on BlackBerry 10</title>
		<link>http://devblog.blackberry.com/2012/07/voip-development-on-blackberry-10/</link>
		<comments>http://devblog.blackberry.com/2012/07/voip-development-on-blackberry-10/#comments</comments>
		<pubDate>Tue, 10 Jul 2012 14:26:30 +0000</pubDate>
		<dc:creator>Gurtej S.</dc:creator>
				<category><![CDATA[Case Studies & Success Stories]]></category>
		<category><![CDATA[Interviews/Thought Leadership]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[PJSIP]]></category>
		<category><![CDATA[Tru App]]></category>
		<category><![CDATA[Truphone]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=10137</guid>
		<description><![CDATA[An interview with Truphone to share their experience in porting a PJSIP open source multimedia stack over to BlackBerry 10.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=10137&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-10138" title="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/07/voip-1.jpg?w=373&#038;h=263" alt="TITLE_IMAGE" width="373" height="263" /></p>
<p>Let me be the first to share with you that real-time communications (VoIP) development is not only possible, but the BlackBerry® 10 platform was specifically built from ground up to deliver the best communications experience. There may be plenty of open source stacks out there for VoIP development, but an important one that comes to mind is <a href="http://www.pjsip.org/" target="_new">PJSIP</a>. To provide a brief overview, PJSIP is a free and open source multimedia stack written in C, and it supports audio, video, presence, and instant messaging capabilities. This allows you to develop compelling real-time communication applications, such as VoIP phone.</p>
<p>This may seem like a lot of porting effort but based on my experience in working with our good friends here at Truphone, this was fairly easy to bring over to BlackBerry 10. I want to take this opportunity and share their experience in porting a PJSIP open source multimedia stack over to BlackBerry 10. Check out my interview with Adam from Truphone below:</p>
<p><span id="more-10137"></span></p>
<p><strong>What is Tru App?</strong></p>
<p>The Tru app is our mobile application, available on BlackBerry 10, iOS, and Android, that allows our users to call and message people for free, or very cheaply. It works with our SIM offerings to provide a unique experience across GSM and VoIP.</p>
<p><strong>Share your experience in cross compiling your code for BlackBerry 10.</strong></p>
<p>Piece of cake! We have about 250k LoC in our voice engine, with many layers: signaling, NAT traversal, socket management, codec management, and much more. The only layer we needed to work on was that part that controlled the audio units (the actual hardware). Even that didn&#8217;t require that much work &#8212; 60 man days and our entire audio engine was ported and hooked up in our automated build environment with unit and integration tests complete!</p>
<p><strong>What APIs did you use to build Tru App on BlackBerry 10?</strong></p>
<p>For the audio unit work, we needed to work with the AlSA-like API that the BlackBerry 10 OS (which is QNX based) provides. This is subtly different to ALSA in that you request a preferred audio unit to be opened on your behalf, based on what state the device is in; e.g. it might be in hands-free mode, or might have a headset plugged in. We had to learn those APIs, which was fairly straightforward, as all the documentation was available online on the QNX website. There were one or two changes that are obviously specific to BlackBerry 10&#8242;s QNX implementation, but RIM® helped us in overcoming those challenges, and I&#8217;m sure that information will be fed into the API docs for the upcoming release of BlackBerry 10.</p>
<p>Other than that, we had to work with the Cascades™ framework and its Qt APIs (as well as QML to render our views). That was only complex in so far that much of it was not documented, but that is common with pre-alpha products! Since the alpha devices were released to the public at BlackBerry World™, all the documentation has been provided to make this a fairly straightforward task.</p>
<p><strong>How was your experience relative to working with other platforms and BlackBerry 10?</strong></p>
<p>It&#8217;s unix-like, which makes it open source friendly, which means you can stand on the shoulders of giants. It&#8217;s a great platform for prototyping and innovating, or indeed any project where you need to get productive quickly.</p>
<p>There are seemingly no private APIs on the device either, which means you don&#8217;t have to spend time working around limitations put on the device by the manufacturer.</p>
<p><strong>How was your experience working with the RIM team?</strong></p>
<p>Without wanting to sound like I&#8217;m biased, it was honestly really impressive. I&#8217;d heard RIM had put a lot of investment into developer relations, and that was obvious. The guys were massively responsive and attentive. It wasn&#8217;t just the dev relations guys either &#8212; the devs themselves took time to speak to us and get our feedback.</p>
<p><strong>Is Tru App going to be available on BlackBerry 10?</strong></p>
<p>Yep, we&#8217;ll be ready come the launch date!</p>
<p><strong>What does this port mean for developers?</strong></p>
<p>It’s a platform that you can add to your existing mobile strategy with low cost and minimum effort. It&#8217;s a platform you can innovate on, and there is an existing customer base you can rely on for revenue. Tecnically, it’s a very strong platform.</p>
<p><strong>Thanks for sharing all of these details with us, Adam!</strong></p>
<p>You can follow this success story at:<br />
<a href="http://blog.truphone.com/2012/05/blackberry-10-the-developers-advantage-1.html" target="_new">http://blog.truphone.com/2012/05/blackberry-10-the-developers-advantage-1.html</a></p>
<p>Truphone has contributed their work back to the PJSIP project and this is now available for download. Kudos to both to both Adam Linford and Bob Cripps for making this all happen.</p>
<p><a href="http://blog.pjsip.org/2012/06/14/initial-support-for-blackberry-10-bb10-now-available/" target="_new">PJSIP Blog</a><br />
<a href="https://trac.pjsip.org/repos/wiki/Getting-Started/BB10" target="_new">Getting Started: Building for BlackBerry 10</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/10137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/10137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=10137&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/07/voip-development-on-blackberry-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/41e8b1a2189dfce0a51887beab21795d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gurtejsan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/07/voip-1.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
	</channel>
</rss>
