MT#55283 force re-encryption if DTMF injection is requested

discovered via #1819

Change-Id: I2e705c32e7430738cb919e85157fd31efcb87937
pull/1826/head
Richard Fuchs 2 years ago
parent c5f56c4758
commit 8b7cab4ea7

@ -2010,6 +2010,8 @@ static const struct streamhandler *__determine_handler(struct packet_stream *in,
must_recrypt = true;
else if (MEDIA_ISSET(in->media, DTLS) || (out && MEDIA_ISSET(out->media, DTLS)))
must_recrypt = true;
else if (ML_ISSET(in->media->monologue, INJECT_DTMF) || (out && ML_ISSET(out->media->monologue, INJECT_DTMF)))
must_recrypt = true;
else if (sh->attrs.transcoding)
must_recrypt = true;
else if (in->call->recording)

Loading…
Cancel
Save