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

This bin gets a parsed RTP stream on input and outputs raw media stream.

Its responsibility is to depayload the RTP stream and compensate the jitter.

Bin options

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

  • srtp_policies

    [ExLibSRTP.Policy.t()]

    Default value: []

  • secure?

    boolean

    Default value: false

  • extensions

    [Membrane.RTP.SessionBin.extension_t()]

    Default value: []

  • clock_rate

    RTP.clock_rate_t()

    Required

  • depayloader

    module() | nil

    Required

  • local_ssrc

    Membrane.RTP.ssrc_t()

    Required

  • remote_ssrc

    Membrane.RTP.ssrc_t()

    Required

  • rtcp_report_interval

    Membrane.Time.t() | nil

    Required

  • rtcp_fir_interval

    Membrane.Time.t() | nil

    Required

Pads

:input

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

: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.StreamReceiveBin

Functions

Returns pads descriptions for Membrane.RTP.StreamReceiveBin

Returns description of options available for this module

Link to this section Types

Specs

t() :: %Membrane.RTP.StreamReceiveBin{
  clock_rate: RTP.clock_rate_t(),
  depayloader: module() | nil,
  extensions: [Membrane.RTP.SessionBin.extension_t()],
  local_ssrc: Membrane.RTP.ssrc_t(),
  remote_ssrc: Membrane.RTP.ssrc_t(),
  rtcp_fir_interval: Membrane.Time.t() | nil,
  rtcp_report_interval: Membrane.Time.t() | nil,
  secure?: boolean(),
  srtp_policies: [ExLibSRTP.Policy.t()]
}

Struct containing options for Membrane.RTP.StreamReceiveBin

Link to this section Functions

Specs

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

Returns pads descriptions for Membrane.RTP.StreamReceiveBin

Specs

options() :: keyword()

Returns description of options available for this module