View Source Membrane.UDP.Source (Membrane UDP plugin v0.9.1)

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

element-options

Element options

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

  • local_port_no

    pos_integer

    Default value: 5000
    A UDP port number used when opening a receiving socket.

  • local_address

    :inet.socket_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

    pos_integer

    Default value: 16384
    Size of the receive buffer. Packages of size greater than this buffer will be truncated

pads

Pads

output

:output

Accepted formats

%RemoteStream{type: :packetized}

Availability :always
Demand mode :manual
Direction :output
Mode :push
Name :output

Link to this section Summary

Types

t()

Struct containing options for Membrane.UDP.Source

Functions

Returns description of options available for this module

Link to this section Types

@type t() :: %Membrane.UDP.Source{
  local_address: :inet.socket_address(),
  local_port_no: pos_integer(),
  recv_buffer_size: pos_integer()
}

Struct containing options for Membrane.UDP.Source

Link to this section Functions

@spec options() :: keyword()

Returns description of options available for this module