Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Yuji Ito <llamerada.jp@gmail.com>
  • Loading branch information
llamerada-jp committed Sep 5, 2020
1 parent fddfab9 commit 0c08de8
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
# 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.

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
Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 0c08de8

Please sign in to comment.