From 831f583f89c087a5ea1bec4b717e06496217f260 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 21 May 2025 22:57:55 +0200 Subject: Add support for rumble streaming by default --- include/Config.hpp | 7 ++++++- include/gui/SettingsPage.hpp | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.2.3-70-g09d2