Select a webcam using deviceid

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
RogerioUK
Posts: 7
Joined: Mon May 02, 2016 2:39 pm
Location: Brazil

Select a webcam using deviceid

Post by RogerioUK »

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
Sergey Tkachenko
Site Admin
Posts: 17564
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Select a webcam using deviceid

Post by Sergey Tkachenko »

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.
Post Reply