Client SDK development user manual Overview

Source: Internet
Author: User
Client SDK development User Manual
Overview

The client SDK is a supporting product for Embedded Network DVR, Video Server, and IP device. It is used for the development of remote access and remote control software for the following product models:
DS-90xx hybrid DVR;
DS-91xx, DS-81xx, DS-80xx, DS-70xx, DS-71xx, DS-7116, DS-72xx hard drive video recorder;
DS-60xx, DS-61xx Video Server, encoding/decoder;
IDS6002-HF/B dual camera tracking, IDS6101-HF/B intelligent equipment (behavior analysis), ids52xx intelligent analyzer;
Ds630x_d multi-channel decoder;
IP device: includes IP module, IP camera (hereinafter referred to as "IPC"), and IP fast ball.

Some features have been extended in this SDK version, and the device program has also been updated and extended accordingly. To facilitate the descriptions below, the above products are classified into two categories: ds7116, ds81xx, ds90xx, and ds91xx are devices supported by V3.0 and later.

 

Main functions of the client SDK
Image preview, file playback and download, cloud platform control, anti-deployment/withdrawal, voice intercom, log management, decoding card, remote upgrade, remote restart/Close, formatting hard disk, parameter configuration (system configuration, channel configuration, serial port configuration, alarm configuration, user configuration), multi-channel decoder, smart device functions, and acquisition of device capability sets.
The client SDK includes network communication library, soft decoding library, hard decoding library, and other functional components:

Network Communication Library
Hcnetsdk. h Header file
Hcnetsdk. Lib Lib Library File
Hcnetsdk. dll Dll library file
RTSP communication library
Streamtransclient. dll Dll library file
Soft decoding library
Plaympeg4.h Header file
Playctrl. Lib Lib Library File
Playctrl. dll Dll library file
Transcoding Library
Systemtransform. dll Dll library file
Hard decoding library
Datatype. h and decodecardsdk. h Header file
Dssdk. Lib Lib Library File
Dssdk. dll Dll library file

The client SDK development package of this version contains the above components. Except for the network communication library, this component is required. You can select a part of the components as needed, the functions and usage conditions of each component in the SDK are described below.
  • The network communication library is the main body of the client SDK. It is mainly used for communication and interaction between the network client and various products. It is responsible for remote function control, remote parameter configuration, and retrieval and processing of bitstream data.
  • The RTSP communication library is a network library that supports the RTSP transmission protocol. This component must be loaded when you need to perform stream fetch and other operations on products that support the RTSP protocol.
  • The soft decoding library is mainly used to decode and display the Real-Time code stream data (to implement the preview function) and play back and decode the video file. This component must be loaded if you need to play and display real-time streams and video streams in the SDK (that is, when the playback handle of the second struct parameter of the net_dvr_realplay_v30 interface is set to a valid handle, however, if you only need to capture data from the network communication database before external processing, you do not need to load this component. In this case, the user can perform decoding independently from the outside, for more information, see soft decoding library function description.Player SDK programming guide.
  • The functions of the transcoding library can be divided into two types: one is to convert the standard code stream into a code stream in our company's Encapsulation Format. When you need to capture code streams in the company's encapsulated format for products that support the RTSP protocol (that is, when you set the callback function in the net_dvr_realplay_v30 interface to capture data or call the net_dvr_setrealdatacallback interface to capture data) this component must be loaded. Another function is to convert standard code streams into encapsulation of other formats, such as 3GPP and PS. For example, you must load this component when you need to capture the code stream data in the specified Encapsulation Format (the corresponding SDK interface is net_dvr_saverealdata_v30) in real time for products that support the RTSP protocol.
  • The hard decoding library must be used with a hard decoding card (mdcard). The decoding and output functions of the decoder card can be used to decode the real-time stream and output the Matrix to the monitor. This component must be loaded if you need to display the real-time stream in the SDK. To make it easier and more flexible to call hardware decoding functions, we recommend that you capture data and process it externally. For more information about functions of the hard decoding library, seeBoard SDK programming guideTo decode the card.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.