|
@@ -214,20 +214,6 @@ export default function TraceablePeerConnection(
|
214
|
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
|
217
|
this.peerconnection.onaddstream
|
232
|
218
|
= event => this._remoteStreamAdded(event.stream);
|
233
|
219
|
this.peerconnection.onremovestream
|