yuv, but very slow in dev
This commit is contained in:
parent
4e41a8a044
commit
b24c997a20
@ -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;
|
||||
}
|
||||
|
||||
|
3
web/LibYUV.js
Normal file
3
web/LibYUV.js
Normal file
File diff suppressed because one or more lines are too long
BIN
web/LibYUV.wasm
Normal file
BIN
web/LibYUV.wasm
Normal file
Binary file not shown.
@ -32,7 +32,8 @@
|
||||
<title>RustDesk</title>
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<script src="ogvjs/ogv.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index.d55bf9f9.js"></script>
|
||||
<script src="./LibYUV.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index.a4c96927.js"></script>
|
||||
<link rel="modulepreload" href="/assets/vendor.fd8ceed9.js">
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user