• Articles
  • Api Documentation
Search Results for

    Show / Hide Table of Contents
    • CameraCapture
      • VideoDeviceFormat
      • VideoSourceSettings
      • WindowsCameraCapture
    • SipLib.Video.Windows
      • FrameBitmapReadyDelegate
      • FrameReadyDelegate
      • IVideoCapture
      • StaticImageCapture
      • VideoDeviceEnumerator
      • VideoReceiver
      • VideoSender
      • VideoUtils

    Class WindowsCameraCapture

    Class for capturing video frames from a camera on a Windows computer.

    Inheritance
    object
    WindowsCameraCapture
    Implements
    IVideoCapture
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CameraCapture
    Assembly: SipLib.Video.Windows.dll
    Syntax
    public class WindowsCameraCapture : IVideoCapture

    Constructors

    | Edit this page View Source

    WindowsCameraCapture(VideoSourceSettings)

    Constructor.

    Declaration
    public WindowsCameraCapture(VideoSourceSettings videoSourceSettings)
    Parameters
    Type Name Description
    VideoSourceSettings videoSourceSettings

    Video device and format settings.

    Methods

    | Edit this page View Source

    StartCapture()

    Starts capturing video frames.

    Declaration
    public Task<bool> StartCapture()
    Returns
    Type Description
    Task<bool>

    Returns true if the capture was successfully started, or false if an error occurred.

    | Edit this page View Source

    StopCapture()

    Stops the capture process.

    Declaration
    public Task StopCapture()
    Returns
    Type Description
    Task

    Events

    | Edit this page View Source

    FrameBitmapReady

    Event that is fired when a full video frame Bitmap object is ready for display.

    Declaration
    public event FrameBitmapReadyDelegate? FrameBitmapReady
    Event Type
    Type Description
    FrameBitmapReadyDelegate
    | Edit this page View Source

    FrameReady

    Event that is fired when a full frame has been captured.

    Declaration
    public event FrameReadyDelegate? FrameReady
    Event Type
    Type Description
    FrameReadyDelegate

    Implements

    IVideoCapture
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX