what I need is to import a camera track from an external file and to do this in a Python script. The external track is a sequence of camera poses (location + rotation) in world coordinates. How to do this in Blender Python? Since the Camera Solver uses a constraint to do this, I was wondering if I have to use something similar, but I am not sure (and if not, why the camera solver uses a constraint?).
I know I can add to the camera a (location + rotation) keyframe for each frame, that is what I already did, but I am wondering why the camera solver does not do this and why and, as a consequence, if there is some reason I am not considering that makes the use of a constraint a better solution to keyframes. Blender devs added a specific constraint type for this, there must be a reason.