View Source Membrane.RTP (Membrane RTP format v0.11.0)
This module provides caps struct for RTP packet.
Summary
Types
Rate of the clock used for RTP timestamps in Hz
Dynamically assigned encoding names for payload types >= 96
RTP payload type that can be dynamically mapped to encoding and clock rate.
Encoding name of RTP payload.
Module of a Membrane stream format which represents the payload format of this stream or nil
if the payload format is not known.
RTP payload type.
The source of a stream of RTP packets, identified by a 32-bit numeric identifier.
Predefined names of encoding for static payload types (< 96).
RTP payload type that is statically mapped to encoding and clock rate.
Functions
Determines if payload type is dynamic_payload_type/0
.
Determines if payload type is static_payload_type/0
.
Types
@type clock_rate() :: non_neg_integer()
Rate of the clock used for RTP timestamps in Hz
@type dynamic_encoding_name() :: atom()
Dynamically assigned encoding names for payload types >= 96
They should be atoms matching the encoding name in SDP's attribute rtpmap
. This is usually defined by
RFC for that payload format (e.g. for H264 there's RFC 6184 defining it must be "H264", so the atom :H264
should be used
https://tools.ietf.org/html/rfc6184#section-8.2.1)
@type dynamic_payload_type() :: 96..127
RTP payload type that can be dynamically mapped to encoding and clock rate.
@type encoding_name() :: static_encoding_name() | dynamic_encoding_name()
Encoding name of RTP payload.
@type payload_format() :: module() | nil
Module of a Membrane stream format which represents the payload format of this stream or nil
if the payload format is not known.
@type payload_type() :: static_payload_type() | dynamic_payload_type()
RTP payload type.
@type ssrc() :: pos_integer()
The source of a stream of RTP packets, identified by a 32-bit numeric identifier.
@type static_encoding_name() ::
:PCMU
| :GSM
| :G732
| :DVI4
| :LPC
| :PCMA
| :G722
| :L16
| :QCELP
| :CN
| :MPA
| :G728
| :G729
| :CELB
| :JPEG
| :NV
| :H261
| :MPV
| :MP2T
| :H263
Predefined names of encoding for static payload types (< 96).
@type static_payload_type() :: 0..95
RTP payload type that is statically mapped to encoding and clock rate.
@type t() :: %Membrane.RTP{payload_format: payload_format()}
Functions
Determines if payload type is dynamic_payload_type/0
.
Determines if payload type is static_payload_type/0
.