Coder Social home page Coder Social logo

ortc-lib's Introduction

ortclib

ORTC (Object RTC) iOS / Android C++ Library for WebRTC

This SDK library implementation of the ORTC specification that will enable mobile end points to talk to a WebRTC enabled browser.

The source code is available under a FreeBSD style license: https://github.com/openpeer/ortclib/blob/master/license.txt

The code is under heavy development and written mostly in C++. Mobile wrappers for Objective-C are currently underway, Java Android will follow.

From your terminal, please clone the "opios" git repository: git clone --recursive https://github.com/openpeer/ortc-lib.git

This repository will yield the ORTC Lib and dependency libraries.

Directory structure:

  • ortc-lib/ contains the project files for building the ORTC Lib framework
  • ortc-lib/ortc/ contains the ORTC Lib header files
  • ortc-lib/ortc/cpp/ contains the C++ files
  • ortc-lib/ortc/internal/ contains the internal interface implementation

How to Build:

  1. Build boost, from your terminal:


pushd ortc-lib/libs/boost/
./boost.sh
popd


2) Build curl, from your terminal:

pushd ortc-lib/libs/curl/
./build_ios.sh
popd


3) From X-code, load:
  • ortc-lib/projects/xcode/ortclib.xcworkspace (workspace)
  • orct-lib/projects/xcode/ortclib/ortclib.xcodeproj (project)
  • orct-lib/projects/xcode/ortclib_ios/ortclib_ios.xcodeproj (project)

ORTC LIB ANDROID BUILD :

  1. ortc-lib and its dependendent submodules can be built using the script "buildall_android.sh". commands from parent directort "ortc-lib" is:

cd ./projects/android
./buildall_android.sh

Notes :

  • NDK absolute path for "android-ndk-r8e" is required for build.
  • After successful build, submodule built libs can be found at : ./libs/build/android directory
  • ortc-lib library and ortclibtest shared lib can be found at : ./ortc/build/android and ./ortc/build/android-test directories resp.
  1. For building individual modules use module script. For example boost : ./libs/boost/projects/build_boost_android.sh

cd ./libs/boost/projects
./build_boost_android.sh

Note :

  • NDK absolute path for "android-ndk-r8e" is required for build.

known Issues in android build :

  • Linking webrtc libraries while building ortclib test shared libary.

For more information on ORTC, please visit: http://ortc.org/

ortc-lib's People

Contributors

lazicb avatar sergioopenpeer avatar neppoliyant avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.