Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
softmix_bridge_data Struct Reference

Data Fields

unsigned int binaural_init
 
float bitrate
 
struct ast_bridgebridge
 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
 
struct {
   size_t   current
 
   struct softmix_remb_collector **   elems
 
   size_t   max
 
remb_collectors
 
unsigned int stop:1
 
pthread_t thread
 
struct ast_timertimer
 

Detailed Description

Definition at line 184 of file bridge_softmix_internal.h.

Field Documentation

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.

float bitrate

Per-bridge REMB bitrate

Definition at line 220 of file bridge_softmix_internal.h.

Referenced by softmix_mixing_loop().

struct ast_bridge* bridge

Bridge pointer passed to the softmix mixing thread.

Note
Does not need a reference because the bridge will always exist while the mixing thread exists even if the bridge is no longer actively using the softmix technology.

Definition at line 193 of file bridge_softmix_internal.h.

Referenced by softmix_bridge_create().

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(), and softmix_bridge_destroy().

struct convolve_data convolve
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(), and softmix_mixing_loop().

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.

Lock for signaling the mixing thread.

Definition at line 195 of file bridge_softmix_internal.h.

Referenced by softmix_bridge_create(), and softmix_bridge_destroy().

struct { ... } remb_collectors

Per-bridge stream REMB collectors, which flow back to video source

Referenced by remb_enable_collection(), softmix_bridge_create(), and softmix_bridge_stream_topology_changed().

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(), and softmix_mixing_loop().

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().


The documentation for this struct was generated from the following file: