D14869.11
Codec C20 API Reference Guide TC7.0, JANUARY 2014.
Copyright © 2010–2014 Cisco Systems, Inc. All rights reserved.
88
Cisco TelePresence System Codec C20
API Reference Guide
xCommand Camera PositionSet
Position the camera by defining the pan, tilt, zoom and focus parameters. If the camera is placed in
a daisy chain you need to know the CameraId for the camera you want to address.
Requires user role:
USER
Parameters:
CameraId(r): <1..1>
Pan: <-65535..65535>
Tilt: <-65535..65535>
Zoom: <0..65535>
Focus: <0..65535>
Example:
xCommand Camera PositionSet CameraId:1 Pan:200 Tilt:300
OK
*r CameraPositionSetResult (status=OK):
** end
xCommand Camera Ramp
Move the camera in a specified direction. The camera moves at specified speed until a stop
command is issued. In a daisy chain, you need to know the CameraId for the camera you want to
address. Be aware that pan and tilt can be operated simultaneously, but no other combinations.
In the latter case only the first operation specified is executed. For example, if you try to run both
zoom and pan at the same time, only zoom is executed.
NOTE: You must run a stop command to stop the camera, see the example below.
CameraId: Give the camera id.
Pan: Move the camera to the Left or Right, followed by Stop.
PanSpeed: Set the pan speed.
Tilt: Move the camera Up or Down, followed by Stop.
TiltSpeed: Set the tilt speed.
Zoom: Zoom the camera In or Out, followed by Stop.
ZoomSpeed: Set the zoom speed.
Focus: Focus the camera Far or Near, followed by Stop.
Requires user role:
USER
Parameters:
CameraId(r): <1..1>
Pan: <Left/Right/Stop>
PanSpeed: <1..15>
Tilt: <Down/Up/Stop>
TiltSpeed: <1..15>
Zoom: <In/Out/Stop>
ZoomSpeed: <1..15>
Focus: <Far/Near/Stop>
Example:
xCommand Camera Ramp CameraId:1 Pan:left PanSpeed:1
OK
*r RampResult (status=OK):
** end
xCommand Camera Ramp CameraId:1 Pan:stop
OK
*r RampResult (status=OK):
** end
Contents
Introduction
About the API
xConfiguration
Appendices
xCommand
xStatus
xCommand