0t3ch / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

Support basic authentication when connecting to IP Cameras #269

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have added support for connecting to cameras using basic authentication.  
This is necessary for TrendNET IP cameras to connect directly to the video feed.

I don't know how to check in an SVN patch so I have attached the file I edited 
to this post.  Basically my change involved providing a new property called 
"UseBasicAuthentication" on the MJPEGStream object.  The "WorkerThread" method 
then looks at this variable when deciding what type of authentication to use.

Let me know if I can do anything else to help with this issue.

Thanks,
Shawn

Original issue reported on code.google.com by sgoert...@gmail.com on 11 Dec 2011 at 3:46

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 12 Dec 2011 at 2:06

GoogleCodeExporter commented 9 years ago
Added ForceBasicAuthentication property for MJPEGStream and JPEGStream classes, 
which allows to force HTTP basic authentication by adding required HTTP header.

Committed in revision 1646. Will be released in version 2.2.3.

Original comment by andrew.k...@gmail.com on 12 Dec 2011 at 2:10

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 12 Dec 2011 at 9:17