FMIceLinkSdpCryptoAttribute Class Reference

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

Overview

This gives the maximum amount of media that can be encapsulated in each packet, expressed as time in milliseconds. The time SHALL be calculated as the sum of the time the media present in the packet represents. For frame-based codecs, the time SHOULD be an integer multiple of the frame size. This attribute is probably only meaningful for audio data, but may be used with other media types if it makes sense. It is a media-level attribute, and it is not dependent on charset. Note that this attribute was introduced after RFC 2327, and non-updated implementations will ignore this attribute.

+ cryptoAttributeWithTag:cryptoSuite:

Initializes a new instance of the FMIceLinkSdpCryptoAttribute class.
+ (FMIceLinkSdpCryptoAttribute *)cryptoAttributeWithTag:(int)tag cryptoSuite:(NSString *)cryptoSuite

Parameters

tag

The tag.

cryptoSuite

The crypto suite.

Discussion

Initializes a new instance of the FMIceLinkSdpCryptoAttribute class.

Declared In

FMIceLinkSdpCryptoAttribute.h

– cryptoSuite

Gets the crypto suite. See FMIceLinkSdpCryptoAttribute#cryptoSuite for possible values.
- (NSString *)cryptoSuite

Discussion

Gets the crypto suite. See FMIceLinkSdpCryptoAttribute#cryptoSuite for possible values.

Declared In

FMIceLinkSdpCryptoAttribute.h

+ fromAttributeValue:

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

Parameters

value

The attribute value.

Discussion

Initializes a new instance of the FMIceLinkSdpCryptoAttribute class.

Declared In

FMIceLinkSdpCryptoAttribute.h

– getAttributeValue

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

Discussion

Gets the internal value of the attribute.

Declared In

FMIceLinkSdpCryptoAttribute.h

– getKey

Gets the key from the "inline" key parameter.
- (FMIceLinkDataBuffer *)getKey

Discussion

Gets the key from the "inline" key parameter.

Declared In

FMIceLinkSdpCryptoAttribute.h

– getSalt

Gets the salt from the "inline" key parameter.
- (FMIceLinkDataBuffer *)getSalt

Discussion

Gets the salt from the "inline" key parameter.

Declared In

FMIceLinkSdpCryptoAttribute.h

– initWithTag:cryptoSuite:

Initializes a new instance of the FMIceLinkSdpCryptoAttribute class.
- (instancetype)initWithTag:(int)tag cryptoSuite:(NSString *)cryptoSuite

Parameters

tag

The tag.

cryptoSuite

The crypto suite.

Discussion

Initializes a new instance of the FMIceLinkSdpCryptoAttribute class.

Declared In

FMIceLinkSdpCryptoAttribute.h

– keyParams

Gets the key parameters.
- (NSMutableDictionary *)keyParams

Discussion

Gets the key parameters.

Declared In

FMIceLinkSdpCryptoAttribute.h

– sessionParams

Gets the session parameters.
- (NSMutableArray *)sessionParams

Discussion

Gets the session parameters.

Declared In

FMIceLinkSdpCryptoAttribute.h

– setKeySaltWithKey:salt:

Sets the key and salt for the "inline" key parameter.
- (FMIceLinkSdpCryptoAttribute *)setKeySaltWithKey:(NSMutableData *)key salt:(NSMutableData *)salt

Parameters

key

The key.

salt

The salt.

Discussion

Sets the key and salt for the "inline" key parameter.

Declared In

FMIceLinkSdpCryptoAttribute.h

– setTag:

Sets the [tag](#//api/name/tag).
- (void)setTag:(int)value

Discussion

Sets the [tag](#//api/name/tag).

Declared In

FMIceLinkSdpCryptoAttribute.h

– tag

Gets the tag.
- (int)tag

Discussion

Gets the tag.

Declared In

FMIceLinkSdpCryptoAttribute.h