From 35e93163c322a4f50f6ffd768b0d8770b825fbda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Baz=20Castillo?= Date: Thu, 22 Feb 2024 13:05:45 +0100 Subject: [PATCH] Add a comment --- worker/src/RTC/DtlsTransport.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/worker/src/RTC/DtlsTransport.cpp b/worker/src/RTC/DtlsTransport.cpp index 530f358f24..6f489a64fa 100644 --- a/worker/src/RTC/DtlsTransport.cpp +++ b/worker/src/RTC/DtlsTransport.cpp @@ -1,5 +1,5 @@ #define MS_CLASS "RTC::DtlsTransport" -// #define MS_LOG_DEV_LEVEL 3 +#define MS_LOG_DEV_LEVEL 3 #include "RTC/DtlsTransport.hpp" #include "Logger.hpp" @@ -1207,6 +1207,8 @@ namespace RTC } else { + // Here we do a dangerous thing that works. + // Explained in https://github.com/versatica/mediasoup/pull/1343. MS_WARN_TAG( dtls, "data to be sent is longer than DTLS MTU, fragmenting it [len:%" PRIi64 ", DtlsMtu:%i]",