VideoCaptureDevice Class |
Namespace: StreamCoders.Devices
The VideoCaptureDevice type exposes the following members.
Name | Description | |
---|---|---|
VideoCaptureDevice |
Default constructor.
|
Name | Description | |
---|---|---|
BasicMode |
Gets the mode of the VideoCaptureDevice object.
| |
IsDeviceLost |
Detects whether a capture device is lost during operation. This can happen if a capture
device is physically disconnected.
| |
LastError |
Gets the last error.
| |
SelectedDevice |
Retrieves the currently selected capture device. This property is set when SelectDevice
is called successfully.
| |
SelectedFormat |
Retrieves the metrics of the device.
Currently these values are only valid after starting the device. |
Name | Description | |
---|---|---|
Dispose |
Destructor.
| |
GetDeviceList |
Retrieves a String readable list of all available and compatible Capture Devices on the
System.
| |
GetFrame |
Retrieves a raw frame containing timing information of capture (MediaBuffer.startTime)
and duration based on the FPS of the selected profile (MediaBuffer.EndTime). The timing
information is relative to the time VideoCaptureDevice.Start was called.
(Overrides CaptureDeviceGetFrame.) | |
SelectCaptureDeviceFormat |
Select metrics for a previously selected device.
| |
SelectDevice |
Selects a capture device to be used and returns metrics of that device.
| |
SetBufferProvider | ||
ShowSelectionDialog |
Shows a modal device and format selection form, that creates the video capture device for the user.
| |
Start |
Start the capturing process from the selected Device Name.
| |
Stop |
Stop Capture from device.
|
Name | Description | |
---|---|---|
OnSampleAvailable |
Event that is raised whenever a sample is available. Events and polling (GetNextSamples)
cannot be mixed.
|
Name | Description | |
---|---|---|
Copy | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) | |
Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) |
Video capture devices can only be started once on a system. To re-use a VideoCaptureDevice the CaptureDeviceMulticastProvider can help provide multiple streams from a capture device in a single process.