What language target do you have for this, if you have a specific target at all? Doing something like with being able to detect all the different types of webcams/cameras/mics is challenging enough, but across different platforms entirely could be really tricky. Java might be a decent solution, but we would really need to talk some details.