Actions

CAF: Caf Mixer Actions: Difference between revisions

No edit summary
Line 17: Line 17:
  - MixerResumeStream()
  - MixerResumeStream()
  - MixerStopStream()
  - MixerStopStream()
=== Digits (tone) and events: ===
- MixerPlayDigit()
- MixerPlayEvent()
- MixerCancelEvent()


=== States can be queried instantly: ===
=== States can be queried instantly: ===

Revision as of 12:14, 11 June 2012

Actions on mixers

The call flow (and it's behaviors) can perform various actions on each of it's mixers. Here is a list of the actions available on the CTBCAFMixer objects (please refer to the header file CTBCMCMixer.hpp for more information on each of these functions):

Controlling creation, modification and destruction in Toolpack system:

- MixerCreate()
- MixerTerminate()
- MixerSetAttribute()

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

- MixerJoin()
- MixerUnjoin()

Playing/recording audio

- MixerPlayStream()
- MixerRecordStream()
- MixerPauseStream()
- MixerResumeStream()
- MixerStopStream()

States can be queried instantly:

- IsTerminating()
- IsSynchronized()
- IsPlayingStream()
- IsRecordingStream()
- IsPlayingDigit()
- IsPlayingEvent()

Mixer information can be queried instantly:

- GetMixerId()
- GetMixerAttributes()
- GetJoinedLegs()
- GetJoinedMixers()
- GetJoinedLegAttributes()
- GetJoinedMixerAttributes()