summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/webrtc/v3/rtptransceiverinit.go
blob: 3c439b7f73046f8882fc9a47681c0282efa236b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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