mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 07:06:51 +08:00

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
|
|
)
|