Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

ortclib-cpp

> 编程语言
Open source

ORTC (Object RTC) C++ Library wrapper for WebRTC

193 stars0 likes1 views
WebsiteGitHub

About

ORTC (Object RTC) C++ Library wrapper for WebRTC

ortclib

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

Introduction: http://www.slideshare.net/ErikLagerway/ortc-lib-introduction

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

This 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

  1. Build curl, from your terminal:

pushd ortc-lib/libs/curl-build-scripts/ ./build_curl popd

Note :

  • If building curl on your system fails for some architectures, you may need to explicitly specify the correct versions of OS X SDK and iOS SDK, to match the actual SDK versions available with the installed version of XCode. Please, check the details on command-line parameters of build_curl (you can get them with "build_curl --help").
  1. 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/

==== Hookflash provides professional services to aid in the integration or expansion of this Library in your project, contact Hookflash for more information: [email protected]

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言