move webcam code to common util
Prevent duprecated home-recorder process