problem is how to handle yuv
This commit is contained in:
parent
1d7933621d
commit
4e41a8a044
@ -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…
x
Reference in New Issue
Block a user