Ever since some Windows Update got installed on Windows 10 machines, there might appear webcam issues in MS Teams and other apps using your webcam. The webcam stream just crashes or freezes within a minutes of work.
Luckily there is an easy registry workaround available:
Start regedit.exe on affected machine and go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\Platform
If you are running Windows 64-bit system, then go to here instead:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Media Foundation\Platform
In this key, create a new REG_DWORD value named “EnableFrameServerMode” and set its value to 0.
This is how the solution could look like when implemented via GPO (with proper item-level targeting by OS architecture):