diff --git a/README.md b/README.md index 3c44f28..2d92251 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# libwebrtc -It is a build program of WebRTC native library from Chromium. The purpose of this repository is making easy to use WebRTC native library by sharing pre-compiled libraries. +# libwebrtc for DataChannel +It is a building program of WebRTC native library from Chromium. This building program configured for only enable DataChannel without multimedia features. The purpose of this repository is making easy to use WebRTC native library by sharing pre-compiled libraries. Build sequence of program is based on below documents. @@ -7,10 +7,17 @@ http://webrtc.github.io/webrtc-org/native-code/development/ This program automatically uses the latest stable version of WebRTC's source code. +## Requirements + +- golang 1.13 or later +- Other requirement environments are depend on [`Chromium project`](https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md) + ## How to use ### Build and test for linux with amd64 +At amd64 linux environment. + ```sh go run . build go run . test @@ -20,6 +27,8 @@ There is an archive file in `opt/linux_amd64`. ### Build and test for linux with i386 +At amd64 linux environment. + ```sh sudo apt install qemu-usr-static g++-i686-linux-gnu @@ -31,6 +40,8 @@ There is an archive file in `opt/linux_i386`. ### Build and test for linux with armhf +At amd64 linux environment. + ```sh sudo apt install qemu-usr-static g++-arm-linux-gnueabihf @@ -45,6 +56,8 @@ There is an archive file in `opt/linux_armhf`. ### Build and test for linux with arm64 +At amd64 linux environment. + ```sh sudo apt install qemu-usr-static g++-aarch64-linux-gnu @@ -59,6 +72,8 @@ There is an archive file in `opt/linux_arm64`. ### Build and test for macos +At macos environment. + ```sh go run . build go run . test