I have tried the method in my project ... it does not work well:
-The recording quality is quite low
-Some parts are not recorded, recording stops and then resumes, in that time the image remains frozen.
However, in a very small project it works well and the quality is good.