Book Image

WebRTC Cookbook

By : Andrii Sergiienko
Book Image

WebRTC Cookbook

By: Andrii Sergiienko

Overview of this book

Table of Contents (15 chapters)
WebRTC Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Building an OpenWebRTC library


At the beginning of 2014, Ericsson presented its own open source implementation of WebRTC stack—OpenWebRTC. Ericsson states that this product supports iOS, Android, Windows, Linux, and Mac OS X platforms from the box. In this recipe, we will build this new WebRTC stack. This implementation came out just a couple of days ago and there isn't a ready-to-use example supplied with it, so we will build just the library.

Getting ready

At this time, OpenWebRTC build scripts support Linux and Mac OS X platforms only, and there is no ready solution to build OpenWebRTC under Windows. So you need Linux or OS X installed to work on this recipe.

In my case, I used a Mac Book Pro with Mac OS X 10.9 installed.

How to do it…

Perform the following steps to build OpenWebRTC:

  1. Get the source codes:

    mkdir ~/dev && cd ~/dev
    git clone [email protected]:EricssonResearch/openwebrtc.git --recursive
    cd openwebrtc
    
  2. Configure the environment (this step will take some time). If you're working...