ArduCAM / RaspberryPi

This is Arducam camera demos used on Raspberry Pi paltform
BSD 3-Clause "New" or "Revised" License
163 stars 97 forks source link

Fix legacy version to work. #75

Open dhylands opened 2 years ago

dhylands commented 2 years ago

I'm not actually expecting this to be merged. These are the changes that I made to get the legacy_version branch to build and I was able to connect with the Android app and get a video stream.

So I thought I'd put this out there for anybody else who is having difficulty getting things to compile/work.

dhylands commented 2 years ago

I could only get the single frame capture to work (using the ArduCAM app) if the stream was running first (i.e. it was playing the video preview).

If I start the stream and then try to do 2 captures in a row, then the first capture will work and the second capture will hang.

If I alternate /stream, /capture, /stream, /capture then I can take as many captures as I want and they all work. As soon as I try to do /stream, /capture, /capture then the second /capture hangs.