rtptransceiverinit.go 500 B

123456789101112
  1. package webrtc
  2. // RTPTransceiverInit dictionary is used when calling the WebRTC function addTransceiver() to provide configuration options for the new transceiver.
  3. type RTPTransceiverInit struct {
  4. Direction RTPTransceiverDirection
  5. SendEncodings []RTPEncodingParameters
  6. // Streams []*Track
  7. }
  8. // RtpTransceiverInit is a temporary mapping while we fix case sensitivity
  9. // Deprecated: Use RTPTransceiverInit instead
  10. type RtpTransceiverInit = RTPTransceiverInit //nolint: stylecheck,golint