rtpsender_js.go 295 B

123456789101112
  1. //go:build js && wasm
  2. // +build js,wasm
  3. package webrtc
  4. import "syscall/js"
  5. // RTPSender allows an application to control how a given Track is encoded and transmitted to a remote peer
  6. type RTPSender struct {
  7. // Pointer to the underlying JavaScript RTCRTPSender object.
  8. underlying js.Value
  9. }