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

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

    [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

:input

Accepted formats:

_any
Direction::input
Availability::always

:output

Accepted formats:

_any
Direction::output
Availability::always

Summary

Types

t()

Struct containing options for Membrane.RTP.StreamReceiveBin

Functions

Returns description of options available for this module

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

Functions

@spec options() :: keyword()

Returns description of options available for this module