Membrane.RTP.PayloadFormatResolver (Membrane RTP plugin v0.10.0) View Source

Wrapper over Membrane.RTP.PayloadFormat that returns payloaders and depayloaders, or an error if they can't be resolved.

Link to this section Summary

Functions

Tries to resolve a depayloader based on given encoding.

Tries to resolve a payloader based on given encoding.

Link to this section Types

Specs

encoding_mapper_t() :: %{required(Membrane.RTP.encoding_name_t()) => module()}

Link to this section Functions

Specs

depayloader(Membrane.RTP.encoding_name_t()) :: {:ok, module()} | :error

Tries to resolve a depayloader based on given encoding.

Specs

payloader(Membrane.RTP.encoding_name_t()) :: {:ok, module()} | :error

Tries to resolve a payloader based on given encoding.