cameraTexture from pipeline module is not sync with the background camera feed

Hello. I am working on some VFX that needs the camera feed. So I create my own pipeline module and fetch the cameraTexture from onUpdate event data. But after I apply this WebGLTexture to my rendering, I find that this WebGLTexture is faster than the background camera feed. I try caching the cameraTexture for one frame. But it seems not fixing the problem for some platform. And the problem is very obvious when the framerate is low.

Do you have any suggestion for me?