RtmpServerInputSettings.onConnectionStatusChange property
Called when the connection status has changed (e.g. when the RTMP connection drops)
Signature:
onConnectionStatusChange?: (
connectionId: string,
status: RtmpServerInputStatus,
streamKeys: {
audioStreamKey: StreamKeyPB;
videoStreamKey: StreamKeyPB;
}[]) => void;