Swapping consumer on a transport

Hello,

I am trying to do recording with FFMPEG and I use a plainTransport that consumes a video from a producer.

If I want to change the producer that is consumed by that transport “at runtime” (while it’s being piped to FFMPEG). Would disconecting the previous consumer and creating a new one with the new producer work?

Although I suppose that there is a chance that the codec/clockrate is different and that it would be safer to rebuild everything and try to update the ffpmeg sources directly

This is not currently possible but something we have in our roadmap.

1 Like