fix custom_image_qulity and android

This commit is contained in:
csf
2022-06-30 20:48:29 +08:00
parent a5ab0db5b9
commit 5a7dca72c8
5 changed files with 24 additions and 12 deletions

View File

@@ -277,7 +277,7 @@ impl Handler {
test_delay::CodecFormat::VP9 => "VP9",
test_delay::CodecFormat::H264 => "H264",
test_delay::CodecFormat::H265 => "H265",
};
};
self.call2(
"updateQualityStatus",
&make_args!(
@@ -2617,9 +2617,7 @@ impl Interface for Handler {
codec_format: t.codec_format.enum_value_or_default(),
..Default::default()
});
let mut msg_out = Message::new();
msg_out.set_test_delay(t);
allow_err!(peer.send(&msg_out).await);
handle_test_delay(t, peer).await;
}
}
}