TT#82651 same as 61acd9761 but in reverse

closes #1005

Change-Id: I9107b6de0d4d16347bbf35baafcc298d43f87a68
(cherry picked from commit 38bb6d8608)
changes/97/40697/1
Richard Fuchs 6 years ago
parent 3d8c214975
commit 2696e525aa

@ -798,7 +798,11 @@ next:
// if the sink does not support DTMF but we can receive it, we must transcode
// DTMF event packets to PCM. this requires all codecs to be transcoded to the
// sink's preferred destination codec.
if ((!transcode_dtmf && dtmf_payload_type == -1) || !pref_dest_codec
if (!transcode_dtmf && dtmf_payload_type == -1)
__make_passthrough_ssrc(handler);
else if (dtmf_pt && reverse_dtmf_pt)
__make_passthrough_ssrc(handler);
else if (!pref_dest_codec
|| !handler->source_pt.codec_def || !pref_dest_codec->codec_def)
__make_passthrough_ssrc(handler);
else

Loading…
Cancel
Save