Membrane Element: UDP v0.3.0 Membrane.Element.UDP.Source View Source
Element that reads packets from a UDP socket and sends their payloads through the output pad.
Element options
Passed via struct Membrane.Element.UDP.Source.t/0
local_port_no
Default value:
5000
A UDP port number used when opening a receiving socket.
local_address
Default value:
:any
An IP Address on which the socket will listen. It allows to choose which network interface to use if there's more than one.
recv_buffer_size
Default value:
16384
Size of the receive buffer. Packages of size greater than this buffer will be truncated
Pads
:output
Availability | :always |
Bin? | false |
Caps | :any |
Direction | :output |
Mode | :push |
Name | :output |
Link to this section Summary
Types
Struct containing options for Membrane.Element.UDP.Source
Functions
Returns pads descriptions for Membrane.Element.UDP.Source
Returns description of options available for this module
Link to this section Types
t()
View Sourcet() :: %Membrane.Element.UDP.Source{ local_address: :inet.socket_address(), local_port_no: pos_integer(), recv_buffer_size: pos_integer() }
Struct containing options for Membrane.Element.UDP.Source
Link to this section Functions
membrane_pads()
View Sourcemembrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.Element.UDP.Source
Returns description of options available for this module