Configure multiple cameras with ffmpeg: settings

How do I configure ffmpeg settings for different model cameras? I’m designing a large system with somewhere between 12 and 16 cameras and realized that they will be from more than one manufacturer.

I know how finicky ffmpeg settings are for my current camera and would have issues if I tried a different camera simultaneously, so I did an experiment. My riolink provides rtsp and rtmp streams. I can configure ffmpeg for either, but the other view is always green. How do I define ffmpeg settings that are specific to a camera instance or to a class of cameras?