FMLiveSwitchSdpFrameRateAttribute Class Reference

This gives the maximum video frame rate in frames/sec. More...

Instance Methods

(NSString *) - frameRate
 Gets the maximum video frame rate in frames/second. More...
 
(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(instancetype) - initWithFrameRate:
 Initializes a new instance of the FMLiveSwitchSdpFrameRateAttribute class. 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

(FMLiveSwitchSdpFrameRateAttribute *) + frameRateAttributeWithFrameRate:
 Initializes a new instance of the FMLiveSwitchSdpFrameRateAttribute class. More...
 
(FMLiveSwitchSdpFrameRateAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpFrameRateAttribute 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...
 

Detailed Description

This gives the maximum video frame rate in frames/sec.

It is intended as a recommendation for the encoding of video data. Decimal representations of fractional values using the notation "integer.fraction" are allowed. It is a media-level attribute, defined only for video media, and it is not dependent on charset.

Method Documentation

◆ frameRate

- (NSString*) frameRate

Gets the maximum video frame rate in frames/second.

◆ frameRateAttributeWithFrameRate:

+ (FMLiveSwitchSdpFrameRateAttribute*) frameRateAttributeWithFrameRate: (NSString *)  frameRate

Initializes a new instance of the FMLiveSwitchSdpFrameRateAttribute class.

Parameters
frameRateThe maximum video frame rate in frames/second.

◆ fromAttributeValue:

+ (FMLiveSwitchSdpFrameRateAttribute*) fromAttributeValue: (NSString *)  value

Initializes a new instance of the FMLiveSwitchSdpFrameRateAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ initWithFrameRate:

- (instancetype) initWithFrameRate: (NSString *)  frameRate

Initializes a new instance of the FMLiveSwitchSdpFrameRateAttribute class.

Parameters
frameRateThe maximum video frame rate in frames/second.