const session = this.session = wx.createVKSession({
track: {
face: { mode: 1 }
},
cameraPosition: 1,
version: 'v1',
gl: this.gl
})
}
const frame = this.frame = session.getVKFrame(this.canvas.width, this.canvas.height)
const {yTexture, uvTexture} = frame.getCameraTexture(gl, 'yuv')
console.log('session.status', session.status) //输出0