Avoiding ethernet cameras initialization

Post Reply
rmtnez
Posts: 5
Joined: Mon Jun 15, 2009 3:37 am

Avoiding ethernet cameras initialization

Post by rmtnez »

Hi all, I use a pair of USB cameras in my system, so no ethernet connection is required. When initializing them by means of executing CameraLibrary::CameraManager::X(); this function always send some packages in order to detect some additional ethernet cameras and thus the firewall detects this activity.

Is there any way of avoiding the internet camera's detection?

Thank you very much in advance.
Rafael.
beckdo
Posts: 520
Joined: Tue Jan 02, 2007 2:02 pm

Re: Avoiding ethernet cameras initialization

Post by beckdo »

Before making any calls into the Camera SDK, ideally near your process' entry point do this:

cCameraLibraryStartupSettings::X().EnableEthernetDevices(false);

This will disable all Ethernet devices, communication over sockets, and any packet communication. Basically this prevents the entire Ethernet system within the Camera SDK from initializing and running.
rmtnez
Posts: 5
Joined: Mon Jun 15, 2009 3:37 am

Re: Avoiding ethernet cameras initialization

Post by rmtnez »

Nice, thanks a lot.
Rafael
Post Reply