ST2110ReceiverStateEvent type
Lifecycle event for a single receiver inside an ST 2110 NMOS input device. Mirror of ST2110SenderStateEvent for the input side — fires on every transition; see ST2110InputSettings.onReceiverStateChange.
Sequence (per receiver):
"idle" ↓ (controller PATCH master_enable=true, or new SDP) "starting" ↓ (first valid context lands from the underlying child workflow, i.e. multicast joined and packets are flowing) "active" { endpoints[], wirePixelFormat } ↓ (controller PATCH master_enable=false, or switch) "idle"
At any time: "failed" { reason } — refusal at activation time (unsupported wire transport) or unexpected child-workflow death.
Signature:
export type ST2110ReceiverStateEvent = {
receiverLabel: string;
state: "idle";
} | {
receiverLabel: string;
state: "starting";
} | {
receiverLabel: string;
state: "active";
endpoints: {
sourceIp: string;
multicastIp: string;
destinationPort: number;
}[];
wirePixelFormat: string;
} | {
receiverLabel: string;
state: "failed";
reason: string;
};