FMIceLinkSdpSctpPortAttribute Class Reference

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

Overview

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](#//api/name/port) value indicates the [port](#//api/name/port) of the underlying transport-layer protocol (UDP or TCP), on which SCTP is carried, and the 'sctp-port' value indicates the SCTP [port](#//api/name/port).

+ fromAttributeValue:

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

Parameters

value

The attribute value.

Discussion

Initializes a new instance of the FMIceLinkSdpSctpPortAttribute class.

Declared In

FMIceLinkSdpSctpPortAttribute.h

– getAttributeValue

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

Discussion

Gets the internal value of the attribute.

Declared In

FMIceLinkSdpSctpPortAttribute.h

– initWithPort:

Initializes a new instance of the FMIceLinkSdpSctpPortAttribute class.
- (instancetype)initWithPort:(int)port

Parameters

port

The SCTP port.

Discussion

Initializes a new instance of the FMIceLinkSdpSctpPortAttribute class.

Declared In

FMIceLinkSdpSctpPortAttribute.h

– port

Gets the SCTP port.
- (int)port

Discussion

Gets the SCTP port.

Declared In

FMIceLinkSdpSctpPortAttribute.h

+ portAttributeWithPort:

Initializes a new instance of the FMIceLinkSdpSctpPortAttribute class.
+ (FMIceLinkSdpSctpPortAttribute *)portAttributeWithPort:(int)port

Parameters

port

The SCTP port.

Discussion

Initializes a new instance of the FMIceLinkSdpSctpPortAttribute class.

Declared In

FMIceLinkSdpSctpPortAttribute.h