Do you mean handling that extra track for sending to ffmpeg is in the server side api ? I don’t want it showing up as a second track on consumer side if that is what it does.
Then please rephrase your question using proper mediasoup terminology because you literally asked if produce() can be called 2 times in same transport.
I don’t know what language you expect me to say it in. It’s quite obvious. A second audio mixed MediaStream from an audio api mixer. Or do I need to create a second producer for that one stream ?
This demo is similar to what I’m trying to achieve and already doing with a pipe method. But it references to the producer id. Unless I can specify a track ? It just needs to be one audio track sent to ffmpeg.
I don’t know what an audio api mixer is and I don’t know what the first audio stream is (you are just talking about a second one). But anyway: 1 Producer == 1 media stream track, and 1 Consumer == 1 media stream track.