obs-studio
obs-studio copied to clipboard
UI: Log streaming service recommended maximums
Description
Log the maximum recommended audio and video bitrate when the user ticks the "Ignore streaming service setting recommendations" box.
Motivation and Context
Mentioned by @Warchamp7 that we should warn when a user is going above the recommended bitrate in the loganalyzer, this logging is a requirement to make that happen.
How Has This Been Tested?
Tested Twitch and Youtube in both simple and advanced output mode, both showed the correct values. Tested with "Custom" to confirm it is showing "None" for audio and video bitrate maximums when those values are returning 0. https://obsproject.com/logs/ZuadI85OgoP0Yjjj
Types of changes
- Tweak (non-breaking change to improve existing functionality)
Checklist:
- [x] My code has been run through clang-format.
- [x] I have read the contributing document.
- [x] My code is not on the master branch.
- [x] The code has been tested.
- [x] All commit messages are properly formatted and commits squashed where appropriate.
- [x] I have included updates to all appropriate documentation.