owt-client-native

Open WebRTC Toolkit client SDK for native Windows/Linux/iOS applications.

  • 所有者: open-webrtc-toolkit/owt-client-native
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Open WebRTC Toolkit Native SDK

Introduction

The Open WebRTC Toolkit client SDK for native Windows/Linux/Android/iOS applications is built upon the W3C WebRTC standard to accelerate the development of real time communication applications on these platforms. It supports peer to peer and conference mode communication working with Open Media Stream MCU server.

  • Supported Windows platform: Windows 7 and above.
  • Supported Linux platform: Ubuntu 16.04.
  • Supported iOS platform: iOS 9.0 and above.

Documentation

To generate the API document, go to the scripts directory, and run python build-win.py --docs for Windows or ./gendoc.sh in talk/owt/docs/ios for iOS.

You need Doxygen in your path.

How to build

Prepare the development environment

Before you start, make sure you have the following prerequisites installed/built:

The following dependencies are for Windows only:

Get the code

  • Make sure you clone the source code to a directory named src.
  • Create a file named .gclient in the directory above the src dir, with these contents:
solutions = [ 
  {  
     "managed": False,  
     "name": "src",  
     "url": "https://github.com/open-webrtc-toolkit/owt-client-native.git",  
     "custom_deps": {},  
     "deps_file": "DEPS",  
     "safesync_url": "",  
  },  
]  
target_os = []  

Build

Windows

  • Set the environment variable BOOST_ROOT to your boost source tree.
  • Run gclient sync. It may take a long time to download a large amount of data.
  • Go to the src/scripts directory, and run: python build-win.py --gn_gen --sdk --tests --ssl_root /path/to/ssl --msdk_root /path/to/msdk --output_path /path/to/out. The built binary will be under output_path, the document for sdk will also be copied to this directory if docs have been generated. If output_path is not set, the built binary will be under src/out directory. Note the first time you run this it will take a long time to pull chromium/webrtc dependencies and require network access to Google's code/storage infrastructure. Set ssl_root to the directory of your OpenSSL 1.1.0 binary. Set msdk_root to the directory of your Intel Media SDK for Windows, version 2018 R1 or higher. Use --gn_gen to generate args.gn during the first build or when you change the msdk_root or ssl_root paths.

Linux

  • Run gclient sync. It may take a long time to download a large amount of data.
  • Go to the src/scripts directory, and run: python build_linux.py --gn_gen --sdk --tests --ssl_root /path/to/ssl --output_path /path/to/out. The built binary will be under output_path, the document for sdk will also be copied to this directory if docs have been generated. If output_path is not set, the built binary will be under the src/out directory. Note the first time you run this it will take a long time to pull chromium/webrtc dependencies and require network access to Google's code/storage infrastructure. Set ssl_root to the directory of your OpenSSL 1.1.0 binary. Use --gn_gen to generate args.gn during the first build or when you change the ssl_root path. If --msdk_root is specified to correct Intel MediaSDK path, for example, '/opt/intel/mediasdk', hardware codecs will be built besides the software implementations. If --fake_audio is specified, the internal audio devices implementation based on alsa or pulseaudio will not be built.

iOS

  • Run gclient sync. It may take a long time to download a large amount of data.
  • Build OWT iOS SDK with scripts\build.py.

Android

  • Replace the last line of .gclient with target_os=["android"]
  • Run gclient sync. It may take a long time to download large amount of data.
  • Build libwebrtc for OWT Android SDK with scripts/build_android.py.

How to contribute

We warmly welcome community contributions to the owt-client-native repository. If you are willing to contribute your features and ideas to OWT, follow the process below:

  • Make sure your patch will not break anything, including all the build and tests.
  • Submit a pull request to Pull Requests.
  • Watch your patch for review comments, if any, until it is accepted and merged.

The OWT project is licensed under Apache License, Version 2.0. By contributing to the project, you agree to the license and copyright terms therein and release your contributions under these terms.

How to report issues

Use the "Issues" tab on Github.

See Also

http://webrtc.intel.com

主要指标

概览
名称与所有者open-webrtc-toolkit/owt-client-native
主编程语言C++
编程语言Python (语言数: 11)
平台
许可证Apache License 2.0
所有者活动
创建于2018-10-24 00:21:57
推送于2024-10-25 05:46:08
最后一次提交2021-05-20 09:04:21
发布数8
最新版本名称v5.1-rc1 (发布于 )
第一版名称v4.2 (发布于 )
用户参与
星数403
关注者数36
派生数182
提交数1.2k
已启用问题?
问题数349
打开的问题数198
拉请求数338
打开的拉请求数13
关闭的拉请求数54
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?