update quality monitor & remove remote_page.dart desktop unused code

This commit is contained in:
csf
2022-08-15 20:26:20 +08:00
parent f99ab7d0a7
commit 710ffcd0c7
4 changed files with 71 additions and 259 deletions

View File

@@ -850,6 +850,7 @@ impl Connection {
};
if let Ok(true) = self.video_handler.handle_frame(vf) {
let stream = self.session.events2ui.read().unwrap();
self.frame_count.fetch_add(1, Ordering::Relaxed);
stream.add(EventToUI::Rgba(ZeroCopyBuffer(
self.video_handler.rgb.clone(),
)));