Native WebRTC Mobile App Development: Tools & Tips
-
Upload
ajeet-singh -
Category
Mobile
-
view
115 -
download
0
Transcript of Native WebRTC Mobile App Development: Tools & Tips
![Page 1: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/1.jpg)
Native WebRTC Mobile App Development Tools and Tips
![Page 2: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/2.jpg)
WebRTC on mobile apps is no longer
a
fantasy
![Page 3: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/3.jpg)
WebRTC is awesome and it is considered as future of internet based communication.
It has gone stronger and have crossed boundaries.
![Page 4: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/4.jpg)
Challenges
in using
WebRTC for Mobile!
Challenges
![Page 5: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/5.jpg)
BROWSER BASED CHALLENGES
Challenges
![Page 6: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/6.jpg)
Even if we focus on developing a browser based WebRTC app, not all mobile browsers
supported WebRTC features like PeerConnection or MediaStream API.
Since not all devices support all web
browsers, and not all web browser
support WebRTC, clashes are
bound to occur.
Challenges
![Page 7: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/7.jpg)
DEVICE BASED CHALLENGES
Challenges
![Page 8: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/8.jpg)
Different devices, even in the same Operating system family, have
different implementation for the
microphone, speaker, and Bluetooth builds. These require some special handling from developer point
of view.
AUDIO HARDWARE
Challenges
![Page 9: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/9.jpg)
WebRTC is a processor intensive API. Also most WebRTC internal APIs are supposed to be supported by at least ARMv7 CPU architecture with its NEON extension.
Though Audio can be processed in CPU with NEON, video cannot. Since the old Android devices, iPhone 3G and other previous devices do not have ARMv7 CPU architecture, WebRTC’s reach becomes limited.
PROCESSOR LIMITATIONS
Challenges
![Page 10: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/10.jpg)
Once again since iPhone is a CPU-intensive application, it drains a lot
of battery.
Advancement in technology will also eventually remove these limitations, for example Audio Acceleration feature remarkably cuts on a lot of CPU processing and thus saves a lot of battery.
BATTERY PROBLEMSChallenges
![Page 11: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/11.jpg)
Tools to implement WebRTC on Mobile
Tools
![Page 12: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/12.jpg)
The biggest
… is the fact that Apple does not support WebRTC on its own. You would need to create your own custom SDK for iOS support or you can use third party SDKs and significantly reduce your app development time.
Tools
![Page 13: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/13.jpg)
Tokbox and its API platform OpenTok are currently among the most used WebRTC SDKs
The platform is robust, full of features, and most importantly comes with plug-ins to make it compatible with internet explorer(the bane of web developers).
Tokbox is used by major brands like Bridgestone Golf, Major League Baseball’s website MLB.com, and Universal Music Group.
Tools
![Page 14: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/14.jpg)
★ A very powerful voice and video communication API.
★ It provides support for native iOS WebRTC application development.
★ In May 2014 AddLive was acquired by Snapchat.
Tools
![Page 15: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/15.jpg)
HookFlash offers a service level agreement (SLA) for premium accounts.
Only WebRTC SDK that first provided support for iOS app development, which was followed by Android and JavaScript support.
It offers commercial pricing at one tenth of one cent per API call for high quality messaging, voice and video chat for developers and enterprise customers.
Tools
![Page 16: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/16.jpg)
Android SDK is currently in
The company already has its mobile app available for both iOS and Android, so an iOS SDK should definitely be more than a vaporware promise.
Tools
![Page 17: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/17.jpg)
Open Clove offers two options for WebRTC support, with a large number of demos and sample code with the pay option.
FreeMAD offers free source code for two-way communication. Peer-to-peer communications, with video the default voice and messaging options are available by adjusting flags in the template.
Tools
![Page 18: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/18.jpg)
The company provides WebRTC SDKs for both
Lists Airbnb, the Democratic National Committee, eBay, Intuit, and Hulu among itsusers
Make every device a phone, is Twilio’s
Tools
![Page 19: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/19.jpg)
WebRTC is one of the most worked upon technology.
It is still a growing field and we are going to see a lot of improvement in it in coming days. However the technology is viable even in the present scenario. So if you are thinking about using WebRTC for your communication solution, you are going in the right direction! :)
![Page 20: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/20.jpg)
[email protected] Toll Free : +1-877-284-1028
AuthorDirector
Rachit is leading the mobility business development function, mobility strategy and consulting practice at Algoworks. He is an expert of all mobile technologies and has experience in managing teams involved in the development of custom iPhone/iPad/Android apps.
Rachit Agarwal
Write to me at [email protected]
![Page 21: Native WebRTC Mobile App Development: Tools & Tips](https://reader035.fdocuments.in/reader035/viewer/2022081521/58ecff461a28ab785c8b45bd/html5/thumbnails/21.jpg)
Mail us at: [email protected]
Official Blog Link:http://www.algoworks.com/blog/webrtc-mobile-app-development/