mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 09:28:23 +00:00
problem is how to handle yuv
This commit is contained in:
parent
1d7933621d
commit
4e41a8a044
1 changed files with 3 additions and 2 deletions
|
|
@ -6,8 +6,9 @@ class PlatformFFI {
|
|||
static void clearRgbaFrame() {}
|
||||
|
||||
static Uint8List getRgba() {
|
||||
return js.context.callMethod(js.context.callMethod('getRgba'));
|
||||
// return Uint8List.sublistView(ref.data.asTypedList(ref.len));
|
||||
var data = js.context.callMethod('getRgba');
|
||||
if (data) return Uint8List.sublistView(data);
|
||||
return null;
|
||||
}
|
||||
|
||||
static Future<String> getVersion() async {
|
||||
|
|
|
|||
Loading…
Reference in a new issue