Capture.VideoSources Property

DirectX.Capture

DirectX.Capture Class Library

Capture.VideoSources Property

Collection of available video sources/physical connectors on the current video device.

public SourceCollection VideoSources {get;}

Remarks

In most cases, if the device has only one source, this collection will be empty.

The information contained in this property is retrieved and cached the first time this property is accessed. Future calls to this property use the cached results. This was done for performance.

However, this means you may get different results depending on when you access this property first. If you are experiencing problems, try accessing the property immediately after creating the Capture class or immediately after setting the video and audio compressors. Also, inform the developer.

See Also

Capture Class | Capture Members | DirectX.Capture Namespace