Fix auto record outgoing sessions ignore record permission (#10294)
1. Fix auto record outgoing sessions ignore record permission 2. Stop record if record permission changed 3. Update hwcodec 4. Make video thread finish faster when connection closed Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -390,16 +390,11 @@ impl<T: InvokeUiSession> Session<T> {
|
||||
}
|
||||
|
||||
pub fn record_screen(&self, start: bool) {
|
||||
let mut misc = Misc::new();
|
||||
misc.set_client_record_status(start);
|
||||
let mut msg = Message::new();
|
||||
msg.set_misc(misc);
|
||||
self.send(Data::Message(msg));
|
||||
self.send(Data::RecordScreen(start));
|
||||
}
|
||||
|
||||
pub fn is_recording(&self) -> bool {
|
||||
self.lc.read().unwrap().record
|
||||
self.lc.read().unwrap().record_state
|
||||
}
|
||||
|
||||
pub fn save_custom_image_quality(&self, custom_image_quality: i32) {
|
||||
|
||||
Reference in New Issue
Block a user