Class for capturing video data with webcamera devices.
| C# | Visual Basic | Visual C++ |
public class WebCamera : VideoHandler, IMediaControl
Public Class WebCamera _ Inherits VideoHandler _ Implements IMediaControl
public ref class WebCamera : public VideoHandler, IMediaControl
| All Members | Methods | Properties | Events | ||
| Icon | Member | Description |
|---|---|---|
| Capabilities |
Gets the supported resolutions and frame rates for the selected capturing device.
| |
| Capturing |
Gets a boolean value indicating whether the capuring is started.
| |
| CurrentFrameRate |
Gets the current frame rate of the capture.
| |
| DataReceived(Object, VoIPEventArgs<(Of <<'(VideoData>)>>)) |
This will be called when media data received from a media handler.
(Overrides VideoHandler.DataReceived(Object, VoIPEventArgs<(Of <<'(VideoData>)>>)).) | |
| DataSent |
Event that occurs when the data is ready to send.
(Inherited from VideoHandler.) | |
| DesiredFrameRate |
Gets or sets the average frame rate of the capturing device.
| |
| DeviceID |
Gets the identifier of the selected capturing device.
| |
| DeviceName |
Gets the name of the selected capturing device.
| |
| DisplayPropertiesWindow()()()() |
Displays the properties window of the camera.
| |
| Dispose(Boolean) | Releases the unmanaged resources used by the WebCamera and optionally releases the managed resources (Overrides VoIPMediaHandler.Dispose(Boolean).) | |
| Dispose()()()() |
Disposes the object.
(Inherited from VoIPMediaHandler.) | |
| Finalize()()()() | (Inherited from VoIPMediaHandler.) | |
| GetDefaultDevice()()()() |
Retreives the default webcamera device.
| |
| GetDevice(VideoDeviceInfo, Resolution, Int32) |
Retreives the specified webcamera device with additional parameters.
| |
| GetDevice(VideoDeviceInfo) |
Retreives the specified webcamera device.
| |
| GetDevices()()()() |
Retrieves the available webcamera devices.
| |
| MediaFormat |
Gets the format of the media handler.
(Inherited from VideoHandler.) | |
| MediaFormatChanged |
Occurs when the MediaFormat of the media handler has changed.
(Inherited from VideoHandler.) | |
| Resolution |
Gets or sets the current resolution of the selected capturing device.
| |
| SendData(VideoData) |
Sends media data to the connected media handlers.
(Inherited from VideoHandler.) | |
| Start()()()() |
Starts the capturing from the selected webcamera.
Throws an Exception when no webcamera selected.
| |
| Stop()()()() |
Stops the capturing.
|
| Object | |||
| VoIPMediaHandler | |||
| VideoHandler | |||
| WebCamera | |||