quickvo-sdk-js 0.5.9 → 0.6.0
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/index.js +2 -2
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8775,7 +8775,7 @@ class RoomCalls extends RoomPeer {
|
|
|
8775
8775
|
Z(this, "quitRoom", () => new Promise(async (u) => {
|
|
8776
8776
|
const { roomId: E, userId: _ } = this.options, k = { roomId: E, user: { id: _ } };
|
|
8777
8777
|
try {
|
|
8778
|
-
this.isInRoom = !1, this.stopSubscribe(), this.stopGetPeerStats(), this.clearUsers(), this.clearUserStreams(), this.cwsIns.clearEvents(), this.setRoomState("ready");
|
|
8778
|
+
this.isInRoom = !1, this.stopPublish(), this.stopSubscribe(), this.stopGetPeerStats(), this.clearUsers(), this.clearUserStreams(), this.cwsIns.clearEvents(), this.setRoomState("ready");
|
|
8779
8779
|
} catch {
|
|
8780
8780
|
}
|
|
8781
8781
|
await new Promise((e) => setTimeout(() => e(!0), 300)), this.taskQueue.setCondition("closeTrack", !0), this.cwsIns.sendMessage({ event: "quitRoom", data: k }), u(!0);
|
|
@@ -8788,7 +8788,7 @@ class RoomCalls extends RoomPeer {
|
|
|
8788
8788
|
Z(this, "quitRoomEx", () => new Promise(async (u) => {
|
|
8789
8789
|
const { roomId: E, userId: _ } = this.options, k = { roomId: E, user: { id: _ } };
|
|
8790
8790
|
try {
|
|
8791
|
-
this.isInRoom = !1, this.stopSubscribe(), this.stopGetPeerStats(), this.clearUsers(), this.clearUserStreams(), await this.replaceSenderStream([], !1);
|
|
8791
|
+
this.isInRoom = !1, this.stopPublish(), this.stopSubscribe(), this.stopGetPeerStats(), this.clearUsers(), this.clearUserStreams(), await this.replaceSenderStream([], !1);
|
|
8792
8792
|
} catch {
|
|
8793
8793
|
}
|
|
8794
8794
|
await new Promise((e) => setTimeout(() => e(!0), 300)), this.cwsIns.sendMessage({ event: "quitRoomEx", data: k }), u(!0);
|