Browse Source

TT#82651 same as 61acd9761 but in reverse

closes #1005

Change-Id: I9107b6de0d4d16347bbf35baafcc298d43f87a68
(cherry picked from commit 38bb6d8608)
changes/21/42021/1
Richard Fuchs 6 years ago
parent
commit
43d77c850f
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      daemon/codec.c

+ 5
- 1
daemon/codec.c View File

@ -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