Răsfoiți Sursa

Change copy-paste C API example log level to warning

Paul-Louis Ageneau 1 an în urmă
părinte
comite
74f3211d20

+ 1 - 1
examples/copy-paste-capi/answerer.c

@@ -46,7 +46,7 @@ char *rtcGatheringState_print(rtcGatheringState state);
 int all_space(const char *str);
 
 int main(int argc, char **argv) {
-	rtcInitLogger(RTC_LOG_DEBUG, NULL);
+	rtcInitLogger(RTC_LOG_WARNING, NULL);
 
 	// Create peer
 	rtcConfiguration config;

+ 1 - 1
examples/copy-paste-capi/offerer.c

@@ -46,7 +46,7 @@ char *rtcGatheringState_print(rtcGatheringState state);
 int all_space(const char *str);
 
 int main(int argc, char **argv) {
-	rtcInitLogger(RTC_LOG_DEBUG, NULL);
+	rtcInitLogger(RTC_LOG_WARNING, NULL);
 
 	// Create peer
 	rtcConfiguration config;