瀏覽代碼

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,7 +270,7 @@ export default function TraceablePeerConnection(
270 270
     };
271 271
     this.ondatachannel = null;
272 272
     this.peerconnection.ondatachannel = event => {
273
-        this.trace('ondatachannel', event);
273
+        this.trace('ondatachannel');
274 274
         if (this.ondatachannel !== null) {
275 275
             this.ondatachannel(event);
276 276
         }

Loading…
取消
儲存