rtpsender_js.go 397 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. // RTPSender allows an application to control how a given Track is encoded and transmitted to a remote peer
  8. type RTPSender struct {
  9. // Pointer to the underlying JavaScript RTCRTPSender object.
  10. underlying js.Value
  11. }