Membrane Protocol SDP v0.1.1 Membrane.Protocol.SDP.Attribute.RTPMapping View Source

This module represents RTP mapping.

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Membrane.Protocol.SDP.Attribute.RTPMapping{
  clock_rate: non_neg_integer(),
  encoding: binary(),
  params: [any()],
  payload_type: 96..127
}

Link to this section Functions

Link to this function

parse(mapping, type) View Source
parse(binary(), atom() | binary()) ::
  {:ok, t()} | {:error, :invalid_attribute | :invalid_param}