View Source Membrane.RTP.VP8.Payloader (Membrane RTP VP8 Plugin v0.9.0)

Payloads VP8 frames into RTP packets according to: https://tools.ietf.org/html/rfc7741

Element options

Passed via struct Membrane.RTP.VP8.Payloader.t/0

  • max_payload_size

    non_neg_integer()

    Default value: 1400
    Maximal size of outputted payloads in bytes. RTP packet will contain VP8 payload descriptor which can have max: 6B. The resulting RTP packet will also RTP header (min 12B). After adding UDP header (8B), IPv4 header(min 20B, max 60B) everything should fit in standard MTU size (1500B)

  • payload_descriptor_type

    :simple

    Default value: :simple
    When set to :simple payloader will generate only minimal payload descriptors required for fragmentation. More complex payload descriptors are not yet supported so this option should be left as default.

Pads

:input

Accepted formats:

%RemoteStream{content_format: VP8, type: :packetized}
Direction::input
Availability::always
Flow control::auto

:output

Accepted formats:

RTP
Direction::output
Availability::always
Flow control::auto

Summary

Types

t()

Struct containing options for Membrane.RTP.VP8.Payloader

Functions

Returns description of options available for this module

Types

@type t() :: %Membrane.RTP.VP8.Payloader{
  max_payload_size: non_neg_integer(),
  payload_descriptor_type: :simple
}

Struct containing options for Membrane.RTP.VP8.Payloader

Functions

@spec options() :: keyword()

Returns description of options available for this module