13 lines
268 B
Go
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
|
||
|
}
|