Creating a proxy on the video input module
- Choose your video source by editing the AL_DIR/preferences/VideoInput.xml file and commenting/uncommenting the video devices.
- Before using the camera commands, you must create a proxy on
the Video Input Module by writing:
// Get a proxy on the video input module. ALPtr<ALProxy> cameraProxy = getParentBroker()->getProxy( "ALVideoDevice" ); // Or use the specific video proxy for better efficiency ALPtr<ALVideoDeviceProxy> cameraProxy = ALPtr<ALVideoDeviceProxy>( new ALVideoDeviceProxy(getParentBroker()));