Membrane Element: UDP v0.2.2 Membrane.Element.UDP.Source View Source

Element that reads packets from UDP socket and sends their payload through the output pad.

See options/0 for available options

Element options

Passed via struct Membrane.Element.UDP.Source.t/0

  • local_address

    Required

    IP Address

  • local_port_no

    Default value: 5000

    UDP target port

  • 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
Caps:any
Direction:output
Mode:push

Link to this section Summary

Types

t()

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

Link to this type

t()

View Source
t() :: %Membrane.Element.UDP.Source{
  local_address: String.t(),
  local_port_no: pos_integer(),
  recv_buffer_size: pos_integer()
}

Struct containing options for Membrane.Element.UDP.Source

Link to this section Functions

Returns pads descriptions for Membrane.Element.UDP.Source

Returns description of options available for this module