Merge branch 'abr' into hwcodec

This commit is contained in:
csf
2022-06-27 15:21:31 +08:00
48 changed files with 854 additions and 312 deletions

View File

@@ -447,9 +447,9 @@ message PermissionInfo {
enum ImageQuality {
NotSet = 0;
Low = 2;
Balanced = 3;
Best = 4;
Low = 50;
Balanced = 66;
Best = 100;
}
message VideoCodecState {
@@ -471,7 +471,7 @@ message OptionMessage {
BoolOption show_remote_cursor = 3;
BoolOption privacy_mode = 4;
BoolOption block_input = 5;
int32 custom_image_quality = 6;
uint32 custom_image_quality = 6;
BoolOption disable_audio = 7;
BoolOption disable_clipboard = 8;
BoolOption enable_file_transfer = 9;
@@ -481,6 +481,8 @@ message OptionMessage {
message TestDelay {
int64 time = 1;
bool from_client = 2;
uint32 last_delay = 3;
uint32 target_bitrate = 4;
}
message PublicKey {

View File

@@ -140,6 +140,8 @@ pub struct PeerConfig {
pub disable_clipboard: bool,
#[serde(default)]
pub enable_file_transfer: bool,
#[serde(default)]
pub show_quality_monitor: bool,
// the other scalar value must before this
#[serde(default)]