Use mediasoup to switch FFMPEG input

Solution is much more simpler.

Use a webrtc producer, use replaceTrack() to switch source. PlainTransport on serverside consumes this producer and is sent to FFMPEG.
Project mediasoup3-record-demo I shared above helps for the plainTransport part.

1 Like