rtptransceiverinit.go 602 B

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