Sfoglia il codice sorgente

ios: add ability to manually toggle WebRTC logging

j8
Saúl Ibarra Corretgé 5 anni fa
parent
commit
63a221212b
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6
    0
      ios/sdk/src/JitsiMeet.m

+ 6
- 0
ios/sdk/src/JitsiMeet.m Vedi File

@@ -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;

Loading…
Annulla
Salva