Skip to content

Use IP Camera Driver Behind Proxy

sarxos edited this page Nov 13, 2012 · 1 revision

To use Webcam Capture IP Camera Driver behind proxy, simply set those variables:

From Java code:

System.setProperty(IpCamHttpClient.PROXY_HOST_KEY, "my.proxy.host.com");  // proxy host
System.setProperty(IpCamHttpClient.PROXY_PORT_KEY, "8000");               // proxy port

From command line:

$ java [program arguments here] \
    -Dhttp.proxyHost=my.proxy.host.com \
    -Dhttp.proxyPort=8000