HTTP Protocol not compatible
some clients like pclient (palantir) can't read header
i changed the code, it's on
http://www.roberto.spadim.com.br/webcam.c
now it's all right!
thanks for this very beautifull program
As far as I can see you have turned Motion into something that streams exactly like Palantir and even identifies itself as Palantir.
That makes no sense.
What in the mjpeg stream is required changed to make it compatible? I am sure not all your changes are needed.
-- KennethLavrsen - 02 May 2005
\n is not newline 100% compatible with many clients, so i changed \n to \r\n, and flush data before and after header, before --mp-boundary was need \r\n and after mult-part headers \r\n\r\n, the size was incorrect (content-lenght)
now every thing is working (with 2005-05-05 webcam.c file)
-- RobertoSpadim - 05 May 2005