How to delay motion controller to sync video for virtual sets

I’m trying to do a very basic virtual production set and so far have been able to comp a CG character and a video stream so she looks like she’s standing next to me. I was also able to outfit the camera with a vive tracker so the camera can be moved.

The problem is the video is slightly delayed so the CG portion gets ahead of the video by several frames when the camera moves.

How can I delay the tracker/motion controller several frames so it will match up with the video feed?