I am have been trying to find a solution to allow continuous recording while switching cameras with AVFoundation. There is other posts about this with non accepted answers