Reorders the video streams based on the provided options and updates the UI accordingly.
The options for reordering streams.
Optional
A promise that resolves when the reordering is complete.
Throws an error if there is an issue updating the streams.
await reorderStreams({ add: true, screenChanged: false, parameters: { allVideoStreams: [...], participants: [...], // additional parameters... },}); Copy
await reorderStreams({ add: true, screenChanged: false, parameters: { allVideoStreams: [...], participants: [...], // additional parameters... },});
Reorders the video streams based on the provided options and updates the UI accordingly.