Преглед на файлове

Remove overridden assignment in TraceablePeerConnection.js (fixes #471)

tags/v0.0.2
Iñaki Baz Castillo преди 8 години
родител
ревизия
cc5d8a2ea5
променени са 1 файла, в които са добавени 0 реда и са изтрити 14 реда
  1. 0
    14
      modules/RTC/TraceablePeerConnection.js

+ 0
- 14
modules/RTC/TraceablePeerConnection.js Целия файл

214
             this.onicecandidate(event);
214
             this.onicecandidate(event);
215
         }
215
         }
216
     };
216
     };
217
-    this.onaddstream = null;
218
-    this.peerconnection.onaddstream = event => {
219
-        this.trace('onaddstream', event.stream.id);
220
-        if (this.onaddstream !== null) {
221
-            this.onaddstream(event);
222
-        }
223
-    };
224
-    this.onremovestream = null;
225
-    this.peerconnection.onremovestream = event => {
226
-        this.trace('onremovestream', event.stream.id);
227
-        if (this.onremovestream !== null) {
228
-            this.onremovestream(event);
229
-        }
230
-    };
231
     this.peerconnection.onaddstream
217
     this.peerconnection.onaddstream
232
         = event => this._remoteStreamAdded(event.stream);
218
         = event => this._remoteStreamAdded(event.stream);
233
     this.peerconnection.onremovestream
219
     this.peerconnection.onremovestream

Loading…
Отказ
Запис