FMLiveSwitchSdpSctpPortAttribute Class Reference

The attribute can be associated with an SDP media description (m- line) with a 'UDP/DTLS/SCTP' or a 'TCP/DTLS/SCTP' proto value, in which case the m- line port value indicates the port of the underlying transport-layer protocol (UDP or TCP), on which SCTP is carried, and the 'sctp-port' value indicates the SCTP port. More...

Instance Methods

(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(instancetype) - initWithPort:
 Initializes a new instance of the FMLiveSwitchSdpSctpPortAttribute class. More...
 
(int) - port
 Gets the SCTP port. 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

(FMLiveSwitchSdpSctpPortAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpSctpPortAttribute class. More...
 
(FMLiveSwitchSdpSctpPortAttribute *) + portAttributeWithPort:
 Initializes a new instance of the FMLiveSwitchSdpSctpPortAttribute 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 SDP media description (m- line) with a 'UDP/DTLS/SCTP' or a 'TCP/DTLS/SCTP' proto value, in which case the m- line port value indicates the port of the underlying transport-layer protocol (UDP or TCP), on which SCTP is carried, and the 'sctp-port' value indicates the SCTP port.

Method Documentation

◆ fromAttributeValue:

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

Initializes a new instance of the FMLiveSwitchSdpSctpPortAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ initWithPort:

- (instancetype) initWithPort: (int)  port

Initializes a new instance of the FMLiveSwitchSdpSctpPortAttribute class.

Parameters
portThe SCTP port.

◆ port

- (int) port

Gets the SCTP port.

◆ portAttributeWithPort:

+ (FMLiveSwitchSdpSctpPortAttribute*) portAttributeWithPort: (int)  port

Initializes a new instance of the FMLiveSwitchSdpSctpPortAttribute class.

Parameters
portThe SCTP port.