mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-02 01:25:11 +00:00
add logging before uuid_bridge, set frame->codec from tech_pvt->read_codec
This commit is contained in:
1 parent
0494df1ac4
commit
4d3038c9e4
3 files changed
+6
No files matched your search
@@ -337,6 +337,7 @@ top:
|
||||
*frame = &tech_pvt->read_frame;
|
||||
tech_pvt->read_frame.datalen = (uint32_t)len;
|
||||
tech_pvt->read_frame.samples = tech_pvt->read_frame.datalen;
|
||||
tech_pvt->read_frame = &tech_pvt->read_codec;
|
||||
|
||||
if (ftdm_channel_get_codec(tech_pvt->ftdm_channel) == FTDM_CODEC_SLIN) {
|
||||
tech_pvt->read_frame.samples /= 2;
|
||||
|
||||
Reference in new issue
Block a user