This gives a suggestion for the quality of the encoding as an integer value. More...
Instance Methods | |
(NSString *) | - getAttributeValue |
Gets the internal value of the attribute. More... | |
(instancetype) | - initWithQuality: |
Initializes a new instance of the FMLiveSwitchSdpQualityAttribute class. More... | |
(uint8_t) | - quality |
Gets the suggested quality of the encoding as an integer value from 0-10. More... | |
Instance Methods inherited from FMLiveSwitchSdpAttribute | |
(FMLiveSwitchSdpAttributeType) | - attributeType |
Gets this Attribute's Type. More... | |
(NSString *) | - description |
Converts this instance to a string. More... | |
(instancetype) | - init |
(FMLiveSwitchSdpAttributeCategory) | - multiplexingCategory |
Gets the Multiplexing Category of this Attribute. More... | |
(void) | - setAttributeType: |
Sets this Attribute's Type. More... | |
(void) | - setMultiplexingCategory: |
Sets the Multiplexing Category of this Attribute. More... | |
Class Methods | |
(FMLiveSwitchSdpQualityAttribute *) | + fromAttributeValue: |
Initializes a new instance of the FMLiveSwitchSdpQualityAttribute class. More... | |
(FMLiveSwitchSdpQualityAttribute *) | + qualityAttributeWithQuality: |
Initializes a new instance of the FMLiveSwitchSdpQualityAttribute class. More... | |
Class Methods inherited from FMLiveSwitchSdpAttribute | |
(FMLiveSwitchSdpAttribute *) | + attribute |
(FMLiveSwitchSdpAttribute *) | + createAttributeWithName:value: |
Creates an attribute. More... | |
(NSString *) | + getTypeNameWithType: |
Gets the name of the attribute type. More... | |
(bool) | + isMediaLevelWithType: |
Determines whether the type applies to media streams. More... | |
(bool) | + isSessionLevelWithType: |
Determines whether the type applies to sessions. More... | |
(FMLiveSwitchSdpAttribute *) | + parseWithS: |
Creates an FMLiveSwitchSdpConnectionData instance from a string. 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.
+ (FMLiveSwitchSdpQualityAttribute*) fromAttributeValue: | (NSString *) | value |
Initializes a new instance of the FMLiveSwitchSdpQualityAttribute class.
value | The attribute value. |
- (NSString*) getAttributeValue |
Gets the internal value of the attribute.
Implements FMLiveSwitchSdpAttribute.
- (instancetype) initWithQuality: | (uint8_t) | quality |
Initializes a new instance of the FMLiveSwitchSdpQualityAttribute class.
quality | The suggested quality of the encoding as an integer value from 0-10. |
- (uint8_t) quality |
Gets the suggested quality of the encoding as an integer value from 0-10.
+ (FMLiveSwitchSdpQualityAttribute*) qualityAttributeWithQuality: | (uint8_t) | quality |
Initializes a new instance of the FMLiveSwitchSdpQualityAttribute class.
quality | The suggested quality of the encoding as an integer value from 0-10. |