百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
O

ortclib-cpp

> 编程语言
开源

ORTC (Object RTC) 用于 WebRTC 的 C++ 库封装

193 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

ORTC (Object RTC) 用于 WebRTC 的 C++ 库封装

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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