View Source ExWebRTC.RTPCodecParameters (ex_webrtc v0.6.3)

Implementation of the RTCRtpCodecParameters.

Summary

Types

@type t() :: %ExWebRTC.RTPCodecParameters{
  channels: non_neg_integer() | nil,
  clock_rate: non_neg_integer(),
  mime_type: binary(),
  payload_type: non_neg_integer(),
  rtcp_fbs: [ExSDP.Attribute.RTCPFeedback.t()],
  sdp_fmtp_line: ExSDP.Attribute.FMTP.t() | nil
}

Functions

Link to this function

new(type, rtp_mapping, fmtp, rtcp_fbs)

View Source
@spec new(
  :audio | :video,
  ExSDP.Attribute.RTPMapping.t(),
  ExSDP.Attribute.FMTP.t() | nil,
  [
    ExSDP.Attribute.RTCPFeedback.t()
  ]
) :: t()