Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Camera - stream not serving correctly with custom boundry #35

Open
Dayjo opened this issue Sep 30, 2014 · 1 comment
Open

New Camera - stream not serving correctly with custom boundry #35

Dayjo opened this issue Sep 30, 2014 · 1 comment

Comments

@Dayjo
Copy link

Dayjo commented Sep 30, 2014

So I got myself a new IP Camera, and trying to get it work with Paparazzo but having some issues.

The full url to the stream is here; http://fc8774.myfoscam.org:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=thesite&pwd=sitepassword

The user is only set to be a visitor and it's a public camera so no hacking 👍

After doing a readfile command on my stream which receives something like this;

--ThisString Content-type:image/jpeg Content-Length:35564 ÿØÿà�JFIF����ÿÛÅ�� � �����&�����/"$�&8 ...

I'm wondering whether it's the wrong kind of stream.

I realised I need to edit paparazzo to specify what the custom boundry would be, so I edited it and set the boundry to --ThisString, this now at least got it downloading (or appearing to be downloading) the stream.

The logs do display that it'd downloaded some of the images and even served when I go to the http url for the server;

However the response from the server despite having a content-length of 42kb (way t and content-type jpg just returns no image. Here's the har from Chrome DevTools;

Any help here would be muchly appreciated!

@Dayjo
Copy link
Author

Dayjo commented Mar 11, 2015

Going to try and have another look at this tomorrow evening to try and determine where exactly the problem lies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant