github.com/pion/webrtc/v3@v3.2.24/rtpsender_js.go (about)

     1  // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
     2  // SPDX-License-Identifier: MIT
     3  
     4  //go:build js && wasm
     5  // +build js,wasm
     6  
     7  package webrtc
     8  
     9  import "syscall/js"
    10  
    11  // RTPSender allows an application to control how a given Track is encoded and transmitted to a remote peer
    12  type RTPSender struct {
    13  	// Pointer to the underlying JavaScript RTCRTPSender object.
    14  	underlying js.Value
    15  }