StreamSwitchHardNode.switchSource() method
Switch to a new active source at its first valid keyframe; the old source’s still-arriving frames stop emitting at the same instant. For the gapless-playlist pattern (where the previous source’s tail must keep playing while the next source warms up), use NorskControl.streamSourceSequence() instead.
Signature:
switchSource(newSource: Pins): Promise<void>;