The Camera Setup screen allows you to customize the look and function of IP camera controls in an activity layout.
In the Name section, you can change the name and description of the camera.The camera name is displayed in the activity layout if the Show Label option is set to “On.”
Settings in the Appearance section determine how the camera view displays on screen.
URL is a state variable pointing to the video feed for your camera. The variable value should be an HTTP or HTTPS link to a Motion-JPEG stream. We store the URL in a state variable so that you can dynamically update its value. For example, you can put a single IP camera control in your activity layout, and then place buttons near the control that let you cycle through feeds from different cameras by having each button press update the URL state variable for the camera control. For more information on the scripting involved in updating state variables at runtime, please refer to the RedEye Advanced Programming Manual.
You can set the Width and Height of your camera control. As with images, labels, and other controls, these dimensions are in “relative pixels” based on a display of 320.0 pixels in width. The actual display size of the camera window depends on the client controller you are using, but RedEye will take care of scaling everything for you automatically.
Toggling Show Label to “On” will display the camera name underneath the camera in your activity layout.
Most IP cameras allow you to secure them with a username and password, and optionally access them over an encrypted (HTTPS) connection. The Security section is the place to configure these settings for your camera.
Enter the Username and Password for your IP camera if desired. Please note that these values will be stored in your RedEye configuration and therefore may be visible to other people on your network. If you do not want to store these values in the RedEye configuration you can leave them blank; at runtime if RedEye detects that you need to enter a username and password, it will prompt you.
If you are accessing an unencrypted (HTTP) video feed and you are using a login name and password, you need to turn on the Allow Clear Text option, which allows your username and password to be sent over an unsecured connection. This option is required whether you store the username and password in the camera configuration, or whether you will provide it at runtime.
If you are accessing an encrypted (HTTPS) video feed and you configured your IP camera using a self-signed certificate, then you need to turn on the Allow Self-Signed option. With this option enabled, RedEye will automatically trust the authenticity of the certificate presented by your IP camera without any attempt to validate against common root certificate authorities. For more information about certificates, please click here.