If you want to stream 4k, you'll likely need to use the 'advanced' section of the output settings to do so. (and potentially use the recording tab with the 'output to URL' option to set the codec and container needed for the platform you're using and what it needs.