mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-21 15:07:13 +00:00
Merge branch 'abr' into hwcodec
This commit is contained in:
commit
085356c0b3
48 files changed
+854
-312
No files matched your search
@@ -50,6 +50,8 @@ pub trait EncoderApi {
|
||||
fn encode_to_message(&mut self, frame: &[u8], ms: i64) -> ResultType<Message>;
|
||||
|
||||
fn use_yuv(&self) -> bool;
|
||||
|
||||
fn set_bitrate(&mut self, bitrate: u32) -> ResultType<()>;
|
||||
}
|
||||
|
||||
pub struct DecoderCfg {
|
||||
|
||||
Reference in new issue
Block a user