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
|
|
|
package webrtc
|
|
|
|
|
|
|
|
// RTPTransceiverInit dictionary is used when calling the WebRTC function addTransceiver() to provide configuration options for the new transceiver.
|
|
|
|
type RTPTransceiverInit struct {
|
|
|
|
Direction RTPTransceiverDirection
|
|
|
|
SendEncodings []RTPEncodingParameters
|
|
|
|
// Streams []*Track
|
|
|
|
}
|
|
|
|
|
|
|
|
// RtpTransceiverInit is a temporary mapping while we fix case sensitivity
|
|
|
|
// Deprecated: Use RTPTransceiverInit instead
|
|
|
|
type RtpTransceiverInit = RTPTransceiverInit //nolint: stylecheck,golint
|