Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ios: add ability to manually toggle WebRTC logging

Saúl Ibarra Corretgé63a221212b77
diff --git a/ios/sdk/src/JitsiMeet.m b/ios/sdk/src/JitsiMeet.m
index 5a307dc101..2f16393123 100644
--- a/ios/sdk/src/JitsiMeet.m
+++ b/ios/sdk/src/JitsiMeet.m
@@ -24,6 +24,7 @@
#import "ReactUtils.h"
#import <RNGoogleSignin/RNGoogleSignin.h>
+#import <WebRTC/RTCLogging.h>
@implementation JitsiMeet {
@@ -54,6 +55,11 @@
// Register a log handler for React.
registerReactLogHandler();
+
+#if 0
+ // Enable WebRTC logs
+ RTCSetMinDebugLogLevel(RTCLoggingSeverityInfo);
+#endif
}
return self;