rtpreceiver_js.go 268 B

123456789101112
  1. //go:build js && wasm
  2. // +build js,wasm
  3. package webrtc
  4. import "syscall/js"
  5. // RTPReceiver allows an application to inspect the receipt of a TrackRemote
  6. type RTPReceiver struct {
  7. // Pointer to the underlying JavaScript RTCRTPReceiver object.
  8. underlying js.Value
  9. }