FMIceLinkSdpSctpMapAttribute Class Reference

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

Overview

AB: Legacy attribute. To be removed when Firefox and Chrome stop using it. The sctpmap attribute maps from a port number (as used in an "m=" line) to an encoding name denoting the payload format to be used on top of the SCTP association or the actual protocol running on top of it. Last appears in [https://tools.ietf.org/html/draft-ietf-mmusic-sctp-sdp-06](https://tools.ietf.org/html/draft-ietf-mmusic-sctp-sdp-06)#page-6 Has been replaced in subsequent drafts but is used in Firefox and Chrome for now.

+ fromAttributeValue:

Initializes a new instance of the [FMIceLinkSdpSctpPortAttribute](../Classes/FMIceLinkSdpSctpPortAttribute.html) class.
+ (FMIceLinkSdpSctpMapAttribute *)fromAttributeValue:(NSString *)value

Parameters

value

The attribute value.

Discussion

Initializes a new instance of the [FMIceLinkSdpSctpPortAttribute](../Classes/FMIceLinkSdpSctpPortAttribute.html) class.

Declared In

FMIceLinkSdpSctpMapAttribute.h

– getAttributeValue

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

Discussion

Gets the internal value of the attribute.

Declared In

FMIceLinkSdpSctpMapAttribute.h

– initWithPort:protocol:streams:

Initializes a new instance of the [FMIceLinkSdpSctpPortAttribute](../Classes/FMIceLinkSdpSctpPortAttribute.html) class.
- (instancetype)initWithPort:(int)port protocol:(NSString *)protocol streams:(int)streams

Parameters

port

The SCTP port.

protocol

The protocol.

streams

The streams.

Discussion

Initializes a new instance of the [FMIceLinkSdpSctpPortAttribute](../Classes/FMIceLinkSdpSctpPortAttribute.html) class.

Declared In

FMIceLinkSdpSctpMapAttribute.h

+ mapAttributeWithPort:protocol:streams:

Initializes a new instance of the [FMIceLinkSdpSctpPortAttribute](../Classes/FMIceLinkSdpSctpPortAttribute.html) class.
+ (FMIceLinkSdpSctpMapAttribute *)mapAttributeWithPort:(int)port protocol:(NSString *)protocol streams:(int)streams

Parameters

port

The SCTP port.

protocol

The protocol.

streams

The streams.

Discussion

Initializes a new instance of the [FMIceLinkSdpSctpPortAttribute](../Classes/FMIceLinkSdpSctpPortAttribute.html) class.

Declared In

FMIceLinkSdpSctpMapAttribute.h

– port

Gets the SCTP port.
- (int)port

Discussion

Gets the SCTP port.

Declared In

FMIceLinkSdpSctpMapAttribute.h

– sctpProtocol

Gets the SCTP sub-protocol (association usage).
- (NSString *)sctpProtocol

Discussion

Gets the SCTP sub-protocol (association usage).

Declared In

FMIceLinkSdpSctpMapAttribute.h

– streams

Gets the number of incoming streams.
- (int)streams

Discussion

Gets the number of incoming streams.

Declared In

FMIceLinkSdpSctpMapAttribute.h