View Source Membrane.RTP.StreamReceiveBin (Membrane RTP plugin v0.21.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

Accepted formats:

_any
Direction::input
Availability::always
Mode::pull
Demand unit::buffers

output

:output

Accepted formats:

_any
Direction::output
Availability::always
Mode::pull
Demand unit::buffers

Link to this section Summary

Types

t()

Struct containing options for Membrane.RTP.StreamReceiveBin

Functions

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 options() :: keyword()

Returns description of options available for this module