浏览代码

feat(TPC): don't log the entire datachannel event

In Rect Native it will stall the app as it's huge.
dev1
Saúl Ibarra Corretgé 7 年前
父节点
当前提交
07c3a371b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/RTC/TraceablePeerConnection.js

+ 1
- 1
modules/RTC/TraceablePeerConnection.js 查看文件

270
     };
270
     };
271
     this.ondatachannel = null;
271
     this.ondatachannel = null;
272
     this.peerconnection.ondatachannel = event => {
272
     this.peerconnection.ondatachannel = event => {
273
-        this.trace('ondatachannel', event);
273
+        this.trace('ondatachannel');
274
         if (this.ondatachannel !== null) {
274
         if (this.ondatachannel !== null) {
275
             this.ondatachannel(event);
275
             this.ondatachannel(event);
276
         }
276
         }

正在加载...
取消
保存