Browse Source

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
commit
8b7cab4ea7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon/media_socket.c

+ 2
- 0
daemon/media_socket.c View File

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