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.
Inherited Members
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class QualityAttribute : Attribute
Constructors
QualityAttribute(Byte)
Initializes a new instance of the Quality
Declaration
public QualityAttribute(byte quality)
Parameters
Type | Name | Description |
---|---|---|
System. |
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. |
Methods
FromAttributeValue(String)
Initializes a new instance of the Quality
Declaration
public static QualityAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The attribute value. |
Returns
Type | Description |
---|---|
Quality |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System. |