summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/webrtc/v3/rtptransceiverinit.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pion/webrtc/v3/rtptransceiverinit.go')
-rw-r--r--vendor/github.com/pion/webrtc/v3/rtptransceiverinit.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/pion/webrtc/v3/rtptransceiverinit.go b/vendor/github.com/pion/webrtc/v3/rtptransceiverinit.go
new file mode 100644
index 0000000..3c439b7
--- /dev/null
+++ b/vendor/github.com/pion/webrtc/v3/rtptransceiverinit.go
@@ -0,0 +1,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