This commit is contained in:
yumoqing 2024-08-23 18:07:45 +08:00
parent 179bf0349e
commit 370031542c

View File

@ -350,7 +350,7 @@ bricks.RTCClient = class extends bricks.VBox {
}
async connection_statechange(event){
console.log(`onconnectionstatechange, pc.connectionState is ${this.pc.connectionState}.`);
if (ths.pc.connectionState == 'disconnected'){
if (this.pc.connectionState == 'disconnected'){
var w = new bricks.Error({
title:'Error',
message:'lose connection',