Membrane.ICE.Source (Membrane ICE plugin v0.1.0) View Source
Element that receives buffers (over UDP or TCP) and sends them on relevant pads.
As Source works analogously to the Sink here we only describe features that are specific for Source.
Architecture and pad semantics
Multiple components are handled with dynamic pads. Receiving data on component with id
component_id will cause in conveying this data on pad with id component_id. Other elements
can be linked to the Source in any moment but before playing pipeline.
Interacting with Source
Interacting with Source is the same as with Sink. Please refer to Membrane.ICE.Sink for
details.
Messages Source is able to process
Messages Source is able to process are the same as for Sink. Please refer to Membrane.ICE.Sink
for details.
Messages Source sends
Source sends all messages that Sink sends. Please refer to Membrane.ICE.Sink for details.
Element options
Passed via struct Membrane.ICE.Source.t/0
n_componentsDefault value:
1Number of components that will be created in the streamstream_nameDefault value:
""Name of the streamstun_serversDefault value:
[]List of stun servers in form of ip:portcontrolling_modeDefault value:
falseRefer to RFC 8445 section 4 - Controlling and Controlled Agentport_rangeDefault value:
0..0The port range to usehandshake_moduleDefault value:
Membrane.ICE.Handshake.DefaultModule implementing Handshake behaviourhandshake_optsDefault value:
[]Options for handshake module. They will be passed to start_linkfunction of handshake_module
Pads
:output
| Availability | :on_request |
| Bin? | false |
| Caps | :any |
| Direction | :output |
| Mode | :push |
| Name | :output |
Link to this section Summary
Types
Struct containing options for Membrane.ICE.Source
Functions
Returns pads descriptions for Membrane.ICE.Source
Returns description of options available for this module
Link to this section Types
Link to this section Functions
Specs
membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.ICE.Source
Specs
options() :: keyword()
Returns description of options available for this module