const options: XrFrame.IShareRecordOptions = {
fps: 30,
width: scene.width,
height: scene.height,
videoBitsPerSecond: 1000
};
// 启动录制
await scene.share.recordStart(options);
await scene.share.recordFinishToAlbum(options);
录制画布没有声音,真的是难受,还要后期处理下。