views:

204

answers:

0

I wrote a C# application that uses DirectShow to allow users to take photos with the camera attached to a Windows Mobile 6 phone.

The problem I spotted out is that the preview functionality stops working after a period of not using it.

How could I determine what's causing this ? Is there a timeout in Windows registry that tells how much time the camera should stay on ? This is very strange as my code runs perfect when turning on/off the camera quickly enough (i.e. not letting the camera off more than ~40 seconds).