diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2009-07-15 17:55:16 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2009-07-15 17:55:16 +0000 |
commit | c7b0bd5a2320cc342474e5713adb00f92532aa23 (patch) | |
tree | 7bc8fc89542dd5b2bbe0f6e53071b62b2c03ec06 /pjsip | |
parent | bbc250ce57fcd09e4b894fc0d706a8079ee5f4dc (diff) |
Ticket #919:
- Added default ilbc mode into codec passthrough setting.
- Added iLBC mode 'negotiation' in iLBC codec_open().
- Updated stream_create() to prioritize codec_open(), that may update the codec params, over stream initializations involving codec params.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2834 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_media.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_media.c b/pjsip/src/pjsua-lib/pjsua_media.c index edf13ba3..ff0210d5 100644 --- a/pjsip/src/pjsua-lib/pjsua_media.c +++ b/pjsip/src/pjsua-lib/pjsua_media.c @@ -237,6 +237,7 @@ pj_status_t pjsua_media_subsys_init(const pjsua_media_config *cfg) /* Init the passthrough codec with supported formats only */ setting.fmt_cnt = ext_fmt_cnt; setting.fmts = ext_fmts; + setting.ilbc_mode = cfg->ilbc_mode; status = pjmedia_codec_passthrough_init2(pjsua_var.med_endpt, &setting); if (status != PJ_SUCCESS) { pjsua_perror(THIS_FILE, "Error initializing passthrough codecs", |