1> Enter the IP address and the user login credentials into Tools-->Settings-->Security Camera
2> Inspect the ethernet wire connected to the camera, in your RacePoint config
2.a> ENTER ONLY THE IP ADDRESS into the "hostname" field. DO NOT ENTER LOGIN CREDENTIALS HERE!
3> Screen share with the System Host
3.a> Open Safari on the System Host and log into the camera
3.b> ALLOW SAFARI TO STORE THE LOGIN CREDENTIALS IN THE KEYCHAIN!
3.c> Don't close the screen share session yet!
4> Upload your project to the host
5> Pick up your iPad and navigate to "Environment-->Camera" where that camera is the Samsung 6200rh
5.a> Look at your screen sharing session. You should see a dialogue box requesting that you allow the "AVC" process permission to access the KeyChain.
5.b> Click "ALWAYS ALLOW"
6> Test your PTZ controls from the iPad. If successful, close your screen sharing session.
If this process fails, try resetting the keychain on the host, by following the instructions here:
https://support.apple.com/en-au/HT203192
This camera is quite perculiar in its behavior.
The URL format: <user name>:<password>@<ip addr>/path/to/resource is valid for image retreival, but is not accepted by the camera for PTZ control and will elicit an HTTP Error 400 "Bad Request" response.
Thus, entering the user name and password into Tools-->Settings--> is the correct thing to do, for image retrieval, but this will not work for PTZ control.
You need to override these valuse for PTZ control, by putting just the IP address on the wire. If you don't do this, then the user/password settings entered above
will be used to complete the PTZ URL and the command will fail.
Doing this on its own isn't enough though. Because the PTZ commands will now be issued without authentication information, the camera will instead respond with the HTTP Error 401 "Unauthorized".
Most browsers and indeed also the Savant AVC process, will interpret this as an authentication challenge, whereupon the program in question, will attempt to check the Keychain for valid log in credentials.
We need to ensure that not only are the correct login credentials stored in the keychain, but that the Savant AVC process is allowed to access that Keychain to retrieve them.
The State variables "PanValue", "TiltValue" and "ZoomValue" hold the default values for each of the standard PanLeft/Right, TiltUp/Down and ZoomIn/Out actions.
These values dictate the movement each Pan/Tilt/Zoom command will elicit from the camera. These values can be adjusted by Inspecting the camera in the RP layout and selecting "State Variables" from the "Show" dropdown box.
select the variable to be edited and then adjust the "Initial Value" according to taste!
Version 2.1: First working version
Version 2.2: Refined and removed unnecessary code
Version 2.3: Created State variables to allow default Pan,Tilt,Zoom values. These default values can be altered in Inspector.
Version 2.4: Removed unusable image format definitions. Default image URL is now "/cgi-bin/video.cgi?msubmenu=mjpg&resolution=0"
Version 2.5: Further tidy up... removed code comments
Version 2.6: Added important setup notes.
5
5
1
cgi-bin/video.cgi?msubmenu=mjpg&resolution=0
stw-cgi/ptzcontrol.cgi?msubmenu=relative&action=control&Pan=
stw-cgi/ptzcontrol.cgi?msubmenu=relative&action=control&Pan=-
stw-cgi/ptzcontrol.cgi?msubmenu=relative&action=control&Tilt=
stw-cgi/ptzcontrol.cgi?msubmenu=relative&action=control&Tilt=-
stw-cgi/ptzcontrol.cgi?msubmenu=relative&action=control&Zoom=
stw-cgi/ptzcontrol.cgi?msubmenu=relative&action=control&Zoom=-
cgi-bin/ptz.cgi?movepresetno=1
cgi-bin/ptz.cgi?movepresetno=2
cgi-bin/ptz.cgi?movepresetno=3
cgi-bin/ptz.cgi?movepresetno=4
cgi-bin/ptz.cgi?movepresetno=5
cgi-bin/ptz.cgi?movepresetno=6
cgi-bin/ptz.cgi?movepresetno=
stw-cgi/ptzcontrol.cgi?msubmenu=move&action=control&Direction=Left&MoveSpeed=
stw-cgi/ptzcontrol.cgi?msubmenu=move&action=control&Direction=Right&MoveSpeed=
stw-cgi/ptzcontrol.cgi?msubmenu=move&action=control&Direction=Up&MoveSpeed=
stw-cgi/ptzcontrol.cgi?msubmenu=move&action=control&Direction=Down&MoveSpeed=
stw-cgi/ptzcontrol.cgi?msubmenu=move&action=control&Direction=Stop