瀏覽代碼

Removes printing audio levels by default in debug mode and makes it optional.

master
damencho 9 年之前
父節點
當前提交
165507b83a
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      conference.js

+ 2
- 1
conference.js 查看文件

@@ -1178,7 +1178,8 @@ export default {
1178 1178
             if(config.debug)
1179 1179
             {
1180 1180
                 this.audioLevelsMap[id] = lvl;
1181
-                console.log("AudioLevel:" + id + "/" + lvl);
1181
+                if(config.debugAudioLevels)
1182
+                    console.log("AudioLevel:" + id + "/" + lvl);
1182 1183
             }
1183 1184
 
1184 1185
             APP.UI.setAudioLevel(id, lvl);

Loading…
取消
儲存