@realsee/live 0.4.0-beta.4 → 0.4.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/live/controller.d.ts +2 -2
- package/dist/realsee-live.cjs.development.js +4 -1
- package/dist/realsee-live.cjs.development.js.map +1 -1
- package/dist/realsee-live.cjs.production.js +1 -1
- package/dist/realsee-live.cjs.production.js.map +1 -1
- package/dist/realsee-live.esm.js +4 -1
- package/dist/realsee-live.esm.js.map +1 -1
- package/dist/realsee-live.umd.development.js +4 -1
- package/dist/realsee-live.umd.development.js.map +1 -1
- package/dist/realsee-live.umd.production.js +1 -1
- package/dist/realsee-live.umd.production.js.map +1 -1
- package/package.json +12 -13
|
@@ -50679,6 +50679,7 @@
|
|
|
50679
50679
|
clearInterval(this.healthCheckId);
|
|
50680
50680
|
this.healthCheckId = undefined;
|
|
50681
50681
|
}
|
|
50682
|
+
return true;
|
|
50682
50683
|
};
|
|
50683
50684
|
/**
|
|
50684
50685
|
* 销毁WebSocket相关依赖。
|
|
@@ -50704,6 +50705,7 @@
|
|
|
50704
50705
|
}
|
|
50705
50706
|
this.webSocket.close();
|
|
50706
50707
|
this.webSocket = undefined;
|
|
50708
|
+
return true;
|
|
50707
50709
|
};
|
|
50708
50710
|
this.options = Object.assign({ autoConnect: true, healthCheck: 3000 }, options);
|
|
50709
50711
|
}
|
|
@@ -51114,7 +51116,8 @@
|
|
|
51114
51116
|
async exit() {
|
|
51115
51117
|
/** 退出强制关闭语音(?) */
|
|
51116
51118
|
await this.$RTC.quit();
|
|
51117
|
-
|
|
51119
|
+
await this.updateStatus(exports.BuiltinEventType.RoomChange, exports.BuiltinActionType.RoomClose, {});
|
|
51120
|
+
return liveController.dispose();
|
|
51118
51121
|
}
|
|
51119
51122
|
async connect(options = {}) {
|
|
51120
51123
|
// 连接 WebSocket 前验证麦克风权限
|