-
Notifications
You must be signed in to change notification settings - Fork 552
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
Fix mjpeg source for Foscam G2 camera #1258
Comments
I don't know if it's difficult to give me access to the stream. It would make it a lot easier to fix. |
Thanks, I have made the stream available, will DM the url to you via discord. |
I rebuilt from the latest master and can confirm the camera fix works from my end - thanks for such an amazing quick response! Closing the issue as fixed in v1.9.5. |
You don't needs to rebuild anything manually |
I have a Foscam G2 camera configured to supply an mjpeg secondary stream from url http://x.x.x.x/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=xxx&pwd=xxx , which works directly in Chrome browser and VLC. When attempting to use as a go2rtc source there is continuous logging of malformed MIME header: missing colon messages (and no output). The camera is indeed producing a malformed MIME header as seen with curl -i response:
Since other apps like Chrome and VLC can handle the camera stream, any chance go2rtc can ignore malformed lines? I can see the error is coming from "mustHaveFieldNameColon" function in golang source - https://github.com/golang/go/blob/master/src/net/textproto/reader.go per RFC 7230.
Thanks.
The text was updated successfully, but these errors were encountered: