Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Structure which contains per-channel mixing information. More...
#include <bridge_softmix_internal.h>
Data Fields | |
unsigned int | binaural:1 |
unsigned int | binaural_pos |
unsigned int | binaural_suspended:1 |
struct ast_dsp * | dsp |
struct ast_slinfactory | factory |
short | final_buf [MAX_DATALEN] |
unsigned int | have_audio:1 |
unsigned int | is_announcement:1 |
ast_mutex_t | lock |
short | our_buf [MAX_DATALEN] |
struct convolve_channel_pair * | our_chan_pair |
int | rate |
struct ast_format * | read_slin_format |
struct ast_rtp_rtcp_feedback_remb | remb |
struct softmix_remb_collector * | remb_collector |
unsigned int | talking:1 |
TRUE if a channel is talking. More... | |
struct ast_stream_topology * | topology |
struct { | |
size_t current | |
int * elems | |
size_t max | |
} | video_sources |
struct video_follow_talker_data | video_talker |
struct ast_frame | write_frame |
Structure which contains per-channel mixing information.
Definition at line 132 of file bridge_softmix_internal.h.
unsigned int binaural |
We set binaural also as channel data, to have better tracking. It is also present in transpvt.
Definition at line 155 of file bridge_softmix_internal.h.
Referenced by set_softmix_bridge_data(), softmix_bridge_leave(), softmix_bridge_unsuspend(), softmix_mixing_loop(), and softmix_process_write_audio().
unsigned int binaural_pos |
The position of the channel in the virtual room represented by an id This ID has to be set even if the channel has no binaural output!
Definition at line 161 of file bridge_softmix_internal.h.
Referenced by add_binaural_mixing(), set_softmix_bridge_data(), and softmix_bridge_leave().
unsigned int binaural_suspended |
Marks the channel for suspending all binaural activity on the output
Definition at line 165 of file bridge_softmix_internal.h.
Referenced by create_binaural_frame(), and softmix_process_write_binaural_audio().
size_t current |
Definition at line 181 of file bridge_softmix_internal.h.
struct ast_dsp* dsp |
DSP for detecting silence
Definition at line 142 of file bridge_softmix_internal.h.
Referenced by set_softmix_bridge_data(), softmix_bridge_leave(), and softmix_bridge_write_voice().
int* elems |
Definition at line 181 of file bridge_softmix_internal.h.
struct ast_slinfactory factory |
Factory which contains audio read in from the channel
Definition at line 136 of file bridge_softmix_internal.h.
Referenced by clear_talking(), set_softmix_bridge_data(), softmix_bridge_leave(), softmix_bridge_write_voice(), and softmix_process_read_audio().
short final_buf[MAX_DATALEN] |
Buffer containing final mixed audio from all sources
Definition at line 169 of file bridge_softmix_internal.h.
Referenced by create_binaural_frame(), set_softmix_bridge_data(), softmix_mixing_loop(), softmix_process_write_audio(), and softmix_process_write_binaural_audio().
unsigned int have_audio |
TRUE if the channel provided audio for this mixing interval
Definition at line 151 of file bridge_softmix_internal.h.
Referenced by softmix_process_read_audio(), and softmix_process_write_audio().
unsigned int is_announcement |
TRUE if this is an announcement channel (data will not be convolved)
Definition at line 157 of file bridge_softmix_internal.h.
Referenced by add_binaural_mixing(), create_binaural_frame(), and set_softmix_bridge_data().
ast_mutex_t lock |
Lock to protect this structure
Definition at line 134 of file bridge_softmix_internal.h.
Referenced by clear_talking(), set_softmix_bridge_data(), softmix_bridge_join(), softmix_bridge_leave(), softmix_bridge_write_rtcp(), softmix_bridge_write_video(), softmix_bridge_write_voice(), and softmix_mixing_loop().
size_t max |
Definition at line 181 of file bridge_softmix_internal.h.
short our_buf[MAX_DATALEN] |
Buffer containing only the audio from the channel
Definition at line 171 of file bridge_softmix_internal.h.
Referenced by softmix_process_read_audio(), softmix_process_write_audio(), and softmix_process_write_binaural_audio().
struct convolve_channel_pair* our_chan_pair |
The channel pair for this channel
Definition at line 163 of file bridge_softmix_internal.h.
Referenced by add_binaural_mixing(), and softmix_process_write_binaural_audio().
int rate |
Channel sample rate, stored to retrieve it after unsuspending the channel
Definition at line 167 of file bridge_softmix_internal.h.
Referenced by set_softmix_bridge_data(), and softmix_bridge_unsuspend().
struct ast_format* read_slin_format |
Current expected read slinear format.
Definition at line 140 of file bridge_softmix_internal.h.
Referenced by set_softmix_bridge_data(), and softmix_bridge_write_voice().
struct ast_rtp_rtcp_feedback_remb remb |
The latest REMB report from this participant
Definition at line 177 of file bridge_softmix_internal.h.
Referenced by remb_collect_report(), and softmix_bridge_write_rtcp().
struct softmix_remb_collector* remb_collector |
The REMB collector for this channel, collects REMB from all video receivers
Definition at line 179 of file bridge_softmix_internal.h.
Referenced by remb_enable_collection(), remb_send_report(), and softmix_bridge_leave().
unsigned int talking |
TRUE if a channel is talking.
Definition at line 149 of file bridge_softmix_internal.h.
Referenced by clear_talking(), and softmix_bridge_write_voice().
struct ast_stream_topology* topology |
The ideal stream topology for the channel
Definition at line 175 of file bridge_softmix_internal.h.
Referenced by sfu_topologies_on_join(), sfu_topologies_on_leave(), sfu_topologies_on_source_change(), softmix_bridge_leave(), and softmix_bridge_stream_sources_update().
struct { ... } video_sources |
The bridge streams which are feeding us video sources
Referenced by map_source_to_destinations(), remb_collect_report(), softmix_bridge_leave(), and softmix_bridge_stream_topology_changed().
struct video_follow_talker_data video_talker |
Data pertaining to talker mode for video conferencing
Definition at line 173 of file bridge_softmix_internal.h.
Referenced by softmix_bridge_write_video(), and softmix_bridge_write_voice().
struct ast_frame write_frame |
Frame that contains mixed audio to be written out to the channel
Definition at line 138 of file bridge_softmix_internal.h.
Referenced by create_binaural_frame(), set_softmix_bridge_data(), softmix_bridge_leave(), softmix_mixing_loop(), softmix_process_write_audio(), and softmix_process_write_binaural_audio().