When you switching Output Mode, you need to setup codecs and fill empty fields (if you have custom settings), after you click Apply button they are remembered.
Only one settings (current Output Mode) goes online.
To fast switch between different modes - use Profiles and Scene Collections.