From 9f1696d2c14f55fd863af9526f24f3721751890c Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 7 Apr 2014 12:01:11 -0400 Subject: [PATCH] use srtp<>srtp transcode if either side uses dtls --- daemon/call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/call.c b/daemon/call.c index 5731ef44d..70d87e9a5 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -450,7 +450,7 @@ static void determine_handler(struct packet_stream *in, const struct packet_stre goto err; matrix = __sh_matrix; - if (MEDIA_ISSET(in->media, DTLS) && MEDIA_ISSET(out->media, DTLS)) + if (MEDIA_ISSET(in->media, DTLS) || MEDIA_ISSET(out->media, DTLS)) matrix = __sh_matrix_dtls; sh_pp = matrix[in->media->protocol->index];