Interface IVideoCapture
Interface that video capture classes must implement.
Namespace: SipLib.Video.Windows
Assembly: SipLib.Video.Windows.dll
Syntax
public interface IVideoCapture
Methods
StartCapture()
Starts the video capture process. Hook the events before calling this method.
Declaration
Task<bool> StartCapture()
Returns
| Type | Description |
|---|---|
| Task<bool> |
StopCapture()
Stops the video capture process. Unhook the events before calling this method.
Declaration
Task StopCapture()
Returns
| Type | Description |
|---|---|
| Task |
Events
FrameBitmapReady
This event is fired when a frame bitmap is available for preview display.
Declaration
event FrameBitmapReadyDelegate? FrameBitmapReady
Event Type
| Type | Description |
|---|---|
| FrameBitmapReadyDelegate |
FrameReady
This event is fired when a full frame is ready for encoding and transmission to a remote endpoint.
Declaration
event FrameReadyDelegate? FrameReady
Event Type
| Type | Description |
|---|---|
| FrameReadyDelegate |