()
| 320 | } |
| 321 | |
| 322 | _onIceConnectionStateChange() { |
| 323 | switch (this._conn.iceConnectionState) { |
| 324 | case 'failed': |
| 325 | console.error('ICE Gathering failed'); |
| 326 | break; |
| 327 | default: |
| 328 | console.log('ICE Gathering', this._conn.iceConnectionState); |
| 329 | } |
| 330 | } |
| 331 | |
| 332 | _onError(error) { |
| 333 | console.error(error); |