mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-25 07:17:58 +00:00
yuv, but very slow in dev
This commit is contained in:
1 parent
4e41a8a044
commit
b24c997a20
4 files changed
+8
-2
No files matched your search
+3
-1
@@ -7,7 +7,9 @@ class PlatformFFI {
|
||||
|
||||
static Uint8List getRgba() {
|
||||
var data = js.context.callMethod('getRgba');
|
||||
if (data) return Uint8List.sublistView(data);
|
||||
if (data != null) {
|
||||
return Uint8List.sublistView(data);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user