I have the same problem as reported in this question: https://answers.microsoft.com/en-us/windows/forum/all/webcam-camera-keeps-turning-on-and-off/3c310410-88ef-4868-a2a7-2de3c1834da7?rtAction=1575454959647&tm=1575455155372 . It does not seem to have been resolved. My webcam also keeps turning off and on again every few seconds. I have run dxdiag as suggested in that question but this reports "no problem found." The problem occurs regardless of whether I am just using the camera app or running a meeting in Teams.
When I look in the event viewer, I see two events occurring every few seconds.
I can see in event viewer that I am getting event id 7034, The Windows Camera Frame Server service terminated unexpectedly. I also see an Event 1000 linked to this with faulting svchost.exe_Framserver, Faulting module path: C:\Program Files\Realtek\RsProviders\RsProvider.dll.
I have tried uninstalling recent windows updates, reinstalling and/or rolling back drivers, resetting the Camera app. Nothing has fixed the problem. Any suggestions for a fix would be welcome. I am not sure when the problem started but my camera was definitely OK about 2 months ago.
The integrated camera is from SunplusIT. The driver is from them, version 220.127.116.11. There is a later version of the driver, 18.104.22.168 , which was installed when I detected the problem. Rolling back the driver to 22.214.171.124 did not fix the problem.