mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
tweak
This commit is contained in:
1 parent
4f414765ee
commit
e7cafae29d
3 files changed
+12
-1
No files matched your search
@@ -653,7 +653,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess
|
||||
if (session->write_impl.codec_id == frame->codec->implementation->codec_id ||
|
||||
session->write_impl.microseconds_per_packet != frame->codec->implementation->microseconds_per_packet) {
|
||||
ptime_mismatch = TRUE;
|
||||
if (switch_test_flag(frame->codec, SWITCH_CODEC_FLAG_PASSTHROUGH) || switch_test_flag(session->read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH)) {
|
||||
if ((switch_test_flag(frame->codec, SWITCH_CODEC_FLAG_PASSTHROUGH) || switch_test_flag(session->read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH)) ||
|
||||
switch_channel_test_flag(session->channel, CF_PASSTHRU_PTIME_MISMATCH)) {
|
||||
status = perform_write(session, frame, flags, stream_id);
|
||||
goto error;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user