21
Native WebRTC Mobile App Development Tools and Tips

Native WebRTC Mobile App Development: Tools & Tips

Embed Size (px)

Citation preview

Page 1: Native WebRTC Mobile App Development: Tools & Tips

Native WebRTC Mobile App Development Tools and Tips

Page 2: Native WebRTC Mobile App Development: Tools & Tips

WebRTC on mobile apps is no longer

a

fantasy

Page 3: Native WebRTC Mobile App Development: Tools & Tips

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

Challenges

in using

WebRTC for Mobile!

Challenges

Page 5: Native WebRTC Mobile App Development: Tools & Tips

BROWSER BASED CHALLENGES

Challenges

Page 6: Native WebRTC Mobile App Development: Tools & Tips

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

DEVICE BASED CHALLENGES

Challenges

Page 8: Native WebRTC Mobile App Development: Tools & Tips

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

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

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

Tools to implement WebRTC on Mobile

Tools

Page 12: Native WebRTC Mobile App Development: Tools & Tips

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

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

★ 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

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

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

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

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

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

[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

Mail us at: [email protected]

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