()
| 301 | } |
| 302 | |
| 303 | _onChannelClosed() { |
| 304 | console.log('RTC: channel closed', this._peerId); |
| 305 | if (!this.isCaller) return; |
| 306 | this._connect(this._peerId, true); // reopen the channel |
| 307 | } |
| 308 | |
| 309 | _onConnectionStateChange(e) { |
| 310 | console.log('RTC: state changed:', this._conn.connectionState); |
no test coverage detected