Membrane.RTP.Packet.PayloadType (Membrane RTP plugin v0.6.1) View Source

This module contains utility to translate numerical payload type into an atom value.

Link to this section Summary

Functions

Gets the clock rate from numerical payload type according to RFC3551. For quick reference check datasheet.

Gets the name of used encoding from numerical payload type according to RFC3551. For quick reference check datasheet.

Checks if numerical payload type should be assigned to format type dynamically.

Link to this section Functions

Specs

get_clock_rate(payload_type :: Membrane.RTP.payload_type_t()) ::
  Membrane.RTP.clock_rate_t() | :dynamic

Gets the clock rate from numerical payload type according to RFC3551. For quick reference check datasheet.

Specs

get_encoding_name(payload_type :: Membrane.RTP.payload_type_t()) ::
  Membrane.RTP.static_encoding_name_t() | :dynamic

Gets the name of used encoding from numerical payload type according to RFC3551. For quick reference check datasheet.

Link to this function

is_dynamic(payload_type)

View Source

Specs

is_dynamic(payload_type :: Membrane.RTP.payload_type_t()) :: boolean()

Checks if numerical payload type should be assigned to format type dynamically.