Add Bitrate Setting

This commit is contained in:
Florian Märkl 2019-08-21 18:44:12 +02:00
commit 3f6cc3647e
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
6 changed files with 54 additions and 2 deletions

View file

@ -54,9 +54,17 @@ class Settings : public QObject
ChiakiVideoResolutionPreset GetResolution() const;
void SetResolution(ChiakiVideoResolutionPreset resolution);
/**
* @return 0 if set to "automatic"
*/
ChiakiVideoFPSPreset GetFPS() const;
void SetFPS(ChiakiVideoFPSPreset fps);
unsigned int GetBitrate() const;
void SetBitrate(unsigned int bitrate);
ChiakiConnectVideoProfile GetVideoProfile();
QList<RegisteredHost> GetRegisteredHosts() const { return registered_hosts.values(); }
void AddRegisteredHost(const RegisteredHost &host);
void RemoveRegisteredHost(const HostMAC &mac);