@reactoo/watchtogether-sdk-js 2.4.19 → 2.4.20
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 +5 -5
- package/dist/watchtogether-sdk.min.js +2 -2
- package/package.json +1 -1
- package/src/modules/sync-modules/sync-dash-vod.js +1 -1
- package/src/modules/sync-modules/sync-hls-vod.js +1 -1
- package/src/modules/sync-modules/sync-native-hls-vod.js +1 -1
- package/src/modules/sync-modules/sync-shaka-dash-vod.js +1 -1
package/package.json
CHANGED
|
@@ -227,7 +227,7 @@ const syncVodDashJs = function ({room, wt, roomSession, emitter} = {}) {
|
|
|
227
227
|
if(data.operation === 'multi') {
|
|
228
228
|
(data.value || []).forEach(event => {
|
|
229
229
|
if (event.operation === 'sendMessage') {
|
|
230
|
-
executePlayerIotEvents({...
|
|
230
|
+
executePlayerIotEvents({...event, roomId: data.roomId, userId: data.userId});
|
|
231
231
|
}
|
|
232
232
|
})
|
|
233
233
|
}
|
|
@@ -227,7 +227,7 @@ const syncVodHlsJs = function ({room, wt, roomSession, emitter} = {}) {
|
|
|
227
227
|
if(data.operation === 'multi') {
|
|
228
228
|
(data.value || []).forEach(event => {
|
|
229
229
|
if (event.operation === 'sendMessage') {
|
|
230
|
-
executePlayerIotEvents({...
|
|
230
|
+
executePlayerIotEvents({...event, roomId: data.roomId, userId: data.userId});
|
|
231
231
|
}
|
|
232
232
|
})
|
|
233
233
|
}
|
|
@@ -219,7 +219,7 @@ const syncVodHlsJs = function ({room, wt, roomSession, emitter} = {}) {
|
|
|
219
219
|
if(data.operation === 'multi') {
|
|
220
220
|
(data.value || []).forEach(event => {
|
|
221
221
|
if (event.operation === 'sendMessage') {
|
|
222
|
-
executePlayerIotEvents({...
|
|
222
|
+
executePlayerIotEvents({...event, roomId: data.roomId, userId: data.userId});
|
|
223
223
|
}
|
|
224
224
|
})
|
|
225
225
|
}
|
|
@@ -225,7 +225,7 @@ const syncVodShakaDash = function ({room, wt, roomSession, emitter} = {}) {
|
|
|
225
225
|
if(data.operation === 'multi') {
|
|
226
226
|
(data.value || []).forEach(event => {
|
|
227
227
|
if (event.operation === 'sendMessage') {
|
|
228
|
-
executePlayerIotEvents({...
|
|
228
|
+
executePlayerIotEvents({...event, roomId: data.roomId, userId: data.userId});
|
|
229
229
|
}
|
|
230
230
|
})
|
|
231
231
|
}
|