Is it possible to define the active camera using the DeviceID (DevicePath) and not the FriendlyName ?
I have two cameras that have same friendly name
Select a webcam using deviceid
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Select a webcam using deviceid
Friendly names are in RVCamera.VideoDeviceList[], identifiers are in RVCamera.VideoDeviceIdList[].
You can find the device ID in VideoDeviceIdList[], and assign VideoDeviceIndex to switch to this device.
You can find the device ID in VideoDeviceIdList[], and assign VideoDeviceIndex to switch to this device.