Search Results for

    Show / Hide Table of Contents

    Class VideoConfig

    A video configuration.

    Inheritance
    System.Object
    MediaConfig<VideoConfig>
    VideoConfig
    Inherited Members
    MediaConfig<VideoConfig>.ClockRate
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class VideoConfig : MediaConfig<VideoConfig>

    Constructors

    VideoConfig(Size, Double)

    Initializes a new instance of the VideoConfig class.

    Declaration
    public VideoConfig(Size size, double frameRate)
    Parameters
    Type Name Description
    Size size

    The size.

    System.Double frameRate

    The frame rate.

    VideoConfig(Size, Double, Int32)

    Initializes a new instance of the VideoConfig class.

    Declaration
    public VideoConfig(Size size, double frameRate, int clockRate)
    Parameters
    Type Name Description
    Size size

    The size.

    System.Double frameRate

    The frame rate.

    System.Int32 clockRate

    The clock rate.

    VideoConfig(Int32, Int32, Double)

    Initializes a new instance of the VideoConfig class.

    Declaration
    public VideoConfig(int width, int height, double frameRate)
    Parameters
    Type Name Description
    System.Int32 width

    The width.

    System.Int32 height

    The height.

    System.Double frameRate

    The frame rate.

    VideoConfig(Int32, Int32, Double, Int32)

    Initializes a new instance of the VideoConfig class.

    Declaration
    public VideoConfig(int width, int height, double frameRate, int clockRate)
    Parameters
    Type Name Description
    System.Int32 width

    The width.

    System.Int32 height

    The height.

    System.Double frameRate

    The frame rate.

    System.Int32 clockRate

    The clock rate.

    Properties

    FrameDuration

    Gets the frame duration in milliseconds.

    Declaration
    public double FrameDuration { get; }
    Property Value
    Type Description
    System.Double

    FrameRate

    Gets or sets the frame-rate.

    Declaration
    public double FrameRate { get; set; }
    Property Value
    Type Description
    System.Double

    Height

    Gets the size height.

    Declaration
    public int Height { get; }
    Property Value
    Type Description
    System.Int32

    Size

    Gets or sets the size.

    Declaration
    public Size Size { get; set; }
    Property Value
    Type Description
    Size

    Width

    Gets the size width.

    Declaration
    public int Width { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    IsEquivalent(VideoConfig)

    Determines whether the specified configuration is equivalent.

    Declaration
    public override bool IsEquivalent(VideoConfig config)
    Parameters
    Type Name Description
    VideoConfig config

    The configuration.

    Returns
    Type Description
    System.Boolean
    Overrides
    FM.LiveSwitch.MediaConfig<FM.LiveSwitch.VideoConfig>.IsEquivalent(FM.LiveSwitch.VideoConfig)

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0