Membrane.RTMP.Source (Membrane RTMP plugin v0.2.0) View Source

Membrane Element being a server-side source of RTMP streams.

Implementation based on FFmpeg

Element options

Passed via struct Membrane.RTMP.Source.t/0

  • url

    binary()

    Required
    URL on which the FFmpeg instance will be created

  • timeout

    Time.t() | :infinity

    Default value: :infinity
    Time the server will wait for connection from the client Duration given must be a multiply of one second or atom :infinity.

Pads

:video

Availability:always
Caps:any
Direction:output
Mode:pull
Name:video

:audio

Availability:always
CapsMembrane.AAC, restrictions:<br />&nbsp;&nbsp;encapsulation: :none
Direction:output
Mode:pull
Name:audio

Link to this section Summary

Types

t()

Struct containing options for Membrane.RTMP.Source

Functions

Returns pads descriptions for Membrane.RTMP.Source

Returns description of options available for this module

Link to this section Types

Specs

t() :: %Membrane.RTMP.Source{
  timeout: Membrane.Time.t() | :infinity,
  url: binary()
}

Struct containing options for Membrane.RTMP.Source

Link to this section Functions

Specs

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

Returns pads descriptions for Membrane.RTMP.Source

Specs

options() :: keyword()

Returns description of options available for this module