mirror of
https://github.com/pion/webrtc.git
synced 2024-05-03 11:54:53 +08:00
0f1ddf0825
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.
11 lines
206 B
Go
11 lines
206 B
Go
package webrtc
|
|
|
|
const (
|
|
// Unknown defines default public constant to use for "enum" like struct
|
|
// comparisons when no value was defined.
|
|
Unknown = iota
|
|
unknownStr = "unknown"
|
|
|
|
receiveMTU = 8192
|
|
)
|