allow native recording and transcoding at the same time

This commit is contained in:
Anthony Minessale 2014-01-08 04:12:01 +05:00
parent d25d1293bc
commit af0c6308f5
1 changed files with 1 additions and 0 deletions

View File

@ -360,6 +360,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
if (session->read_codec->implementation->impl_id != codec_impl.impl_id) { if (session->read_codec->implementation->impl_id != codec_impl.impl_id) {
need_codec = TRUE; need_codec = TRUE;
tap_only = 0;
} }
if (codec_impl.actual_samples_per_second != session->read_impl.actual_samples_per_second) { if (codec_impl.actual_samples_per_second != session->read_impl.actual_samples_per_second) {