mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec
This commit is contained in:
1 parent
52d15f6398
commit
7c294f242f
49 files changed
+307
-157
No files matched your search
@@ -378,6 +378,7 @@ init_codecs:
|
||||
if (switch_core_codec_init(&tech_pvt->read_codec,
|
||||
dname,
|
||||
NULL,
|
||||
NULL,
|
||||
srate,
|
||||
interval,
|
||||
1,
|
||||
@@ -389,6 +390,7 @@ init_codecs:
|
||||
if (switch_core_codec_init(&tech_pvt->write_codec,
|
||||
dname,
|
||||
NULL,
|
||||
NULL,
|
||||
srate,
|
||||
interval,
|
||||
1,
|
||||
|
||||
@@ -435,6 +435,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
||||
if (switch_core_codec_init(&tech_pvt->read_codec,
|
||||
dname,
|
||||
NULL,
|
||||
NULL,
|
||||
8000,
|
||||
interval,
|
||||
1,
|
||||
@@ -446,6 +447,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
||||
if (switch_core_codec_init(&tech_pvt->write_codec,
|
||||
dname,
|
||||
NULL,
|
||||
NULL,
|
||||
8000,
|
||||
interval,
|
||||
1,
|
||||
|
||||
Reference in new issue
Block a user