This gives a suggestion for the quality of the encoding as an integer value. More...
Public Member Functions | |
byte | getQuality () |
Gets the suggested quality of the encoding as an integer value from 0-10. More... | |
QualityAttribute (byte quality) | |
Initializes a new instance of the fm.liveswitch.sdp.QualityAttribute class. More... | |
Public Member Functions inherited from fm.liveswitch.sdp.Attribute | |
fm.liveswitch.sdp.AttributeType | getAttributeType () |
Gets this Attribute's Type. More... | |
fm.liveswitch.sdp.AttributeCategory | getMultiplexingCategory () |
Gets the Multiplexing Category of this Attribute. More... | |
void | setAttributeType (fm.liveswitch.sdp.AttributeType value) |
Sets this Attribute's Type. More... | |
String | toString () |
Converts this instance to a string. More... | |
Static Public Member Functions | |
static fm.liveswitch.sdp.QualityAttribute | fromAttributeValue (String value) |
Initializes a new instance of the fm.liveswitch.sdp.QualityAttribute class. More... | |
Static Public Member Functions inherited from fm.liveswitch.sdp.Attribute | |
static fm.liveswitch.sdp.Attribute | createAttribute (String name, String value) |
Creates an attribute. More... | |
static String | getTypeName (@SuppressWarnings("rawtypes") Class type) |
Gets the name of the attribute type. More... | |
static boolean | isMediaLevel (@SuppressWarnings("rawtypes") Class type) |
Determines whether the type applies to media streams. More... | |
static boolean | isSessionLevel (@SuppressWarnings("rawtypes") Class type) |
Determines whether the type applies to sessions. More... | |
static fm.liveswitch.sdp.Attribute | parse (String s) |
Creates an fm.liveswitch.sdp.ConnectionData instance from a string. More... | |
Protected Member Functions | |
String | getAttributeValue () |
Gets the internal value of the attribute. More... | |
Protected Member Functions inherited from fm.liveswitch.sdp.Attribute | |
Attribute () | |
void | setMultiplexingCategory (fm.liveswitch.sdp.AttributeCategory value) |
Sets the Multiplexing Category of this Attribute. More... | |
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.
fm.liveswitch.sdp.QualityAttribute.QualityAttribute | ( | byte | quality | ) |
Initializes a new instance of the fm.liveswitch.sdp.QualityAttribute class.
quality | The suggested quality of the encoding as an integer value from 0-10. |
|
static |
Initializes a new instance of the fm.liveswitch.sdp.QualityAttribute class.
value | The attribute value. |
|
protected |
Gets the internal value of the attribute.
Reimplemented from fm.liveswitch.sdp.Attribute.
byte fm.liveswitch.sdp.QualityAttribute.getQuality | ( | ) |
Gets the suggested quality of the encoding as an integer value from 0-10.