What's the difference between ARWorldTrackingConfiguration.recommendedVideoFormatForHighResolutionFrameCapturing and recommendedVideoFormatFor4KResolution?
recommendedVideoFormatForHighResolutionFrameCapturing is used for capturing high resolution still images while the session is running.
For 4K video, you should use recommendedVideoFormatFor4KResolution
Note that this feature is only supported on iPad with M1