mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
add set funcs for impls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14881 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -2073,6 +2073,8 @@ switch_status_t sofia_glue_tech_set_codec(private_object_t *tech_pvt, int force)
|
||||
tech_pvt->read_impl = *tech_pvt->read_codec.implementation;
|
||||
tech_pvt->write_impl = *tech_pvt->write_codec.implementation;
|
||||
|
||||
switch_core_session_set_read_impl(tech_pvt->session, tech_pvt->read_codec.implementation);
|
||||
switch_core_session_set_write_impl(tech_pvt->session, tech_pvt->write_codec.implementation);
|
||||
|
||||
if (switch_rtp_ready(tech_pvt->rtp_session)) {
|
||||
switch_assert(tech_pvt->read_codec.implementation);
|
||||
|
||||
Reference in New Issue
Block a user