StreamSwitchSmoothSettings.onInboundContextChange property
Callback to be called when inbound context changes on some input; presence of an input means that media has arrived and is ready to switch immediately
Signature:
onInboundContextChange?: (allStreams: Map<Pins, StreamMetadata[]>) => Promise<void>;