PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Phone Camera Problem

ThursdayNext · 27 Nov 2007, 20:48 UTC
I am running EdgeLib v3.2 and in the application I am trying to gain access to the cell phone's camera via DirectShow.

Specifically if we start EdgeLib first before we try to access the camera then we can not get access to the camera but EdgeLib will render on the screen. As might be expected if we reverse the order then we can access the camera but can not render on the screen. In both cases we have verified OnNextFrame() is being called.

Does EdgeLib take exclusive control of the camera and/or DirectShow?

Thank You
Hi,

It could be possible that EDGELIB takes exclusive control while it's using DirectDraw. When you access the camera, do you need to create a DirectDraw instance?
ThursdayNext · 29 Nov 2007, 22:43 UTC
edge wrote:Hi,

It could be possible that EDGELIB takes exclusive control while it's using DirectDraw. When you access the camera, do you need to create a DirectDraw instance?


If you access the camera in OnNextFrame, everything seems to work correctly