mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Fix some consistency issues with jitterbuffer config.
Store the defaults noted in the sample config files in the jitterbuffer config data structure. This makes the CLI commands that output these settings show the right thing. Also only show the settings that are relevant in the settings CLI commands, based on which jitterbuffer is selected and whether it's enabled. (closes issue #19083) Reported by: rgagnon Patches: issue-19083-trunk-r313139.diff uploaded by rgagnon (license 1202) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@317478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -186,14 +186,15 @@ static void dummy(char *unused, ...) | ||||
| 	return; | ||||
| } | ||||
|  | ||||
| /*! \brief Global jitterbuffer configuration - by default, jb is disabled */ | ||||
| /*! \brief Global jitterbuffer configuration - by default, jb is disabled | ||||
|  *  \note Values shown here match the defaults shown in unistim.conf.sample */ | ||||
| static struct ast_jb_conf default_jbconf = | ||||
| { | ||||
| 	.flags = 0, | ||||
| 	.max_size = -1, | ||||
| 	.resync_threshold = -1, | ||||
| 	.impl = "", | ||||
| 	.target_extra = -1, | ||||
| 	.max_size = 200, | ||||
| 	.resync_threshold = 1000, | ||||
| 	.impl = "fixed", | ||||
| 	.target_extra = 40, | ||||
| }; | ||||
| static struct ast_jb_conf global_jbconf; | ||||
| 				 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user