The only way to get webcams working in many programs is to place Avast in “Passive Mode” or uninstall. This seems to be a consistent issue, but has not attracted dev attention.