aboutsummaryrefslogtreecommitdiff
path: root/plugins/ice
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2021-12-18 21:45:36 +0100
committerMarvin W <git@larma.de>2021-12-18 21:45:36 +0100
commit9aeff4bf9e00624187931c0d358c166f5a6860a1 (patch)
treecac26c111dc2d8b818d863b1b11ceb38e4e9a8a4 /plugins/ice
parent4f80a9f5ccea5eaf6a78a841af417c597eb7db73 (diff)
downloaddino-9aeff4bf9e00624187931c0d358c166f5a6860a1.tar.gz
dino-9aeff4bf9e00624187931c0d358c166f5a6860a1.zip
SRTP: Do not continue processing data after encrypt/decrypt failed
RTP: Copy less
Diffstat (limited to 'plugins/ice')
-rw-r--r--plugins/ice/src/transport_parameters.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ice/src/transport_parameters.vala b/plugins/ice/src/transport_parameters.vala
index 9aa3dda1..f684e411 100644
--- a/plugins/ice/src/transport_parameters.vala
+++ b/plugins/ice/src/transport_parameters.vala
@@ -273,6 +273,7 @@ public class Dino.Plugins.Ice.TransportParameters : JingleIceUdp.IceUdpTransport
if (decrypt_data == null) return;
} catch (Crypto.Error e) {
warning("%s while on_recv stream %u component %u", e.message, stream_id, component_id);
+ return;
}
}
may_consider_ready(stream_id, component_id);