Browse Source

Change copy-paste C API example log level to warning

Paul-Louis Ageneau 1 year ago
parent
commit
74f3211d20
2 changed files with 2 additions and 2 deletions
  1. 1 1
      examples/copy-paste-capi/answerer.c
  2. 1 1
      examples/copy-paste-capi/offerer.c

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