SMCodecToReplace Class Reference

Inherits from NSObject
Declared in SMCodecToReplace.h

+ createWithCodecDefinition:andPayloadNumber:

Constructor for CodecToReplace class

+ (nullable SMCodecToReplace *)createWithCodecDefinition:(NSString *_Nonnull)codecDefinition andPayloadNumber:(NSString *_Nonnull)payloadNumber

Parameters

codecDefinition

the codec that will be changed

payloadNumber

new payload number that will be assigned to the codec, as described in RFC5761 this should be chosen from the range 96-127.

@remark If the payload number not set in the range @b 96-127, a @b nil object will return.

Availability

4.5.8

Discussion

Constructor for CodecToReplace class

Declared In

SMCodecToReplace.h

+ createWithCodecDefinition:payloadNumber:andCustomProperties:

Constructor for CodecToReplace class

+ (nullable SMCodecToReplace *)createWithCodecDefinition:(NSString *_Nonnull)codecDefinition payloadNumber:(NSString *_Nonnull)payloadNumber andCustomProperties:(NSDictionary<NSString*,NSString*> *_Nullable)customProperties

Parameters

codecDefinition

the codec that will be changed

payloadNumber

new payload number that will be assigned to the codec, as described in RFC5761 this should be chosen from the range 96-127.

customProperties

properties of the codec that should be matched to original codec in order SDK to make the replace

@remark If the payload number not set in the range @b 96-127, a @b nil object will return.

Availability

4.5.8

Discussion

Constructor for CodecToReplace class

Declared In

SMCodecToReplace.h

  codecDefinition

Returns Codec Definition

@property (nonatomic, readonly, nonnull) NSString *codecDefinition

Discussion

Returns Codec Definition

Declared In

SMCodecToReplace.h

  payloadNumber

Returns Codec Payload Number

@property (nonatomic, readonly, nonnull) NSString *payloadNumber

Discussion

Returns Codec Payload Number

Declared In

SMCodecToReplace.h

  customProperties

Returns the Custom Codec Properties

@property (nonatomic, readonly, nullable) NSDictionary<NSString*NSString*> *customProperties

Discussion

Returns the Custom Codec Properties

Declared In

SMCodecToReplace.h