Membrane.SRT.Sink (Membrane SRT plugin v0.2.0)
View SourceMembrane Sink acting as an SRT client which sends incoming data to an SRT server. The server listens on the specified IP address and port.
Element options
Passed via struct Membrane.SRT.Sink.t/0
port:inet.port_number()Required
The port number on which the SRT server listens.ipString.t()Default value:
"127.0.0.1"
The IP address where the SRT server is located. Defaults to 127.0.0.1 (localhost).stream_idString.t()Required
ID of the stream being sent.passwordString.t() | nilDefault value:
nil
Password used to authenticate the connection. If set, the client will try to connect with server using this password. If the server requires authentication and this option is not set, the connection will fail. Note that the same password needs to be set by the server. Password needs to have between 10 and 79 characters.
Pads
:input
Accepted formats:
Membrane.RemoteStream| Direction: | :input |
| Availability: | :always |
| Flow control: | :auto |
Summary
Types
Struct containing options for Membrane.SRT.Sink
Types
@type t() :: %Membrane.SRT.Sink{ ip: String.t(), password: String.t() | nil, port: :inet.port_number(), stream_id: String.t() }
Struct containing options for Membrane.SRT.Sink
Functions
@spec options() :: keyword()
Returns description of options available for this module