CameraContext获得的实时帧数据怎么进行压缩呀?
const listener = context.onCameraFrame((frame) => {
console.log(frame.data instanceof ArrayBuffer, frame.width, frame.height)
})
<camera device-position="back" flash="off" binderror="error" class='camera-style' frame-size="small"> camera组件已经设置frame-size为small,但是获取的一帧数据大小大约是400K,有其它办法能对实时的帧数据进行压缩吗?