@reactoo/watchtogether-sdk-js 2.7.89 → 2.7.91
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/watchtogether-sdk.js +1604 -860
- package/dist/watchtogether-sdk.js.map +1 -1
- package/dist/watchtogether-sdk.min.js +2 -2
- package/example/index.html +1 -1
- package/package.json +1 -1
- package/src/models/room-session.js +1 -0
- package/src/modules/wt-room.js +343 -138
package/example/index.html
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
//https://studio.reactoo.com/room/edf441b3-7415-49c4-9557-273cb93bc746/LJj4W2Cz-nG3U-lb0R-TAaY-o7Thmb8xHSbE
|
|
34
34
|
|
|
35
|
-
let roomId = "
|
|
35
|
+
let roomId = "5703bcd6-a11e-4a73-bd14-12ed57227a8c"; // It will create room automatically if not set
|
|
36
36
|
let pinHash = null;
|
|
37
37
|
|
|
38
38
|
let participants = document.querySelector('.participants');
|
package/package.json
CHANGED
|
@@ -115,6 +115,7 @@ let roomSession = function ({roomId, pinHash, role, options = {}}, room, wt) {
|
|
|
115
115
|
roomData.data.roomId,
|
|
116
116
|
roomData.data.pin,
|
|
117
117
|
roomData.data.href,
|
|
118
|
+
roomData.data.protocol,
|
|
118
119
|
roomData.data.iceServers,
|
|
119
120
|
roomData.data.accessToken,
|
|
120
121
|
roomData.data.display,
|