Table of Contents

Class VideoCaptureDeviceDescriptor

Namespace
VAST.Capture
Assembly
VAST.Common.dll

Video capture device descriptor

public class VideoCaptureDeviceDescriptor
Inheritance
VideoCaptureDeviceDescriptor
Inherited Members

Constructors

VideoCaptureDeviceDescriptor()

public VideoCaptureDeviceDescriptor()

Properties

CaptureModes

Gets or sets list of supported capture modes

public List<VideoCaptureMode> CaptureModes { get; set; }

Property Value

List<VideoCaptureMode>

DefaultCaptureMode

Gets or sets index of the default capture mode

public int DefaultCaptureMode { get; set; }

Property Value

int

DeviceId

Gets or sets video capture device id

public string DeviceId { get; set; }

Property Value

string

Framework

Gets or sets device framework

public MediaFramework Framework { get; set; }

Property Value

MediaFramework

Name

Gets or sets video capture device human readable name

public string Name { get; set; }

Property Value

string

Methods

Clone()

Creates a deep copy of this device descriptor.

public virtual VideoCaptureDeviceDescriptor Clone()

Returns

VideoCaptureDeviceDescriptor

A new VideoCaptureDeviceDescriptor instance with copied values.

FindClosestMatch(MediaType)

Finds the capture mode that best matches the specified media type.

public VideoCaptureMode FindClosestMatch(MediaType mt)

Parameters

mt MediaType

The target media type to match, or null to use the default capture mode.

Returns

VideoCaptureMode

The closest matching capture mode, or null if no modes are available.