github.com/pion/webrtc/v3@v3.2.24/rtptransceiverinit.go (about) 1 // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly> 2 // SPDX-License-Identifier: MIT 3 4 package webrtc 5 6 // RTPTransceiverInit dictionary is used when calling the WebRTC function addTransceiver() to provide configuration options for the new transceiver. 7 type RTPTransceiverInit struct { 8 Direction RTPTransceiverDirection 9 SendEncodings []RTPEncodingParameters 10 // Streams []*Track 11 } 12 13 // RtpTransceiverInit is a temporary mapping while we fix case sensitivity 14 // Deprecated: Use RTPTransceiverInit instead 15 type RtpTransceiverInit = RTPTransceiverInit //nolint: stylecheck,golint