mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
Initial codec configuration querying modules. Not functional yet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17137 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -68,6 +68,15 @@ void PrefSofia::readConfig()
|
||||
settings.endGroup();
|
||||
settings.endGroup();
|
||||
|
||||
/* This is here to show the proper codec config! */
|
||||
const switch_codec_implementation_t *codecs[SWITCH_MAX_CODECS];
|
||||
uint32_t num_codecs = switch_loadable_module_get_codecs(codecs, sizeof(codecs) / sizeof(codecs[0]));
|
||||
uint32_t x;
|
||||
|
||||
for (x = 0; x < num_codecs; x++) {
|
||||
_ui->listAvailableCodecs->addItem(codecs[x]->iananame);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void PrefSofia::writeConfig()
|
||||
|
Reference in New Issue
Block a user