rtpreceiver_js.go 370 B

123456789101112131415
  1. // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
  2. // SPDX-License-Identifier: MIT
  3. //go:build js && wasm
  4. // +build js,wasm
  5. package webrtc
  6. import "syscall/js"
  7. // RTPReceiver allows an application to inspect the receipt of a TrackRemote
  8. type RTPReceiver struct {
  9. // Pointer to the underlying JavaScript RTCRTPReceiver object.
  10. underlying js.Value
  11. }