View Source Membrane.RTP.PayloaderBin (Membrane RTP plugin v0.16.0)

Module responsible for payloading a stream to RTP format and preparing RTP headers.

bin-options

Bin options

Passed via struct Membrane.RTP.PayloaderBin.t/0

  • payloader

    module()

    Required
    Payloader module used for payloading a stream to RTP format

  • ssrc

    RTP.ssrc_t()

    Required

  • payload_type

    RTP.payload_type_t()

    Required

  • clock_rate

    RTP.clock_rate_t()

    Required

  • alignment

    pos_integer()

    Default value: 1
    Number of bytes that each packet should be aligned to. Alignment is achieved by adding RTP padding.

pads

Pads

input

:input

Availability :always
Caps :any
Demand unit :buffers
Direction :input
Mode :pull
Name :input

output

:output

Availability :always
Caps :any
Demand unit :buffers
Direction :output
Mode :pull
Name :output

Link to this section Summary

Types

t()

Struct containing options for Membrane.RTP.PayloaderBin

Functions

Returns pads descriptions for Membrane.RTP.PayloaderBin

Returns description of options available for this module

Link to this section Types

@type t() :: %Membrane.RTP.PayloaderBin{
  alignment: pos_integer(),
  clock_rate: Membrane.RTP.clock_rate_t(),
  payload_type: Membrane.RTP.payload_type_t(),
  payloader: module(),
  ssrc: Membrane.RTP.ssrc_t()
}

Struct containing options for Membrane.RTP.PayloaderBin

Link to this section Functions

@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]

Returns pads descriptions for Membrane.RTP.PayloaderBin

@spec options() :: keyword()

Returns description of options available for this module