Default Force camera to stay on?


I have a ip webcam set up on a desire hd phone. Whenever i hit home button the app shuts my camera off and stops recording. Is there a way to force a app to run och force the camera to stay on? I want to play spotify and still have ip webcam running in background.