@reactoo/watchtogether-sdk-js 2.5.99 → 2.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/package.json
CHANGED
package/src/modules/wt-room.js
CHANGED
|
@@ -1169,9 +1169,9 @@ class RoomSession {
|
|
|
1169
1169
|
|
|
1170
1170
|
let isStreaming = this.isStreaming;
|
|
1171
1171
|
this.isDisconnecting = true;
|
|
1172
|
-
return this.
|
|
1173
|
-
.then(() => this._removeParticipant(this.handleId))
|
|
1172
|
+
return this._removeParticipant(this.handleId)
|
|
1174
1173
|
.finally(() => {
|
|
1174
|
+
this.sendMessage(this.handleId, {body: {"request": "stop"}}, true);
|
|
1175
1175
|
this._wipeListeners();
|
|
1176
1176
|
this._send({"janus": "destroy"}, true);
|
|
1177
1177
|
if (this.ws && this.ws.readyState === 1) {
|