Add JavaScript/WASM bindings

Resolves #478. Adds minimal JavaScript/WASM bindings. This makes it
possible to compile core parts of pions/webrtc to WASM and run it in the
browser. Only data channels are supported for now and there is
limited/no support for certificates and credentials.
This commit is contained in:
Alex Browne
2019-03-07 15:15:15 -08:00
committed by Michiel De Backker
parent 6a68ca04a8
commit 0f1ddf0825
18 changed files with 1099 additions and 18 deletions

View File

@@ -1,3 +1,5 @@
// +build !js
package webrtc
import "fmt"