@reactoo/watchtogether-sdk-js 2.7.92-beta.1 → 2.7.93
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.
|
@@ -9869,12 +9869,19 @@ class RoomSession {
|
|
|
9869
9869
|
this.apisecret = null;
|
|
9870
9870
|
this.handleId = null;
|
|
9871
9871
|
this.ws = null;
|
|
9872
|
+
|
|
9873
|
+
// helper flags
|
|
9874
|
+
|
|
9872
9875
|
this.isSupposeToBeConnected = false;
|
|
9873
9876
|
this.isRestarting = false;
|
|
9874
9877
|
this.isConnecting = false;
|
|
9875
9878
|
this.isDisconnecting = false;
|
|
9876
9879
|
this.isConnected = false;
|
|
9877
|
-
|
|
9880
|
+
|
|
9881
|
+
// we added this because joined event that enables "isConnected" happened after we fired publish (long polling)
|
|
9882
|
+
// as a result publish was rejected due to isConnected flag being false
|
|
9883
|
+
// im' not sure what relies on current event based isConnected flag so i've added a new one that is set after join promise resolves
|
|
9884
|
+
this.isPossibleToPublish = false;
|
|
9878
9885
|
this.isPublished = false;
|
|
9879
9886
|
this.isStreaming = false;
|
|
9880
9887
|
this.isMuted = [];
|