ExSDP.Attribute.RTPMapping (ExSDP v0.2.0) View Source

This module represents RTP mapping.

Link to this section Summary

Link to this section Types

Specs

t() :: %ExSDP.Attribute.RTPMapping{
  clock_rate: non_neg_integer(),
  encoding: binary(),
  params: non_neg_integer() | nil,
  payload_type: 96..127
}

Link to this section Functions

Specs

parse(binary(), atom() | binary()) ::
  {:ok, t()} | {:error, :invalid_attribute | :invalid_param}