Search Results for

    Show / Hide Table of Contents

    Class QualityAttribute

    This gives a suggestion for the quality of the encoding as an integer value. The intention of the quality attribute for video is to specify a non-default trade-off between frame-rate and still-image quality. For video, the value is in the range 0 to 10, with the following suggested meaning:

    10 - the best still-image quality the compression scheme can give. 5 - the default behaviour given no quality suggestion. 0 - the worst still-image quality the codec designer thinks is still usable.

    It is a media-level attribute, and it is not dependent on charset.

    Inheritance
    System.Object
    Attribute
    QualityAttribute
    Inherited Members
    Attribute.AttributeType
    Attribute.MultiplexingCategory
    Attribute.GetTypeName(Type)
    Attribute.IsSessionLevel(Type)
    Attribute.IsMediaLevel(Type)
    Attribute.CreateAttribute(String, String)
    Attribute.ToString()
    Attribute.Parse(String)
    Namespace: FM.LiveSwitch.Sdp
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class QualityAttribute : Attribute

    Constructors

    QualityAttribute(Byte)

    Initializes a new instance of the QualityAttribute class.

    Declaration
    public QualityAttribute(byte quality)
    Parameters
    Type Name Description
    System.Byte quality

    The suggested quality of the encoding as an integer value from 0-10.

    Properties

    Quality

    Gets or sets the suggested quality of the encoding as an integer value from 0-10.

    Declaration
    public byte Quality { get; }
    Property Value
    Type Description
    System.Byte

    Methods

    FromAttributeValue(String)

    Initializes a new instance of the QualityAttribute class.

    Declaration
    public static QualityAttribute FromAttributeValue(string value)
    Parameters
    Type Name Description
    System.String value

    The attribute value.

    Returns
    Type Description
    QualityAttribute

    GetAttributeValue()

    Gets the internal value of the attribute.

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