StreamSwitchHardNode.activeSource property
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).
Signature:
get activeSource(): Pins | undefined;