CAF: Caf Mixer Actions

From TBwiki
Jump to: navigation, search

Contents

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()
Personal tools