Files
webrtc/rtpreceiver_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
268 B
Go

//go:build js && wasm
// +build js,wasm
package webrtc
import "syscall/js"
// RTPReceiver allows an application to inspect the receipt of a TrackRemote
type RTPReceiver struct {
// Pointer to the underlying JavaScript RTCRTPReceiver object.
underlying js.Value
}