Structure that contains information about a bridge. More...
#include <bridging.h>

Public Member Functions | |
| AST_LIST_HEAD_NOLOCK (, ast_bridge_channel) channels | |
Data Fields | |
| struct ast_channel ** | array |
| size_t | array_num |
| size_t | array_size |
| void * | bridge_pvt |
| struct ast_callid * | callid |
| struct ast_flags | feature_flags |
| struct ast_bridge_features | features |
| unsigned int | internal_mixing_interval |
| unsigned int | internal_sample_rate |
| int | num |
| unsigned int | refresh:1 |
| unsigned int | stop:1 |
| struct ast_bridge_technology * | technology |
| pthread_t | thread |
| struct ast_bridge_video_mode | video_mode |
| unsigned int | waiting:1 |
Structure that contains information about a bridge.
Definition at line 214 of file bridging.h.
Linked list of channels participating in the bridge
| struct ast_channel** array |
Array of channels that the bridge thread is currently handling
Definition at line 243 of file bridging.h.
Referenced by ast_bridge_new(), bridge_array_add(), bridge_array_remove(), destroy_bridge(), and generic_thread_loop().
| size_t array_num |
Number of channels in the above array
Definition at line 245 of file bridging.h.
Referenced by bridge_array_add(), bridge_array_remove(), bridge_thread(), generic_thread_loop(), and softmix_bridge_thread().
| size_t array_size |
Number of channels the array can handle
Definition at line 247 of file bridging.h.
Referenced by ast_bridge_new(), and bridge_array_add().
| void* bridge_pvt |
Private information unique to the bridge technology
Definition at line 237 of file bridging.h.
Referenced by multiplexed_bridge_create(), multiplexed_bridge_destroy(), multiplexed_bridge_join(), multiplexed_bridge_leave(), multiplexed_bridge_suspend(), multiplexed_bridge_unsuspend(), smart_bridge_operation(), softmix_bridge_create(), softmix_bridge_destroy(), softmix_bridge_join(), softmix_bridge_thread(), and softmix_bridge_write().
| struct ast_callid* callid |
Call ID associated with the bridge
Definition at line 249 of file bridging.h.
Referenced by ast_bridge_destroy(), bridge_channel_join(), and bridge_thread().
| struct ast_flags feature_flags |
Bridge flags to tweak behavior
Definition at line 233 of file bridging.h.
Referenced by ast_bridge_merge(), ast_bridge_new(), bridge_channel_join(), and bridge_check_dissolve().
| struct ast_bridge_features features |
Enabled features information
Definition at line 241 of file bridging.h.
Referenced by ast_bridge_handle_trip(), bridge_channel_feature(), bridge_channel_talking(), bridge_handle_dtmf(), and destroy_bridge().
| unsigned int internal_mixing_interval |
The mixing interval indicates how quickly the bridges internal mixing should occur for bridge technologies that mix audio. When set to 0, the bridge tech must choose a default interval for itself.
Definition at line 225 of file bridging.h.
Referenced by ast_bridge_set_mixing_interval(), and softmix_bridge_thread().
| unsigned int internal_sample_rate |
The internal sample rate this bridge is mixed at when multiple channels are being mixed. If this value is 0, the bridge technology may auto adjust the internal mixing rate.
Definition at line 221 of file bridging.h.
Referenced by ast_bridge_set_internal_sample_rate(), and softmix_bridge_thread().
| int num |
Number of channels participating in the bridge
Definition at line 216 of file bridging.h.
Referenced by ast_bridge_merge(), bridge_channel_join(), and softmix_bridge_thread().
| unsigned int refresh |
Bit to indicate the bridge thread should refresh itself
Definition at line 231 of file bridging.h.
Referenced by bridge_thread(), generic_thread_loop(), smart_bridge_operation(), and softmix_bridge_thread().
| unsigned int stop |
Bit to indicate the bridge thread should stop
Definition at line 229 of file bridging.h.
Referenced by ast_bridge_destroy(), bridge_channel_join(), bridge_thread(), generic_thread_loop(), smart_bridge_operation(), and softmix_bridge_thread().
| struct ast_bridge_technology* technology |
Bridge technology that is handling the bridge
Definition at line 235 of file bridging.h.
Referenced by ast_bridge_handle_trip(), ast_bridge_merge(), ast_bridge_new(), bridge_channel_join(), bridge_channel_join_multithreaded(), bridge_channel_suspend(), bridge_channel_unsuspend(), bridge_make_compatible(), bridge_thread(), destroy_bridge(), and smart_bridge_operation().
| pthread_t thread |
Thread running the bridge
Definition at line 239 of file bridging.h.
Referenced by ast_bridge_destroy(), ast_bridge_merge(), ast_bridge_new(), bridge_channel_join(), bridge_poke(), bridge_thread(), and smart_bridge_operation().
| struct ast_bridge_video_mode video_mode |
The video mode this bridge is using
Definition at line 218 of file bridging.h.
Referenced by ast_bridge_is_video_src(), ast_bridge_number_video_src(), ast_bridge_remove_video_src(), ast_bridge_set_single_src_video_mode(), ast_bridge_set_talker_src_video_mode(), ast_bridge_update_talker_src_video_mode(), cleanup_video_mode(), and softmix_bridge_write().
| unsigned int waiting |
Bit to indicate that the bridge thread is waiting on channels in the bridge array
Definition at line 227 of file bridging.h.
Referenced by bridge_array_add(), bridge_array_remove(), and generic_thread_loop().