StreamSwitchHardNode.switchSource() method

Switches the source used for the current output of this node.

The promise returned from this function resolves when the server has acknowledged the switch request, at that point the output may still not be swtiched.

Signature:

switchSource(newSource: Pins): Promise<void>;

Parameters

Parameter Type Description

newSource

Pins

Returns:

Promise<void>