View Source Membrane.RTP (Membrane RTP format v0.8.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.
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_t/0
.
Determines if payload type is static_payload_type_t/0
.
Types
@type clock_rate_t() :: non_neg_integer()
Rate of the clock used for RTP timestamps in Hz
@type dynamic_encoding_name_t() :: 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_t() :: 96..127
RTP payload type that can be dynamically mapped to encoding and clock rate.
@type encoding_name_t() :: static_encoding_name_t() | dynamic_encoding_name_t()
Encoding name of RTP payload.
@type payload_type_t() :: static_payload_type_t() | dynamic_payload_type_t()
RTP payload type.
@type ssrc_t() :: pos_integer()
The source of a stream of RTP packets, identified by a 32-bit numeric identifier.
@type static_encoding_name_t() ::
: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_t() :: 0..95
RTP payload type that is statically mapped to encoding and clock rate.
@type t() :: %Membrane.RTP{}
Functions
Determines if payload type is dynamic_payload_type_t/0
.
Determines if payload type is static_payload_type_t/0
.