浏览代码

ios: add ability to manually toggle WebRTC logging

master
Saúl Ibarra Corretgé 6 年前
父节点
当前提交
63a221212b
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
    0
      ios/sdk/src/JitsiMeet.m

+ 6
- 0
ios/sdk/src/JitsiMeet.m 查看文件

@@ -24,6 +24,7 @@
24 24
 #import "ReactUtils.h"
25 25
 
26 26
 #import <RNGoogleSignin/RNGoogleSignin.h>
27
+#import <WebRTC/RTCLogging.h>
27 28
 
28 29
 
29 30
 @implementation JitsiMeet {
@@ -54,6 +55,11 @@
54 55
 
55 56
         // Register a log handler for React.
56 57
         registerReactLogHandler();
58
+
59
+#if 0
60
+        // Enable WebRTC logs
61
+        RTCSetMinDebugLogLevel(RTCLoggingSeverityInfo);
62
+#endif
57 63
     }
58 64
 
59 65
     return self;

正在加载...
取消
保存