Add webcam function and mic function