In-stream GUI bitrate adjustment

This commit is contained in:
Sapphire
2025-12-07 09:32:02 -05:00
parent bb07e5afd7
commit fad0a8feee
10 changed files with 77 additions and 14 deletions
+2 -1
View File
@@ -93,6 +93,7 @@ struct wivrn_comp_target : public comp_target
static std::vector<const char *> wanted_instance_extensions;
static std::vector<const char *> wanted_device_extensions;
uint32_t bitrate = 0;
std::vector<encoder_settings> settings;
std::list<std::jthread> encoder_threads;
std::vector<std::shared_ptr<video_encoder>> encoders;
@@ -107,7 +108,7 @@ struct wivrn_comp_target : public comp_target
void on_feedback(const from_headset::feedback &, const clock_offset &);
void reset_encoders();
void set_bitrate(int bitrate_bps);
void set_bitrate(uint32_t bitrate_bps);
void set_refresh_rate(float);
};