StreamSwitchSmoothSettings.onTransitionComplete property
Callback which will be called a transition has succesfully completed for a requested switch, i.e. the new source is now showing.
Note that if additional transitions are triggered when a transition is already in progress, a notification may only be given for the last transition to finish.
Signature:
onTransitionComplete?: (inputPin: Pins) => void;