Profiles and Peers
Posted: Wed Jan 18, 2023 8:29 pm
We'd like to programmatically determine which devices on a particular card are paired.
I can get the profiles for a devices and then gets the peer profile but I can't find a way to understand what devices that is. For example, using GetDisplayName() on a a particular device, then getting the peer of a profile for that device followed by the device that is affected by that profile IDeckLinkProfile::GetDevice and, finally, getting the display name for that device yields the following:
DeckLink Quad (6) peer affected device is DeckLink Quad (2)
However the SDK document has the pairings on a Quad2 as such:
SDI 1/2
SDI 3/4
SDI 5/6
SDI 7/8
We need to be able to programmatically determine which devices will go away or appear when the profiles are changed. We need to be able to graphically show the user which devices are paired. We'd much rather not just use what the SDK document as it might change and/or there will be new devices in the future.
I can get the profiles for a devices and then gets the peer profile but I can't find a way to understand what devices that is. For example, using GetDisplayName() on a a particular device, then getting the peer of a profile for that device followed by the device that is affected by that profile IDeckLinkProfile::GetDevice and, finally, getting the display name for that device yields the following:
DeckLink Quad (6) peer affected device is DeckLink Quad (2)
However the SDK document has the pairings on a Quad2 as such:
SDI 1/2
SDI 3/4
SDI 5/6
SDI 7/8
We need to be able to programmatically determine which devices will go away or appear when the profiles are changed. We need to be able to graphically show the user which devices are paired. We'd much rather not just use what the SDK document as it might change and/or there will be new devices in the future.