FMLiveSwitchSdpAttribute Class Reference

An SDP attribute. More...

Instance Methods

(FMLiveSwitchSdpAttributeType) - attributeType
 Gets this Attribute's Type. More...
 
(NSString *) - description
 Converts this instance to a string. More...
 
(NSString *) - getAttributeValue
 Gets the internal value of the attribute. 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

(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

An SDP attribute.

Method Documentation

◆ attribute

+ (FMLiveSwitchSdpAttribute*) attribute

◆ attributeType

- (FMLiveSwitchSdpAttributeType) attributeType

Gets this Attribute's Type.

◆ createAttributeWithName:value:

+ (FMLiveSwitchSdpAttribute*) createAttributeWithName: (NSString *)  name
value: (NSString *)  value 

Creates an attribute.

Parameters
nameThe name.
valueThe value.

◆ description

- (NSString*) description

Converts this instance to a string.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implemented in FMLiveSwitchSdpUnknownAttribute, FMLiveSwitchSdpToolAttribute, FMLiveSwitchSdpSetupAttribute, FMLiveSwitchSdpSendReceiveAttribute, FMLiveSwitchSdpSendOnlyAttribute, FMLiveSwitchSdpSdpLanguageAttribute, FMLiveSwitchSdpSctpPortAttribute, FMLiveSwitchSdpSctpMaxMessageSizeAttribute, FMLiveSwitchSdpSctpMapAttribute, FMLiveSwitchSdpRtpSsrcGroupAttribute, FMLiveSwitchSdpRtpSsrcAttribute, FMLiveSwitchSdpRtpSimulcastAttribute, FMLiveSwitchSdpRtpRidAttribute, FMLiveSwitchSdpRtpMapAttribute, FMLiveSwitchSdpRtpExtMapAttribute, FMLiveSwitchSdpRtcpMuxAttribute, FMLiveSwitchSdpRtcpFeedbackAttribute, FMLiveSwitchSdpRtcpAttribute, FMLiveSwitchSdpReceiveOnlyAttribute, FMLiveSwitchSdpQualityAttribute, FMLiveSwitchSdpPacketTimeAttribute, FMLiveSwitchSdpOrientationAttribute, FMLiveSwitchSdpMutedAttribute, FMLiveSwitchSdpMediaStreamIdSemanticAttribute, FMLiveSwitchSdpMediaStreamIdAttribute, FMLiveSwitchSdpMaxPacketTimeAttribute, FMLiveSwitchSdpLanguageAttribute, FMLiveSwitchSdpKeywordsAttribute, FMLiveSwitchSdpInactiveAttribute, FMLiveSwitchSdpIceUfragAttribute, FMLiveSwitchSdpIceRemoteCandidatesAttribute, FMLiveSwitchSdpIcePasswordAttribute, FMLiveSwitchSdpIceOptionsAttribute, FMLiveSwitchSdpIceMismatchAttribute, FMLiveSwitchSdpIceLiteAttribute, FMLiveSwitchSdpIceFingerprintAttribute, FMLiveSwitchSdpIceCandidateAttribute, FMLiveSwitchSdpGroupAttribute, FMLiveSwitchSdpFrameRateAttribute, FMLiveSwitchSdpFormatParametersAttribute, FMLiveSwitchSdpCryptoAttribute, FMLiveSwitchSdpContentAttribute, FMLiveSwitchSdpConferenceTypeAttribute, FMLiveSwitchSdpCharacterSetAttribute, FMLiveSwitchSdpCategoryAttribute, and FMLiveSwitchSdpBundleOnlyAttribute.

◆ getTypeNameWithType:

+ (NSString*) getTypeNameWithType: (Class)  type

Gets the name of the attribute type.

Parameters
typeThe attribute type.

◆ init

◆ isMediaLevelWithType:

+ (bool) isMediaLevelWithType: (Class)  type

Determines whether the type applies to media streams.

Parameters
typeThe type.

◆ isSessionLevelWithType:

+ (bool) isSessionLevelWithType: (Class)  type

Determines whether the type applies to sessions.

Parameters
typeThe type.

◆ multiplexingCategory

- (FMLiveSwitchSdpAttributeCategory) multiplexingCategory

Gets the Multiplexing Category of this Attribute.

◆ parseWithS:

+ (FMLiveSwitchSdpAttribute*) parseWithS: (NSString *)  s

Creates an FMLiveSwitchSdpConnectionData instance from a string.

Parameters
sThe string to parse.

◆ setAttributeType:

- (void) setAttributeType: (FMLiveSwitchSdpAttributeType)  value

Sets this Attribute's Type.

◆ setMultiplexingCategory:

- (void) setMultiplexingCategory: (FMLiveSwitchSdpAttributeCategory)  value

Sets the Multiplexing Category of this Attribute.