• 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 StaticImageCapture

    Class for reading a static image from a JPEG file and sending the image bytes to a remote endpoint

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

    Constructors

    StaticImageCapture(string, int, int, int)

    Constructor

    Declaration
    public StaticImageCapture(string jpegFile, int framesPerSecond, int Width, int Height)
    Parameters
    Type Name Description
    string jpegFile

    The file path to the JPEG file containing the static image to read.

    int framesPerSecond

    Frames per second. Must be between 1 and 60. If outside of this range, then a default value of 30 frames/second will be used.

    int Width

    The desired image width in pixels

    int Height

    The desired image height in pixels

    Methods

    StartCapture()

    Starts the capture process

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

    StopCapture()

    Stops the capture process

    Declaration
    public Task StopCapture()
    Returns
    Type Description
    Task

    Events

    FrameBitmapReady

    This event is fired periodically at the specified frame rate.

    Declaration
    public event FrameBitmapReadyDelegate? FrameBitmapReady
    Event Type
    Type Description
    FrameBitmapReadyDelegate

    FrameReady

    This event is fired periodically at the specified frame rate.

    Declaration
    public event FrameReadyDelegate? FrameReady
    Event Type
    Type Description
    FrameReadyDelegate

    Implements

    IVideoCapture
    In this article
    Back to top Generated by DocFX