The options for updating the interaction.
A promise that resolves when the interaction update is complete.
await reUpdateInter({
name: 'participant1',
add: true,
parameters: {
screenPageLimit: 4,
itemPageLimit: 2,
reorderInterval: 500,
fastReorderInterval: 200,
eventType: 'conference',
participants: [...],
allVideoStreams: [...],
shared: false,
shareScreenStarted: false,
adminNameStream: 'Admin',
screenShareNameStream: 'Screen Share',
updateMainWindow: true,
sortAudioLoudness: false,
lastReorderTime: Date.now(),
newLimitedStreams: [],
newLimitedStreamsIDs: [],
oldSoundIds: [],
updateUpdateMainWindow: (value) => { console.log('your logic') },
updateSortAudioLoudness: (value) => { console.log('your logic') },
updateLastReorderTime: (value) => { console.log('your logic') },
updateNewLimitedStreams: (streams) => { console.log('your logic') },
updateNewLimitedStreamsIDs: (ids) => { console.log('your logic') },
updateOldSoundIds: (ids) => { console.log('your logic') },
onScreenChanges: async (options) => { console.log('your logic') },
reorderStreams: async (options) => { console.log('your logic') },
changeVids: async (options) => { console.log('your logic') },
},
});
Updates the interaction state based on the provided options and parameters.