FS-4846 --resolve

This commit is contained in:
Anthony Minessale
2013-03-07 16:21:37 -06:00
parent c7b6327cfa
commit e8ecf7c887
3 changed files with 15 additions and 3 deletions

View File

@@ -1720,6 +1720,16 @@ SWITCH_DECLARE(uint32_t) switch_default_ptime(const char *name, uint32_t number)
return 20;
}
SWITCH_DECLARE(uint32_t) switch_default_rate(const char *name, uint32_t number)
{
if (!strcasecmp(name, "opus")) {
return 48000;
}
return 8000;
}
static uint32_t d_30 = 30;
static void switch_load_core_config(const char *file)