2024-05-15 23:15:00 +00:00
|
|
|
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
2022-03-10 09:44:48 +00:00
|
|
|
//go:build js && wasm
|
|
|
|
// +build js,wasm
|
|
|
|
|
|
|
|
package webrtc
|
|
|
|
|
|
|
|
import "syscall/js"
|
|
|
|
|
|
|
|
// RTPSender allows an application to control how a given Track is encoded and transmitted to a remote peer
|
|
|
|
type RTPSender struct {
|
|
|
|
// Pointer to the underlying JavaScript RTCRTPSender object.
|
|
|
|
underlying js.Value
|
|
|
|
}
|