DeckLinkDeviceIdentifier type
Stable DeckLink device identity, as reported per card by DeckLinkCard. cardIndex is just IDeckLinkIterator traversal order — it shifts whenever the visible device set changes (driver updates, added/removed cards, device-filtered containers); these identities do not. persistentID follows the physical card across slots; topologicalID follows the PCIe position; subDevice addresses one sub-device of a multi-device card by its device group and position within it.
Signature:
export type DeckLinkDeviceIdentifier = {
idType: "persistentID";
id: number;
} | {
idType: "topologicalID";
id: number;
} | {
idType: "subDevice";
deviceGroupId: number;
subDeviceIndex: number;
};