Native WebRTC Mobile App Development: Tools & Tips

Post on 11-Apr-2017

115 views 0 download

Transcript of Native WebRTC Mobile App Development: Tools & Tips

Native WebRTC Mobile App Development Tools and Tips

WebRTC on mobile apps is no longer

a

fantasy

WebRTC is awesome and it is considered as future of internet based communication.

It has gone stronger and have crossed boundaries.

Challenges

in using

WebRTC for Mobile!

Challenges

BROWSER BASED CHALLENGES

Challenges

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

DEVICE BASED CHALLENGES

Challenges

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

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

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

Tools to implement WebRTC on Mobile

Tools

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

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

★ 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

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

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

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

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

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! :)

sales@algoworks.com 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 rachit.agarwal@algoworks.com

Mail us at: sales@algoworks.com

Official Blog Link:http://www.algoworks.com/blog/webrtc-mobile-app-development/