@reactoo/watchtogether-sdk-js 2.4.36 → 2.4.40
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/example/index.html
CHANGED
|
@@ -153,33 +153,6 @@
|
|
|
153
153
|
})
|
|
154
154
|
.then(r => Instance.room.createSession({roomId:r.roomId, pinHash: r.pinHash})) // pin hash is not needed if you're owner of the room
|
|
155
155
|
.then(session => {
|
|
156
|
-
Instance.user.getUserSelf().then(r => {
|
|
157
|
-
Instance.room.getRoomChatList({roomId})
|
|
158
|
-
.then(r => console.log('wooo',r))
|
|
159
|
-
|
|
160
|
-
})
|
|
161
|
-
|
|
162
|
-
;
|
|
163
|
-
|
|
164
|
-
Instance.user.getVideos({type:'room', roomId, includeUserModels: true});
|
|
165
|
-
|
|
166
|
-
// Instance.user.getUserSelf().then(r => {
|
|
167
|
-
// console.log(r.data._id);
|
|
168
|
-
// return Instance.room.queue({roomId, operation:'join', userId:r.data._id});
|
|
169
|
-
// }).then(r => {
|
|
170
|
-
// console.log(r.data);
|
|
171
|
-
// return Instance.room.queue({roomId, operation:'status'});
|
|
172
|
-
// })
|
|
173
|
-
// .then(r => {
|
|
174
|
-
// console.log(r.data);
|
|
175
|
-
// return Instance.room.queue({roomId,userId:'eu-west-1:f3532bdd-cc3a-4c62-a77e-4f1f544d8fa9', operation:'approve'});
|
|
176
|
-
// })
|
|
177
|
-
// .then(r => {
|
|
178
|
-
// console.log(r.data);
|
|
179
|
-
// })
|
|
180
|
-
|
|
181
|
-
//
|
|
182
|
-
|
|
183
156
|
|
|
184
157
|
|
|
185
158
|
sessionHandler = session;
|
package/package.json
CHANGED
|
@@ -29,11 +29,7 @@ let roomSession = function ({roomId, pinHash, isTalkback, isMonitor, isInstructo
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
const emitter = _emitter_();
|
|
32
|
-
|
|
33
32
|
let alpTimeoutId = null;
|
|
34
|
-
let publishRetry = 0;
|
|
35
|
-
const maxPublishRetry = 3;
|
|
36
|
-
|
|
37
33
|
let ___; // return object
|
|
38
34
|
|
|
39
35
|
room.on('addLocalParticipant', () => {
|