Asterisk - The Open Source Telephony Project
18.5.0
|
#include <bridge_softmix_internal.h>
Public Member Functions | |
AST_VECTOR (, struct softmix_remb_collector *) remb_collectors | |
Data Fields | |
unsigned int | binaural_init |
float | bitrate |
struct ast_bridge * | bridge |
Bridge pointer passed to the softmix mixing thread. More... | |
ast_cond_t | cond |
struct convolve_data | convolve |
unsigned int | default_sample_size |
unsigned int | internal_mixing_interval |
unsigned int | internal_rate |
struct timeval | last_remb_update |
struct timeval | last_video_update |
ast_mutex_t | lock |
unsigned int | stop:1 |
pthread_t | thread |
struct ast_timer * | timer |
Definition at line 184 of file bridge_softmix_internal.h.
AST_VECTOR | ( | struct softmix_remb_collector * | ) |
Per-bridge stream REMB collectors, which flow back to video source
unsigned int binaural_init |
TRUE if the first attempt to init binaural rendering data was done (does not guarantee success)
Definition at line 212 of file bridge_softmix_internal.h.
Referenced by softmix_mixing_thread().
float bitrate |
Per-bridge REMB bitrate
Definition at line 220 of file bridge_softmix_internal.h.
Referenced by remb_collect_report(), remb_collect_report_all(), remb_send_report(), and softmix_mixing_loop().
struct ast_bridge* bridge |
Bridge pointer passed to the softmix mixing thread.
Definition at line 193 of file bridge_softmix_internal.h.
Referenced by softmix_bridge_create(), and softmix_mixing_thread().
ast_cond_t cond |
Condition, used if we need to wake up the mixing thread.
Definition at line 197 of file bridge_softmix_internal.h.
Referenced by softmix_bridge_create(), softmix_bridge_data_destroy(), softmix_bridge_destroy(), softmix_mixing_thread(), and softmix_poke_thread().
struct convolve_data convolve |
All data needed for binaural signaling
Definition at line 208 of file bridge_softmix_internal.h.
Referenced by add_binaural_mixing(), binaural_mixing(), check_binaural_position_change(), random_binaural_pos_change(), softmix_bridge_destroy(), softmix_bridge_join(), softmix_bridge_leave(), softmix_mixing_loop(), and softmix_mixing_thread().
unsigned int default_sample_size |
The default sample size (e.g. using Opus at 48khz and 20 ms mixing interval, sample size is 960)
Definition at line 206 of file bridge_softmix_internal.h.
Referenced by binaural_mixing(), random_binaural_pos_change(), softmix_bridge_create(), softmix_bridge_join(), softmix_bridge_leave(), softmix_mixing_loop(), and softmix_mixing_thread().
unsigned int internal_mixing_interval |
Definition at line 201 of file bridge_softmix_internal.h.
Referenced by softmix_bridge_create(), softmix_bridge_join(), softmix_bridge_write_voice(), softmix_mixing_loop(), and softmix_mixing_thread().
unsigned int internal_rate |
Definition at line 200 of file bridge_softmix_internal.h.
Referenced by analyse_softmix_stats(), gather_softmix_stats(), softmix_bridge_create(), softmix_bridge_join(), softmix_bridge_write_voice(), softmix_mixing_loop(), and softmix_mixing_thread().
struct timeval last_remb_update |
The last time a REMB frame was sent to each source of video
Definition at line 216 of file bridge_softmix_internal.h.
Referenced by softmix_mixing_loop().
struct timeval last_video_update |
The last time a video update was sent into the bridge
Definition at line 214 of file bridge_softmix_internal.h.
Referenced by softmix_bridge_write_control().
ast_mutex_t lock |
Lock for signaling the mixing thread.
Definition at line 195 of file bridge_softmix_internal.h.
Referenced by softmix_bridge_create(), softmix_bridge_data_destroy(), softmix_bridge_destroy(), softmix_bridge_stop(), softmix_mixing_thread(), and softmix_poke_thread().
unsigned int stop |
TRUE if the mixing thread should stop
Definition at line 203 of file bridge_softmix_internal.h.
Referenced by softmix_bridge_destroy(), softmix_bridge_stop(), softmix_mixing_loop(), and softmix_mixing_thread().
pthread_t thread |
Thread handling the mixing
Definition at line 199 of file bridge_softmix_internal.h.
Referenced by softmix_bridge_create(), and softmix_bridge_destroy().
struct ast_timer* timer |
Definition at line 185 of file bridge_softmix_internal.h.
Referenced by softmix_bridge_create(), softmix_bridge_data_destroy(), and softmix_mixing_loop().