VideoCaptureDeviceItem::getBaseName Method

Returns the base name of the video capture device.
Syntax:
std::string getBaseName() const;
std::wstring getBaseNameW() const;

Return value:

The base name of the video capture device.

Remarks:

The base name of a video capture device is its device name without the identification number appended. For example, if three identical devices (in this case, "Video to 1394 Converters") are connected to the PC, their names, as getName returns, are:

  • Video to 1394 Converter
  • Video to 1394 Converter 1
  • Video to 1394 Converter 2

The numbers appended to the name are used to distinguish between the devices. This method, however, returns the base name which is the same for all 3 devices above:

  • Video to 1394 Converter
Information:

Introduced in version 2.0

See also: VideoCaptureDeviceItem, VideoCaptureDeviceItem::toString, VideoCaptureDeviceItem::getName, VideoCaptureDeviceItem::getUniqueName, VideoCaptureDeviceItem::getDisplayName

<< VideoCaptureDeviceItem