FMIceLinkSdpQualityAttribute Class Reference

Inherits from FMIceLinkSdpAttribute : NSObject
Declared in FMIceLinkSdpQualityAttribute.h
FMIceLinkSdpQualityAttribute.m

Overview

This gives a suggestion for the [quality](#//api/name/quality) of the encoding as an integer value. The intention of the [quality](#//api/name/quality) attribute for video is to specify a non-default trade-off between frame-rate and still-image [quality](#//api/name/quality). For video, the value is in the range 0 to 10, with the following suggested meaning: 10 - the best still-image [quality](#//api/name/quality) the compression scheme can give. 5 - the default behaviour given no [quality](#//api/name/quality) suggestion. 0 - the worst still-image [quality](#//api/name/quality) the codec designer thinks is still usable. It is a media-level attribute, and it is not dependent on charset.

+ fromAttributeValue:

Initializes a new instance of the FMIceLinkSdpQualityAttribute class.
+ (FMIceLinkSdpQualityAttribute *)fromAttributeValue:(NSString *)value

Parameters

value

The attribute value.

Discussion

Initializes a new instance of the FMIceLinkSdpQualityAttribute class.

Declared In

FMIceLinkSdpQualityAttribute.h

– getAttributeValue

Gets the internal value of the attribute.
- (NSString *)getAttributeValue

Discussion

Gets the internal value of the attribute.

Declared In

FMIceLinkSdpQualityAttribute.h

– initWithQuality:

Initializes a new instance of the FMIceLinkSdpQualityAttribute class.
- (instancetype)initWithQuality:(uint8_t)quality

Parameters

quality

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

Discussion

Initializes a new instance of the FMIceLinkSdpQualityAttribute class.

Declared In

FMIceLinkSdpQualityAttribute.h

– quality

Gets the suggested quality of the encoding as an integer value from 0-10.
- (uint8_t)quality

Discussion

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

Declared In

FMIceLinkSdpQualityAttribute.h

+ qualityAttributeWithQuality:

Initializes a new instance of the FMIceLinkSdpQualityAttribute class.
+ (FMIceLinkSdpQualityAttribute *)qualityAttributeWithQuality:(uint8_t)quality

Parameters

quality

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

Discussion

Initializes a new instance of the FMIceLinkSdpQualityAttribute class.

Declared In

FMIceLinkSdpQualityAttribute.h