Cisco TelePresence SX20 Codec Reference Manual page 86

Application programming interface (api)
Hide thumbs Also See for TelePresence SX20 Codec:
Table of Contents

Advertisement

Cisco TelePresence SX20 Codec
Contents
Introduction
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
SX20 Codec API Reference Guide TC6.2, JULY 2013.
D14949.04
About the API
xConfiguration
xCommand Camera Ramp
86
xCommand
xCommand
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
API Reference Guide
xStatus
Appendices
Copyright © 2013 Cisco Systems, Inc. All rights reserved.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents