webrtc/rtpsender_js.go
Sean DuBois 157220e800 Run gofmt to add new build constraints
Also remove some 1.13 specific WASM code
2022-01-17 22:36:01 -05:00

13 lines
295 B
Go

//go:build js && wasm
// +build js,wasm
package webrtc
import "syscall/js"
// RTPSender allows an application to control how a given Track is encoded and transmitted to a remote peer
type RTPSender struct {
// Pointer to the underlying JavaScript RTCRTPSender object.
underlying js.Value
}