当前位置:网站首页>Introduction to easycvr interfacing with Huawei IVS subscription camera and user change request interface
Introduction to easycvr interfacing with Huawei IVS subscription camera and user change request interface
2022-06-24 01:30:00 【Tsingsee green rhino video】
EasyCVR The platform itself has subscription function , Subscription is TSINGSEE Green rhinoceros video development is a mechanism in the national standard system , The main purpose is to maintain the directory structure between upper and lower domains , Equipment status is consistent . In our development EasyCVR Docking with Huawei IVS Platform time , This subscription can change the camera and user through the interface , In this article, we will introduce this interface .
After the camera and user change subscription are successful , When the video surveillance platform generates camera and user changes , Will be pushed to the caller , For the content of push information, see IVS_USER_CAMERA_INFO_CHANGE Structure . Usage scenarios for child domains , Subscribe first and then get the user list of the subordinate domain , This subscription will take effect .
The code is as follows :
//cpp code IVS_INT32 IVS_SDK_SubscribeUserCameraInfoChange( IVS_INT32 iSessionID, const IVS_CHAR *pReqXml);
//cpp code
IVS_UINT32 uiUserID = 0;
CString strUserId = "";
IVS_INT32 iRet = IVS_SDK_GetUserID(iSessionID, &uiUserID);// Get users ID
if (IVS_SUCCEED == iRet)
{
strUserId.Format("%d", uiUserID);
}
else
{
return;
}
CString strReqXml = "";
strReqXml += "<Content>";
strReqXml += "<DomainCode>810960fa859747abaabc9ee3e8328f58</DomainCode>";
strReqXml += "<Subscribe>";
strReqXml += "<SubscribeID>64</SubscribeID>";
strReqXml += "<SubscribeType>1</SubscribeType>"; //1 user ;2 The camera ;3 User camera simultaneous subscription ;
strReqXml += "</Subscribe>";
strReqXml += "</Content>";
iRet = IVS_SDK_SubscribeUserCameraInfoChange(iSessionID, strReqXml);
if (IVS_SUCCEED == iRet)
{
// success
}边栏推荐
- Eight common errors in programming
- Millions of routers are at risk of attack, and hackers supported by North Korea are invading the United States and Britain | November 19 global network security hotspot
- 985 Android programmers won the oral offer of Alibaba P6 in 40 days. After the successful interview, they sorted out these interview ideas
- Basic templates for various configurations of the SSM framework
- Dart series: using packages in dart
- Zhongshanshan: engineers after being blasted will take off | ONEFLOW u
- CSDN articles crawl the top ten bloggers' articles and convert them to MD
- Part of the problem solution of unctf2020
- What is the relationship between the Internet of things and artificial intelligence?
- Istio practice manual | meeting the new generation of microservice architecture
猜你喜欢
![Graduation project - thesis writing notes [design topic type, thesis writing details, design materials]](/img/66/c0c400609b56dd012d87c620ca66e4.png)
Graduation project - thesis writing notes [design topic type, thesis writing details, design materials]

An accident caused by a MySQL misoperation, and the "high availability" cannot withstand it!

JS input / output statements, variables

Installation and use of winscp and putty

Cvpr2022 𞓜 thin domain adaptation

【Flutter】如何使用Flutter包和插件

985 Android programmers won the oral offer of Alibaba P6 in 40 days. After the successful interview, they sorted out these interview ideas
![[shutter] how to use shutter packages and plug-ins](/img/a6/e494dcdb2d3830b6d6c24d0ee05af2.png)
[shutter] how to use shutter packages and plug-ins
![[flutter] comment utiliser les paquets et plug - ins flutter](/img/a6/e494dcdb2d3830b6d6c24d0ee05af2.png)
[flutter] comment utiliser les paquets et plug - ins flutter
Shengdun technology joined dragon lizard community to build a new open source ecosystem
随机推荐
CDN access log quality performance monitoring and operation statistical analysis best practices
Disaster recovery series (VI) -- data storage disaster recovery construction
[planting grass by technology] 13 years' record of the prince of wool collecting on the cloud moving to Tencent cloud
Note 3 of disruptor: basic operation of ring queue (without disruptor class)
Code practice | ground extraction with logo-loam
7 tips for preventing DDoS Attacks
PVE enables the hardware graphics card pass through function
[technical grass planting] deploy a super large capacity and unlimited speed network disk in Tencent cloud
How to quickly convert stock code into int in quantitative trading?
Technology sharing | Clickhouse cluster's way of expanding replicas under sharding
Eight common errors in programming
Salesforce batch apex batch processing (I)
Remember the performance optimization with 18 times improvement at one time
Feasibility of importing UE4 using gltf with instances
S2b2c e-commerce platform in the pharmaceutical and medical industry enables enterprises to grasp differentiated competitive advantages and improve supply chain efficiency
Container JVM that has to be picked up
Forward design of business application data technology architecture
Devops culture: Amazon leadership principles
Cvpr2022 𞓜 thin domain adaptation
How to use IOT gateway to realize networking communication of smart road lamp posts