diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-05-21 22:57:55 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-05-21 22:57:55 +0200 |
commit | 831f583f89c087a5ea1bec4b717e06496217f260 (patch) | |
tree | 276375519e166b85bb3ef0689a1e0f57d88dc711 /include | |
parent | d0f8b7061f572772ddba10eccf6f59a1cc98252d (diff) |
Add support for rumble streaming by default
Diffstat (limited to 'include')
-rw-r--r-- | include/Config.hpp | 7 | ||||
-rw-r--r-- | include/gui/SettingsPage.hpp | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/Config.hpp b/include/Config.hpp index c094125..b0686c0 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -55,7 +55,7 @@ namespace gsr { std::string video_quality = "very_high"; std::string video_codec = "auto"; std::string audio_codec = "opus"; - std::string framerate_mode = "vfr"; + std::string framerate_mode = "auto"; bool advanced_view = false; bool overclock = false; bool record_cursor = true; @@ -79,6 +79,10 @@ namespace gsr { std::string stream_key; }; + struct RumbleStreamConfig { + std::string stream_key; + }; + struct CustomStreamConfig { std::string url; std::string container = "flv"; @@ -91,6 +95,7 @@ namespace gsr { std::string streaming_service = "twitch"; YoutubeStreamConfig youtube; TwitchStreamConfig twitch; + RumbleStreamConfig rumble; CustomStreamConfig custom; ConfigHotkey start_stop_hotkey; }; diff --git a/include/gui/SettingsPage.hpp b/include/gui/SettingsPage.hpp index d433a88..08bbd9d 100644 --- a/include/gui/SettingsPage.hpp +++ b/include/gui/SettingsPage.hpp @@ -192,6 +192,7 @@ namespace gsr { Button *save_directory_button_ptr = nullptr; Entry *twitch_stream_key_entry_ptr = nullptr; Entry *youtube_stream_key_entry_ptr = nullptr; + Entry *rumble_stream_key_entry_ptr = nullptr; Entry *stream_url_entry_ptr = nullptr; Entry *replay_time_entry_ptr = nullptr; RadioButton *replay_storage_button_ptr = nullptr; |