cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
81
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Scott Wilcoxen on 03-02-2011 08:22:12 PM
Hi Developer community,

I'm a Tandberg/Cisco business development guy working with a large customer on a very unique room.

They have a C-60 with 3 cameras, and  18 microphones.  Our AV partner has designed the room with camera presets which are tied back to specific microphone positions.  We have a problem in that the presets on the three cameras don't seem to operate independently of each other, and perhaps this is because they used presets rather than PTZ coordinates through the APIs?

I'm looking for some help, as the customer has a number of these rooms.  Here's the problem.  If I'm sitting in front of microphone 1 and I speak, the control system tells camera 1 to send the camera preset from that camera to the codec.  If someone on the other side of the table begins to speak, and camera 2 is meant to shoot that preset, camera 2 swings into action, but then camera 1 also moves to another preset even though it's not sending video to the codec. 

My question is this, since I'm using an external contoller to identify active audio positions, is there a way (perhaps through the APIs) to use camera coordinates, rather than camera presets, and tell camera 1 ONLY to move to a specifice PTZ coordinate, INDEPENDENTLY of the other two cameras?

If so, is there someone inside the organization I can pair up with the A/V partner?  I spoke with Tom-Erik Lia and he pointed me to this forum.  Thank you in advance!

Subject: RE: Independently controlling three cameras using C-60
Replied by: Stig Karlsen on 04-02-2011 02:47:32 PM
Hi,

As documented in the TC 4.0 API it should be possible to do....?
Never tried it myself but you can play around with these commands

.
xCommand Camera PositionActivateFromPreset

   Selects pan, tilt, zoom and focus parameters for the given camera id from the selected preset.

    PresetId: Select preset 1 to 15.

   CameraId: Give the camera id.

    Requires user role: USER

    Parameters: 

       PresetId(r): <1..15>

       CameraId(r): <1..7>

    Example:

       xCommand Camera PositionActivateFromPreset PresetID:1 CameraId:1
       OK
       *r PositionActivateFromPresetResult (status=OK): 
       ** end

Otherwise i guess you will have to write your own module/logic and use the "xCommand Camera PositionSet" Commandstructure.

Parameters: 
CameraId(r): <1..7> 

Pan: <-65535..65535>
Tilt: <-65535..65535>
Zoom: <0..65535>
Focus: <0..65535>
Example:

xCommand Camera PositionSet CameraId:1 Pan:200 Tilt:300
OK        
Parameters:
*r CameraPositionSetResult (status=OK):


-Stig
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links