浏览代码

Change copy-paste C API example log level to warning

Paul-Louis Ageneau 1 年之前
父节点
当前提交
74f3211d20
共有 2 个文件被更改,包括 2 次插入2 次删除
  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;