Page 1 of 1

Avoiding ethernet cameras initialization

Posted: Mon Oct 27, 2014 7:46 am
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.

Re: Avoiding ethernet cameras initialization

Posted: Mon Oct 27, 2014 2:26 pm
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.

Re: Avoiding ethernet cameras initialization

Posted: Wed Oct 29, 2014 12:42 am
by rmtnez
Nice, thanks a lot.
Rafael