github.com/pion/webrtc/v4@v4.0.1/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  }