I used SurfaceTexture onFrameAvailable with android Camera2 from the repo below. However, the time difference between each onFrameAvailable call is around 150-200 millisecon