Switch component
Connects one of multiple input streams to the output port.
In-ports
stream 1..n <any>
- Input streams.
connect Number
- The index of the stream port to connect to the output port.
disconnect <any>
- The event upon which the stream port disconnects from the output port.
Out-ports
output <any>
- The output stream.
Overview
This component connects one of multiple input streams to the output port. In order to switch to another input stream, send its index to the connect port. To select which stream port is connected by default, specify its index in the component's Settings dialog.
Settings
Number of input streams
The number of input streams. The default value is two.
Default connection
The index of the stream port that will be connected to the output port if no index is passed to the connect port. No value is set by default.