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

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

Bin options

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

  • srtp_policies

    [ExLibSRTP.Policy.t()]

    Default value: []

  • secure?

    boolean

    Default value: false

  • extensions

    [RTP.SessionBin.extension_t()]

    Default value: []

  • clock_rate

    RTP.clock_rate_t()

    Required

  • depayloader

    module() | nil

    Required

  • local_ssrc

    RTP.ssrc_t()

    Required

  • remote_ssrc

    RTP.ssrc_t()

    Required

  • rtcp_report_interval

    Membrane.Time.t() | nil

    Required

  • telemetry_label

    [{atom(), any()}]

    Default value: []

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

Functions

Returns pads descriptions for Membrane.RTP.StreamReceiveBin

Returns description of options available for this module

Link to this section Types

@type t() :: %Membrane.RTP.StreamReceiveBin{
  clock_rate: Membrane.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_report_interval: Membrane.Time.t() | nil,
  secure?: boolean(),
  srtp_policies: [ExLibSRTP.Policy.t()],
  telemetry_label: [{atom(), any()}]
}

Struct containing options for Membrane.RTP.StreamReceiveBin

Link to this section Functions

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

Returns pads descriptions for Membrane.RTP.StreamReceiveBin

@spec options() :: keyword()

Returns description of options available for this module