From 73e7695bb5b6524c3f3c58aa43cf9d188886c8c8 Mon Sep 17 00:00:00 2001 From: Souradeep Bera <68987264+SouradeepBera@users.noreply.github.com> Date: Mon, 6 May 2024 15:06:19 +0530 Subject: [PATCH] logical error fix in rtp engine check in dtls flow --- src/switch_core_media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 58ef94a53e..7489654285 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -12529,7 +12529,7 @@ static int check_engine(switch_rtp_engine_t *engine) status = switch_rtp_zerocopy_read_frame(engine->rtp_session, &engine->read_frame, flags); - if (!SWITCH_READ_ACCEPTABLE(status)) { + if (SWITCH_READ_ACCEPTABLE(status)) { return 0; }