how to record multiple streams?

Node js, server side, ffmpeg

I m able to record single stream. But unable to record multiple streams at server side.

Pls help me

Impossible to help with the description you provide.

Check in this forum for similar questions and if you are about to ask again, provide detailed information about what are you doing and what does not work as expected.

You either need to spawn multiple ffmpeg instances and record each stream separately or have some external processing pipeline that will combine streams together somehow and then save resulting stream into a single file.

Mediasoup just forwards streams without any re-encoding applied, so it can’t and shouldn’t produce one output stream for multiple incoming streams.