VisioForge (c) 2025

Search Results for

    Class HTTPMJPEGSourceSettings

    HTTP MJPEG source settings.

    Inheritance
    object
    HTTPSourceSettings
    HTTPMJPEGSourceSettings
    Implements
    IMediaPlayerBaseSourceSettings
    IVideoCaptureBaseVideoSourceSettings
    IVideoMixerSource
    IVideoSourceSettings
    IMediaBlockSettings
    Inherited Members
    HTTPSourceSettings.AutomaticRedirect
    HTTPSourceSettings.Compress
    HTTPSourceSettings.Cookies
    HTTPSourceSettings.ExtraHeaders
    HTTPSourceSettings.HTTPLogLevel
    HTTPSourceSettings.InternetRadioMode
    HTTPSourceSettings.IsLive
    HTTPSourceSettings.KeepAlive
    HTTPSourceSettings.Location
    HTTPSourceSettings.Method
    HTTPSourceSettings.Proxy
    HTTPSourceSettings.ProxyUserId
    HTTPSourceSettings.ProxyPassword
    HTTPSourceSettings.Retries
    HTTPSourceSettings.SSLCAFile
    HTTPSourceSettings.SSLStrict
    HTTPSourceSettings.SSLUseSystemCAFile
    HTTPSourceSettings.Timeout
    HTTPSourceSettings.UserAgent
    HTTPSourceSettings.UserID
    HTTPSourceSettings.UserPassword
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.Types.X.Sources
    Assembly: VisioForge.Core.dll
    Syntax
    public class HTTPMJPEGSourceSettings : HTTPSourceSettings, IMediaPlayerBaseSourceSettings, IVideoCaptureBaseVideoSourceSettings, IVideoMixerSource, IVideoSourceSettings, IMediaBlockSettings

    Properties

    CustomVideoFrameRate

    Gets or sets the custom video frame rate. Usually MJPEG cameras do not provide frame rate information.

    Declaration
    public VideoFrameRate CustomVideoFrameRate { get; set; }
    Property Value
    Type Description
    VideoFrameRate

    The custom video frame rate.

    Latency

    Gets or sets the latency (buffer size).

    Declaration
    public TimeSpan Latency { get; set; }
    Property Value
    Type Description
    TimeSpan

    Methods

    CreateAsync(Uri, string, string, bool)

    Create as an asynchronous operation.

    Declaration
    public static Task<HTTPMJPEGSourceSettings> CreateAsync(Uri uri, string login = null, string password = null, bool readInfo = true)
    Parameters
    Type Name Description
    Uri uri

    The URI.

    string login

    The login.

    string password

    The password.

    bool readInfo

    if set to true to read information. Disable only if you have some issues.

    Returns
    Type Description
    Task<HTTPMJPEGSourceSettings>

    A Task<RTSPSourceSettings> representing the asynchronous operation.

    CreateBlock()

    Creates the block.

    Declaration
    public MediaBlock CreateBlock()
    Returns
    Type Description
    MediaBlock

    MediaBlock.

    GetInfo()

    Gets the information. Call the ReadInfoAsync method to get the information first.

    Declaration
    public MediaFileInfo GetInfo()
    Returns
    Type Description
    MediaFileInfo

    MediaFileInfo.

    IsAudioAvailable()

    Determines whether audio available.

    Declaration
    public bool IsAudioAvailable()
    Returns
    Type Description
    bool

    true if audio available; otherwise, false.

    IsVideoAvailable()

    Determines whether video available.

    Declaration
    public bool IsVideoAvailable()
    Returns
    Type Description
    bool

    true if video available; otherwise, false.

    ReadInfoAsync()

    Read information as an asynchronous operation.

    Declaration
    public Task<MediaFileInfo> ReadInfoAsync()
    Returns
    Type Description
    Task<MediaFileInfo>

    A Task<MediaFileInfo> representing the asynchronous operation.

    Implements

    IMediaPlayerBaseSourceSettings
    IVideoCaptureBaseVideoSourceSettings
    IVideoMixerSource
    IVideoSourceSettings
    IMediaBlockSettings