mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	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)
This commit is contained in:
		
				
					committed by
					
						![asterisk-org-access-app[bot]](/avatar/58a64b62d62d5b23df7bc832f016f9db?size=40) asterisk-org-access-app[bot]
						asterisk-org-access-app[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							b2455b2732
						
					
				
				
					commit
					7f2ac6cb4f
				
			| @@ -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 */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user