This commit is contained in:
yumoqing 2024-10-11 11:26:14 +08:00
parent fb50ebe6e3
commit 4e3a50f563

View File

@ -37,8 +37,8 @@ bricks.Signaling = class {
this.hb_task = null;
this.heartbeat_period = opts.heartbeat_period;
this.onclose = opts.onclose;
this.onlogin = opts.onlogin;
this.onopen = opts.onopen;
this.onpeers = opts.onpeers;
if (!this.heartbeat_period){
this.heartbeat_period = 0;
}