DeckLinkCard.persistentId property

Stable identity of the physical card (BMDDeckLinkPersistentID) — survives re-slotting. Undefined when the card/driver doesn’t report one. Prefer this (or DeckLinkCard.topologicalId) over index, which is just IDeckLinkIterator traversal order and shifts whenever the visible device set changes.

Signature:

persistentId?: number;