Membrane.RTMP.Bin (Membrane RTMP plugin v0.2.1) View Source
Bin responsible for spawning new RTMP server.
It will receive RTMP stream from the client, parse it and demux it, outputting single audio and video which are ready for further processing with Membrane Elements. At this moment only AAC and H264 codecs are support
Bin options
Passed via struct Membrane.RTMP.Bin.t/0
port
1..65535
Required
Port on which the server will listenlocal_ip
binary()
Default value:
"127.0.0.1"
IP address on which the server will listen. This is useful if you have more than one network interfacetimeout
Time.t() | :infinity
Default value:
:infinity
Time during which the connection with the client must be established before handle_prepared_to_playing fails. Duration given must be a multiply of one second or atom:infinity
.
Pads
:audio
Availability | :always |
Caps | Membrane.AAC |
Demand unit | :buffers |
Direction | :output |
Mode | :pull |
Name | :audio |
:video
Availability | :always |
Caps | Membrane.H264 |
Demand unit | :buffers |
Direction | :output |
Mode | :pull |
Name | :video |
Link to this section Summary
Types
Struct containing options for Membrane.RTMP.Bin
Functions
Returns pads descriptions for Membrane.RTMP.Bin
Returns description of options available for this module
Link to this section Types
Specs
Struct containing options for Membrane.RTMP.Bin
Link to this section Functions
Specs
membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.RTMP.Bin
Specs
options() :: keyword()
Returns description of options available for this module