Hello,
I'm calling my application complete - although it's nowhere near perfect, it does what I need.
Thanks to alan1968 for the library, and thedesolatesoul and others for their help.
I've attached my application, with project source, as an example.
I use the AI-Ball IP camera. It's about the size of a ping-pong ball and weighs less than 1 ounce with battery. It comes configured as a micro Access Point (tiny Wi-Fi hotspot) with the address 192.168.2.1. The code should work with other IP cameras, but is preconfigured for this model.
I use this program with a tablet. First, the tablet must be connected to the AI-Ball's Wi-Fi network.
In the program I connect to the AI-Ball over Wi-Fi, send it a streaming command, and it sends back streaming video. The video above shows my super-clean office, but I will eventually tape the AI-Ball to the underside of a toy quad copter and chase the dog around the yard
.
The "video" is actually comprised of individual JPEG's. I capture the JPEG's at around a 3 frames per second rate. When the record button is pressed, I write each JPEG to a directory. You can then copy the directory to a PC and use FFMPEG to convert the sequence of JPEG's to an MP4.
example FFMPEG command: C:\ffm\ffmpeg -r 3 -i im%04d.jpg -vcodec mpeg4 qcopt.mp4
Barry.