mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 03:25:58 +08:00
14 lines
520 B
Go
14 lines
520 B
Go
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
|
|
SSRCOverride SSRC
|
|
// Streams []*Track
|
|
}
|
|
|
|
// RtpTransceiverInit is a temporary mapping while we fix case sensitivity
|
|
// Deprecated: Use RTPTransceiverInit instead
|
|
type RtpTransceiverInit = RTPTransceiverInit //nolint: stylecheck,golint
|