Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Latest commit

 

History

History
57 lines (41 loc) · 1.36 KB

README.ja.md

File metadata and controls

57 lines (41 loc) · 1.36 KB

WebRTC Build Environment

Android 向けの WebRTC を用いたネイティブアプリを作るのに必要なライブラリのビルド環境

前提

  • Vagrant のインストール(VirtualBox等も含む)
  • Chefのインストール
  • Ruby実行環境

利用方法

初回のセットアップ

vagrant box add hashicorp/precise64
git clone https://github.com/yskkin/webrtc-build-environment.git /path/to/repo
cd /path/to/repo
bundle install
bundle exec berks install --path cookbooks
vagrant up

pull時

vagrant up --provision

ライブラリのビルド

vagrant ssh
# 以下VM内で
cd webrtc/trunk
ninja -C out/Release AppRTCDemo

webrtc/trunk/out/Release 下に生成される成果物

  • AppRTCDemo-debug.apk : サンプルアプリ
  • libjingle_peerconnection_so.so, libjingle_peerconnection.jar : ライブラリ

既知の問題

vagrant up で時間がかかるので、 Control-c で中断するとうまくいっていることがあります。

問題が解決できない場合はオリジナルの手順を参考にしてください。