chan_mobile: decrease CHANNEL_FRAME_SIZE to prevent delay

On modern Bluetooth devices or lower-powered asterisk servers, decreasing the channel frame size significantly improves latency and delay on outbound calls with only a mild sacrifice to the quality of the call (the frame size before was massive overkill to begin with)

(cherry picked from commit 203b7a3b3f)
pull/886/head^2
Cade Parker 9 months ago committed by Asterisk Development Team
parent bc1170d80d
commit e0b8ca360a

@ -80,7 +80,7 @@
#define DEVICE_FRAME_SIZE 48
#define DEVICE_FRAME_FORMAT ast_format_slin
#define CHANNEL_FRAME_SIZE 320
#define CHANNEL_FRAME_SIZE 80
static int discovery_interval = 60; /* The device discovery interval, default 60 seconds. */
static pthread_t discovery_thread = AST_PTHREADT_NULL; /* The discovery thread */

Loading…
Cancel
Save