Hi bill27, we just released a new program update 22.8. Could you please check if the problem persists in this new version?
To update to 22.8, please open Avast, go to - Menu - Settings - General - Update - and click the second "CHECK FOR UPDATE" button.
Once the update is installed, please restart your computer and check if you can use your webcam.