Membrane.RTMP.Source (Membrane RTMP plugin v0.2.1) 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
urlbinary()Required
URL on which the FFmpeg instance will be createdtimeoutTime.t() | :infinityDefault value:
:infinity
Time the server will wait for connection from the client Duration given must be a multiply of one second or atom:infinity.max_buffer_sizenon_neg_integer()Default value:
1024
Pads
:video
| Availability | :always |
| Caps | :any |
| Direction | :output |
| Mode | :pull |
| Name | :video |
:audio
| Availability | :always |
| Caps | Membrane.AAC, restrictions:<br /> encapsulation: :none |
| 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
Specs
t() :: %Membrane.RTMP.Source{
max_buffer_size: non_neg_integer(),
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