StreamSwitchHardNode class

Signature:

export declare class StreamSwitchHardNode<Pins extends string> extends ProcessorMediaNode<Pins>

Extends: ProcessorMediaNode<Pins>

Properties

Property Type Description

activeSource

Pins | undefined

The currently active source (that is, the source which has been requested to be active - may not yet be present on the output until the corresponding event is raised).

Methods

Method Modifiers Description

switchSource(newSource)

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.