Reorders the video streams based on the provided options and updates the UI accordingly.
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... },});
The options for reordering streams.
A promise that resolves when the reordering is complete.
Reorders the video streams based on the provided options and updates the UI accordingly.
Throws
Throws an error if there is an issue updating the streams.
Example