View Source Membrane.RTMP.Source (Membrane RTMP plugin v0.6.0)
Membrane Element for receiving RTMP streams. Acts as a RTMP Server. This implementation is limited to only AAC and H264 streams.
Implementation based on FFmpeg
element-options
Element options
Passed via struct Membrane.RTMP.Source.t/0
url
binary()
Required
URL on which the FFmpeg instance will be createdtimeout
Time.t() | :infinity
Default value:
:infinity
Time the server will wait for a connection from the clientDuration given must be a multiply of one second or atom
:infinity
.
pads
Pads
video
:video
Availability | :always |
Caps | Membrane.H264.RemoteStream |
Demand mode | :manual |
Demand unit | :buffers |
Direction | :output |
Mode | :pull |
Name | :video |
audio
:audio
Availability | :always |
Caps | Membrane.AAC.RemoteStream |
Demand mode | :manual |
Demand unit | :buffers |
Direction | :output |
Mode | :pull |
Name | :audio |
Link to this section Summary
Types
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
@type t() :: %Membrane.RTMP.Source{ timeout: Membrane.Time.t() | :infinity, url: binary() }
Struct containing options for Membrane.RTMP.Source
Link to this section Functions
@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.RTMP.Source
@spec options() :: keyword()
Returns description of options available for this module