CAF: Caf Mixer Events

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Initialization and termination of mixer objects:)
(Inserting / removing call legs (or other mixers) from the mixer:: update new call back)
 
(One intermediate revision by one user not shown)
Line 11: Line 11:
  
 
=== Inserting / removing call legs (or other mixers) from the mixer: ===
 
=== Inserting / removing call legs (or other mixers) from the mixer: ===
  - OnMixerJoinDone()
+
  - OnMixerLegJoinDone()
  - OnMixerUnjoinDone()
+
  - OnMixerMixerJoinDone()
 +
- OnMixerLegUnjoinDone()
 +
- OnMixerMixerUnjoinDone()
  
 
=== Re-synchronization with [[Toolpack_Application:toolpack_engine|toolpack_engine]]: ===
 
=== Re-synchronization with [[Toolpack_Application:toolpack_engine|toolpack_engine]]: ===
Line 29: Line 31:
 
  - OnMixerStreamPlayingDone()
 
  - OnMixerStreamPlayingDone()
 
  - OnMixerStreamRecordingDone()
 
  - OnMixerStreamRecordingDone()
 
=== Digits (tone) and events: ===
 
- OnMixerDigitPlayingDone()
 
- OnMixerEventPlayingDone()
 

Latest revision as of 11:00, 13 August 2012

Contents

Events received from mixers by the CTBCAFCallFlow object

The call flow object (as well as all it's behaviors) receive the following events from it's mixers (please refer to the header file ITBCAFCallFlowMixer.hpp for more information on each of these functions):

Initialization and termination of mixer objects:

- OnMixerInit()
- OnMixerCreated()
- OnMixerTerminated()
- OnMixerFreed()
- OnMixerAttributeChanged()

Inserting / removing call legs (or other mixers) from the mixer:

- OnMixerLegJoinDone()
- OnMixerMixerJoinDone()
- OnMixerLegUnjoinDone()
- OnMixerMixerUnjoinDone()

Re-synchronization with toolpack_engine:

- OnMixerSyncDone()
- OnMixerSyncLost()

Timers or custom events:

- OnMixerEvent()

Errors detected by toolpack_engine:

- OnMixerError()

Playing/recording audio

- OnMixerStreamPlayingStarted()
- OnMixerStreamRecordingStarted()
- OnMixerStreamPlayingDone()
- OnMixerStreamRecordingDone()
Personal tools