How long have you had your Droidbox m8? They haven't offered this machine for some time so it could be out of warranty if there truly is a hardware related fault. Is it possible there is a problem with the webcam itself - can you try it on some other device like a pc?
Has this problem only just started occuring? Is the webcam certified as android compatible?