Transcript
Cisco Video Surveillance Media Server User Guide Release 6.0
Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883
Text Part Number: OL-16732-01
NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California. NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. CCDE, CCENT, Cisco Eos, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, the Cisco logo, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn is a service mark; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, iQuick Study, IronPort, the IronPort logo, LightStream, Linksys, MediaTone, MeetingPlace, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0805R) Cisco Video Surveillance Media Server User Guide Copyright © 2008 Cisco Systems, Inc. All rights reserved.
CONTENTS Preface
CHAPTER
1
Overview
ix
1-1
What’s New
1-1
The VSMS Advantage 1-1 1-5 VSMS System Architecture
CHAPTER
2
Proxy Commands
2-1 2-3
Start Video Proxy
2-1 2-3
Start Audio Proxy
2-5 2-7
Update Video Proxy
2-7 2-9
Update Audio Proxy
2-10 2-12
Stop Proxy
2-11 2-13
View JPEG Frames List All Proxies Get Proxy Source
2-12 2-14
2-13 2-15 2-14 2-17
Get Proxy Media Type
2-15 2-17
Get Proxy Framerate or Bitrate Get Proxy JPEG Quality
2-17 2-19
Get Proxy Video Width
2-17 2-20
Get Proxy Video Height
2-18 2-21
Get Proxy Model Type
CHAPTER
3
1-6 1-5
Get Proxy Status
2-20 2-22
ArchiverCommands Archive 3-1
3-25
2-16 2-18
2-19 2-21
Archive Start Archive TypesVideo 3-1 3-25 Start Archive Archive Commands 3-27 3-2 StopStart Archive3-2 3-30 Update 3-4 Framerate 3-30 Update Recording Stop 3-5 Remove Archive 3-31 Remove 3-6 Set Archive Days-to-Live 3-32 Clipping Commands 3-7 Save Video Clip 3-33 Cisco Video Surveillance Media Server User Guide OL-16732-01
iii
Contents
Clip Command
3-7
Event Recording Commands 3-10 Event Profile Setup 3-10 Archive Information Commands 3-14 List All Archives 3-14 List All Running Archives 3-14 Get Archive MediaType 3-15 Get First Available Archive Time 3-16 Get Last Available Archive Time 3-17
CHAPTER
4
Event Commands Event Setup
4-1 4-1
Enable Event
4-6
Disable Event
4-7
Remove Event
4-7
Send Event Notification: from Trigger Device to VSMS
4-8
Send Event Notification: from Motion Detection Device to VSMS
4-9
Send Event Notification: from Soft Trigger to VSMS for Post Event Logging Send Event Notification: from VSMS to Event-handler at Notify URL
4-10
4-11
Send Event Notification: from VSMS to Event-handler at Notify URL After Event Clip Saved Send Event Notification: from VSMS to Event-handler Notify URL Post Event Logged Event Clip Stop
Get Event Information
4-15
4-15
Record on Event 4-17 Motion Event Configuration and Event Handling
4-17
Single Alarm (trigger) Event Configuration and Handling Soft Trigger Event Configuration and Handling 5
ActiveX Client API
Method Descriptions 6
4-21
5-1
5-2
Interactive Media Clients ActiveX Client
4-19
5-1
AX Client Programming Notes and Instantiation Sample Code 5-2
CHAPTER
4-13
4-14
Event Clip Error Notification
CHAPTER
4-12
6-1
6-1
ActiveX Client Tag
6-2
Cisco Video Surveillance Media Server User Guide
iv
OL-16732-01
Contents
AX Client with Slider Tag
6-3
AX Client with DHTML Timestamps
6-4
ActiveX Camera (PTZ) Control 6-5 ActiveX Camera Controls 6-5 LoopBack 6-7 AsynchronousMode 6-8 ActiveX Joystick Control 6-9 ActiveX Joystick Object 6-9 Method Descriptions
CHAPTER
7
Camera Control API
6-11
7-1
Camera Control Module (camera.bwt) Device Parameters 7-2 Operation Parameters 7-4 Configuration Operations 7-5 Focus Operations 7-6 Iris Operations 7-6 PTZ Operations 7-6 Presets Operations 7-8 Session Parameters 7-9
7-1
Creating PTZ Configurations 7-10 Using camera.bwt 7-10 Device Control Module (devcontrol.bwt)
CHAPTER
8
DVR Integration Features
7-12
8-1
8-1
How It Works 8-1 Media Flow 8-1 ADD NVR
8-2
REMOVE NVR LIST NVRs
8-3
8-3
START DISCOVERY
CHAPTER
9
Legacy Client Applets
8-3
9-1
Interactive Media Client 9-2 Stand-alone SourceLoader