Browse Source

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

In Rect Native it will stall the app as it's huge.
master
Saúl Ibarra Corretgé 8 years ago
parent
commit
07c3a371b5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/RTC/TraceablePeerConnection.js

+ 1
- 1
modules/RTC/TraceablePeerConnection.js View File

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
         }

Loading…
Cancel
Save