FMIceLinkDtmfSender Class Reference

Inherits from FMIceLinkAudioPacketizer : FMIceLinkAudioPipe : FMIceLinkMediaPipe : FMIceLinkDynamic : FMIceLinkSerializable : NSObject
Declared in FMIceLinkDtmfSender.h
FMIceLinkDtmfSender.m

Overview

A DTMF (telephone-event) [sender](#//api/name/sender).

– addOnTone:

Adds a handler that is raised when a [tone](#//api/name/tone) is sent.
- (void)addOnTone:(FMIceLinkAction1 *)value

Discussion

Adds a handler that is raised when a [tone](#//api/name/tone) is sent.

Declared In

FMIceLinkDtmfSender.h

– addOnToneChange:

Adds a handler that is raised when the [tone](#//api/name/tone) changes. An empty string indicates the end of a [tone](#//api/name/tone).
- (void)addOnToneChange:(FMIceLinkAction1 *)value

Discussion

Adds a handler that is raised when the [tone](#//api/name/tone) changes. An empty string indicates the end of a [tone](#//api/name/tone).

Declared In

FMIceLinkDtmfSender.h

– addOnToneChangeWithBlock

Adds a handler that is raised when the [tone](#//api/name/tone) changes. An empty string indicates the end of a [tone](#//api/name/tone).
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkDtmfTone *) ))addOnToneChangeWithBlock

Discussion

Adds a handler that is raised when the [tone](#//api/name/tone) changes. An empty string indicates the end of a [tone](#//api/name/tone).

Declared In

FMIceLinkDtmfSender.h

– addOnToneChangeWithBlock:

Adds a handler that is raised when the [tone](#//api/name/tone) changes. An empty string indicates the end of a [tone](#//api/name/tone).
- (void)addOnToneChangeWithBlock:(void ( ^ ) ( FMIceLinkDtmfTone *))valueBlock

Discussion

Adds a handler that is raised when the [tone](#//api/name/tone) changes. An empty string indicates the end of a [tone](#//api/name/tone).

Declared In

FMIceLinkDtmfSender.h

– addOnToneWithBlock

Adds a handler that is raised when a [tone](#//api/name/tone) is sent.
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkDtmfTone *) ))addOnToneWithBlock

Discussion

Adds a handler that is raised when a [tone](#//api/name/tone) is sent.

Declared In

FMIceLinkDtmfSender.h

– addOnToneWithBlock:

Adds a handler that is raised when a [tone](#//api/name/tone) is sent.
- (void)addOnToneWithBlock:(void ( ^ ) ( FMIceLinkDtmfTone *))valueBlock

Discussion

Adds a handler that is raised when a [tone](#//api/name/tone) is sent.

Declared In

FMIceLinkDtmfSender.h

– doDestroy

Destroys this instance.
- (void)doDestroy

Discussion

Destroys this instance.

Declared In

FMIceLinkDtmfSender.h

– doProcessFrame:inputBuffer:

Processes a frame.
- (void)doProcessFrame:(FMIceLinkAudioFrame *)frame inputBuffer:(FMIceLinkAudioBuffer *)inputBuffer

Parameters

frame

The frame.

inputBuffer

The input buffer.

Discussion

Processes a frame.

Declared In

FMIceLinkDtmfSender.h

– hasTone

Determines whether any tones are queued for delivery.
- (bool)hasTone

Discussion

Determines whether any tones are queued for delivery.

Declared In

FMIceLinkDtmfSender.h

– init

Initializes a new instance of the FMIceLinkDtmfSender class.
- (instancetype)init

Discussion

Initializes a new instance of the FMIceLinkDtmfSender class.

Declared In

FMIceLinkDtmfSender.h

– initWithClockRate:

Initializes a new instance of the FMIceLinkDtmfSender class.
- (instancetype)initWithClockRate:(int)clockRate

Parameters

clockRate

The clock rate.

Discussion

Initializes a new instance of the FMIceLinkDtmfSender class.

Declared In

FMIceLinkDtmfSender.h

– insertTones:

Inserts tones into the DTMF stream.
- (void)insertTones:(NSMutableArray *)tones

Parameters

tones

The tones.

Discussion

Inserts tones into the DTMF stream.

Declared In

FMIceLinkDtmfSender.h

– label

Gets a label that identifies this class.
- (NSString *)label

Discussion

Gets a label that identifies this class.

Declared In

FMIceLinkDtmfSender.h

– raiseToneWithDuration:timestamp:synchronizationSource:

Adds the next [tone](#//api/name/tone) to the frame.
- (bool)raiseToneWithDuration:(int)duration timestamp:(long long)timestamp synchronizationSource:(long long)synchronizationSource

Parameters

duration

The duration.

timestamp

The timestamp.

synchronizationSource

The synchronization source. @return

Discussion

Adds the next [tone](#//api/name/tone) to the frame.

Declared In

FMIceLinkDtmfSender.h

– removeOnTone:

Removes a handler that is raised when a [tone](#//api/name/tone) is sent.
- (void)removeOnTone:(FMIceLinkAction1 *)value

Discussion

Removes a handler that is raised when a [tone](#//api/name/tone) is sent.

Declared In

FMIceLinkDtmfSender.h

– removeOnToneChange:

Removes a handler that is raised when the [tone](#//api/name/tone) changes. An empty string indicates the end of a [tone](#//api/name/tone).
- (void)removeOnToneChange:(FMIceLinkAction1 *)value

Discussion

Removes a handler that is raised when the [tone](#//api/name/tone) changes. An empty string indicates the end of a [tone](#//api/name/tone).

Declared In

FMIceLinkDtmfSender.h

+ sender

Initializes a new instance of the FMIceLinkDtmfSender class.
+ (FMIceLinkDtmfSender *)sender

Discussion

Initializes a new instance of the FMIceLinkDtmfSender class.

Declared In

FMIceLinkDtmfSender.h

+ senderWithClockRate:

Initializes a new instance of the FMIceLinkDtmfSender class.
+ (FMIceLinkDtmfSender *)senderWithClockRate:(int)clockRate

Parameters

clockRate

The clock rate.

Discussion

Initializes a new instance of the FMIceLinkDtmfSender class.

Declared In

FMIceLinkDtmfSender.h

– tone

Gets the current tone.
- (FMIceLinkDtmfTone *)tone

Discussion

Gets the current tone.

Declared In

FMIceLinkDtmfSender.h