Skip to content

Commit 96fe064

Browse files
authored
Merge pull request #1 from LiweiDong/LiweiDong-patch-1
recorder.js bug: OnRecorderFrameRecorded回调了空数据
2 parents 6f4a603 + 160b15f commit 96fe064

File tree

1 file changed

+1
-1
lines changed
  • Demo/API/Assets/WX-WASM-SDK-V2/Runtime/wechat-default/unity-sdk

1 file changed

+1
-1
lines changed

Demo/API/Assets/WX-WASM-SDK-V2/Runtime/wechat-default/unity-sdk/recorder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default {
2828
return;
2929
}
3030
const callback = (res) => {
31-
cacheArrayBuffer(id, res.data);
31+
cacheArrayBuffer(id, res.frameBuffer);
3232
const resStr = JSON.stringify({
3333
callbackId: id,
3434
res: JSON.stringify({

0 commit comments

Comments
 (0)