@realsee/live 0.4.0-beta.5 → 0.4.0-beta.6
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/realsee-live.cjs.development.js +9 -2
- 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 +9 -2
- package/dist/realsee-live.esm.js.map +1 -1
- package/dist/realsee-live.umd.development.js +9 -2
- 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/docs/classes/BrowserRTC4Chime.html +3 -3
- package/package.json +1 -1
|
@@ -48390,6 +48390,8 @@
|
|
|
48390
48390
|
});
|
|
48391
48391
|
}
|
|
48392
48392
|
quit() {
|
|
48393
|
+
if (!this.joined)
|
|
48394
|
+
return Promise.resolve(true);
|
|
48393
48395
|
return new Promise((success, fail) => {
|
|
48394
48396
|
var _a, _b;
|
|
48395
48397
|
this.joined = false;
|
|
@@ -51115,8 +51117,13 @@
|
|
|
51115
51117
|
}
|
|
51116
51118
|
async exit() {
|
|
51117
51119
|
/** 退出强制关闭语音(?) */
|
|
51118
|
-
|
|
51119
|
-
|
|
51120
|
+
try {
|
|
51121
|
+
this.$RTC.quit();
|
|
51122
|
+
await this.updateStatus(exports.BuiltinEventType.RoomChange, exports.BuiltinActionType.RoomClose, {});
|
|
51123
|
+
}
|
|
51124
|
+
catch (e) {
|
|
51125
|
+
console.log(e);
|
|
51126
|
+
}
|
|
51120
51127
|
return liveController.dispose();
|
|
51121
51128
|
}
|
|
51122
51129
|
async connect(options = {}) {
|