draco1023 / aforge

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

Proxy support for JPEGStream\MJPEGStream #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create a IWebProxy member in JPEGStream\MJPEGStream and use in the 
HttpWebRequest.

public class JPEGStream : IVideoSource
{
...
    private IWebProxy proxy;
...
    public IWebProxy Proxy
    {
       get { return proxy; }
       set { proxy = value; }
    }
...
    private void WorkerThread( )
    {
...
        request.Proxy=proxy;
...
    }

Original issue reported on code.google.com by romulo.p...@gmail.com on 7 Jul 2010 at 8:17

GoogleCodeExporter commented 9 years ago
Patch implementing Proxy support

Original comment by romulo.p...@gmail.com on 9 Feb 2011 at 10:07

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 9 Feb 2011 at 10:15

GoogleCodeExporter commented 9 years ago
Added Proxy property to both JPEGStream and MJPEGStream classes, which allow 
user to specify proxy server to use.

Committed in revision 1397. Will be released in version 2.1.6.

Note: documentation of possible exceptions is removed for both classes, since 
it is not clear how exception can raise by just specifying new proxy, which is 
store in a private field (it is not set to request on setting the property).

Original comment by andrew.k...@gmail.com on 28 Feb 2011 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 28 Jul 2011 at 9:43

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 3 Aug 2011 at 7:50