FMLiveSwitchSdpSctpMaxMessageSizeAttribute Class Reference

The attribute can be associated with an m- line to indicate the maximum message size (indicated in bytes) that an SCTP endpoint is willing to receive on the SCTP association associated with the m- line. More...

Instance Methods

(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(instancetype) - initWithMaxMessageSize:
 Initializes a new instance of the FMLiveSwitchSdpSctpMaxMessageSizeAttribute class. More...
 
(long long) - maxMessageSize
 Gets the maximum message size in bytes. 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

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

The attribute can be associated with an m- line to indicate the maximum message size (indicated in bytes) that an SCTP endpoint is willing to receive on the SCTP association associated with the m- line.

Different attribute values can be used in each direction.

Method Documentation

◆ fromAttributeValue:

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

Initializes a new instance of the FMLiveSwitchSdpSctpMaxMessageSizeAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ initWithMaxMessageSize:

- (instancetype) initWithMaxMessageSize: (long long)  maxMessageSize

Initializes a new instance of the FMLiveSwitchSdpSctpMaxMessageSizeAttribute class.

Parameters
maxMessageSizeThe maximum message size in bytes.

◆ maxMessageSize

- (long long) maxMessageSize

Gets the maximum message size in bytes.

◆ maxMessageSizeAttributeWithMaxMessageSize:

+ (FMLiveSwitchSdpSctpMaxMessageSizeAttribute*) maxMessageSizeAttributeWithMaxMessageSize: (long long)  maxMessageSize

Initializes a new instance of the FMLiveSwitchSdpSctpMaxMessageSizeAttribute class.

Parameters
maxMessageSizeThe maximum message size in bytes.