MediaSFU Angular
    Preparing search index...

    Class MixStreams

    Mixes video and audio streams and participants based on specified parameters.

    The options for mixing streams.

    The list of audio and video streams to mix.

    The list of non-audio and video streams to mix.

    The list of reference participants to mix.

    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);
    Index

    Constructors

    Methods

    Constructors

    Methods