Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Gliffy Diagram
alignleft
nameBridge API Design
version2
sizeL

ast_bridge_controller

The ast_bridge_controller manages one or more bridges. It provides the thread that services actions that are being taken within a bridge and operations between bridges.

ast_bridge

An ast_bridge object is the bridge. A bridge may have many channels in it, and the bridge object is responsible for keeping track of the state of the bridge and managing the channels. The ast_bridge_technology callbacks provide the way in which operations on the bridge and its channels are implemented for different ways of 'bridging'. For example, in a two-party bridge, the bridge technology may only have to pass frames between two channels and can simply swap the frames between two ast_bridge_channel objects. In a multi-party bridge, however, the bridge technology has to decide which ast_bridge_channel objects receive frames from what other ast_bridge_channel objects, how those frames are mixed, etc.

...