Click to See Complete Forum and Search --> : Cams on inside/users on outside


daed17
06-19-2003, 07:41 PM
I am using cameras that are behind a firewall. Both web server and camera are behind the firewall. Only port 80 is open for the web server. I want to make the streaming video coming from the video bridge (mjpeg) viewable to internet users that visit the site.

Here is the code that the company provided. It is client side code and assumes that the IP,szIP, is available on the web.

<script language=javascript>
var isIE = navigator.appName.search( "Microsoft" ) != -1 ? true : false;
nCamera = 1 << nCamera;
document.write( "<APPLET " );
if ( isIE )
{
document.write( "CABBASE=MultiViewClient.cab " );
document.write( "CODE=MultiViewClient.class " );
}
else
{
document.write( "ARCHIVE=MultiViewClient.jar " );
document.write( "CODE=MultiViewClient " );
}
document.write( "CODEBASE=http://" + szIP + " " );
document.write( "WIDTH=" + nWidth + " " );
document.write( "HEIGHT=" + nHeight + " " );
document.write( "MAYSCRIPT>");
document.write( "<PARAM NAME = SourceID " );
document.write( " VALUE=" + nCamera + ">" );
document.write( "</APPLET>" );
</script>

How can I do this?

AdamGundry
06-20-2003, 04:51 AM
This code actually loads a java applet which makes the connection to the camera. You will probably need to find out which port it uses, and open that port on your firewall.

Adam

daed17
06-20-2003, 10:24 AM
Not an option, company will not allow that.
Believe me, that was my first suggestion.

Need to use the webserver to deliever the cams.

Any suggestions?