fix this._isCaller variable typo
This commit is contained in:
parent
add1304e70
commit
7b84154e3f
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ class RTCPeer extends Peer {
|
||||||
|
|
||||||
_onChannelClosed() {
|
_onChannelClosed() {
|
||||||
console.log('RTC: channel closed', this._peerId);
|
console.log('RTC: channel closed', this._peerId);
|
||||||
if (!this.isCaller) return;
|
if (!this._isCaller) return;
|
||||||
this._connect(this._peerId, true); // reopen the channel
|
this._connect(this._peerId, true); // reopen the channel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue