From 160b15fc2546839a6b2c6dd13911b0a0a666a7b8 Mon Sep 17 00:00:00 2001 From: Liwei Dong Date: Wed, 16 Aug 2023 20:00:17 +0800 Subject: [PATCH] =?UTF-8?q?recorder.js=20bug:=20=20OnRecorderFrameRecorded?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E4=BA=86=E7=A9=BA=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这里buffer数据传错了。 导致Unity里拿不到数据! --- .../WX-WASM-SDK-V2/Runtime/wechat-default/unity-sdk/recorder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/API/Assets/WX-WASM-SDK-V2/Runtime/wechat-default/unity-sdk/recorder.js b/Demo/API/Assets/WX-WASM-SDK-V2/Runtime/wechat-default/unity-sdk/recorder.js index d132f351..54d2d15c 100644 --- a/Demo/API/Assets/WX-WASM-SDK-V2/Runtime/wechat-default/unity-sdk/recorder.js +++ b/Demo/API/Assets/WX-WASM-SDK-V2/Runtime/wechat-default/unity-sdk/recorder.js @@ -28,7 +28,7 @@ export default { return; } const callback = (res) => { - cacheArrayBuffer(id, res.data); + cacheArrayBuffer(id, res.frameBuffer); const resStr = JSON.stringify({ callbackId: id, res: JSON.stringify({