Mixes video and audio streams and participants based on specified parameters.
The options for mixing streams.
A promise that resolves with the mixed streams.
Will throw an error if there is an issue mixing the streams.
const mixedStreams = await mixStreams({ alVideoStreams: [stream1, stream2], non_alVideoStreams: [participant1, participant2], ref_participants: [participant1, participant2],});console.log('Mixed streams:', mixedStreams); Copy
const mixedStreams = await mixStreams({ alVideoStreams: [stream1, stream2], non_alVideoStreams: [participant1, participant2], ref_participants: [participant1, participant2],});console.log('Mixed streams:', mixedStreams);
Mixes video and audio streams and participants based on specified parameters.