mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-17 02:01:01 +03:00
Not require both max-width and max-height of mediacodec larger than (#8036)
screen width and screen height * Only use hardware codec, when api < 29, judge with codec name prefix. Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -178,6 +178,8 @@ pub struct MediaCodecInfo {
|
||||
#[derive(Debug, Deserialize, Clone)]
|
||||
pub struct MediaCodecInfos {
|
||||
pub version: usize,
|
||||
pub w: usize,
|
||||
pub h: usize,
|
||||
pub codecs: Vec<MediaCodecInfo>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user