Book Image

WebRTC Blueprints

By : Andrii Sergiienko
Book Image

WebRTC Blueprints

By: Andrii Sergiienko

Overview of this book

Table of Contents (13 chapters)
WebRTC Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Building a WebRTC demo for iOS


The following material is based on original article, which is available at http://ninjanetic.com.

As we learned earlier, there is no official support of WebRTC in iOS. The native web browser, Safari, doesn't support it at all. Third-party browsers such as Chrome and Firefox have limited support as of now.

Nevertheless, WebRTC for iOS is under active development. If you want to integrate this technology into an iOS application, you need to directly use the WebRTC libraries that implement the features. Fortunately, an Objective-C implementation exists as a part of Google WebRTC source code and is free to use. A demo application is also supplied with the Google source code pack.

In this chapter, we will try to use the WebRTC code and libraries from Google to build and test a demo application supplied with the code pack.

As I said, Apple doesn't invest in public WebRTC code, and therefore, the code that we will try to use is very raw. Therefore, integrating existing...