• 大小: 103.82MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2022-02-27
  • 语言: 其他
  • 标签: ONVIF  

资源简介

ONVIF客户端工具,疯转为库,可以直接使用,实现了大部分功能

资源截图

代码片段和文件信息

//#include 
#include “OnvifManager.h“
#include 
#include 
#include 
#include 
using namespace std;
#define xml_LENGTH 512*1024

int main()
{
char *xmlPrint =NULL;
char *Url =NULL;
Url = (char*)malloc(200*sizeof(char));
xmlPrint=(char*)malloc(xml_LENGTH*sizeof(char));
memset(Url0sizeof(Url));
memset(xmlPrint0sizeof(xmlPrint));
int nxmlSize = 0;
int vTTL = 0;
int aTTL = 0;
_gettchar();
JYD_PTZ_GotoHomePosition(“http://192.168.1.232:81/onvif/PTZ““admin““admin“);
JYD_PTZ_GetConfigurations(“http://192.168.1.232:81/onvif/PTZ““admin““admin“);
//JYD_DiscoverDevices(“admin““admin““192.168.1.172“xmlPrintnxmlSize5);
//JYD_DiscoverDevices(“172.16.41.69““admin““admin“xmlPrintnxmlSize5);
//  cout<<“xml Size is “<lSize<//  for(int i = 0 ;i < nxmlSize; i++ )
//  {
//  cout<lPrint[i];
//  }
char *VIP4 =NULL;
char *AIP4 = NULL;
VIP4 = (char*)malloc(200*sizeof(char));
AIP4 = (char*)malloc(200*sizeof(char));
//  JYD_SetAudioEncoderConfigs(“audio_encoder_config““http://192.168.1.110/onvif/media““admin““admin“TTL“192.168.1.110“);
//  JYD_SetVideoEncoderConfigs(“video_encoder_config1““http://192.168.1.110/onvif/media““admin““admin“TTL“192.168.1.111“);
JYD_GetAudioEncoderConfigs(“audio_encoder_config““http://192.168.1.110/onvif/media““admin““admin“aTTLAIP4);
JYD_GetVideoEncoderConfigs(“video_encoder_config1““http://192.168.1.110/onvif/media““admin““admin“vTTLVIP4);
cout< cout< cout< cout< JYD_Reboot(“http://192.168.1.110/onvif/device_service““admin““admin“);
//JYD_GetStreamUrl(“http://192.168.1.110/onvif/media““admin““admin“Url);
cout< system(“pause“);
return 0 ;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      37888  2017-10-20 09:08  OnvifDeviceManager\Debug\DLLTEST.exe

     文件     390688  2017-10-20 09:08  OnvifDeviceManager\Debug\DLLTEST.ilk

     文件     617472  2017-10-20 09:08  OnvifDeviceManager\Debug\DLLTEST.pdb

     文件   21288448  2017-10-19 16:59  OnvifDeviceManager\Debug\OnvifDeviceManager.dll

     文件       2513  2017-10-19 16:59  OnvifDeviceManager\Debug\OnvifDeviceManager.exp

     文件   25153188  2017-10-19 16:59  OnvifDeviceManager\Debug\OnvifDeviceManager.ilk

     文件       4820  2017-10-19 16:59  OnvifDeviceManager\Debug\OnvifDeviceManager.lib

     文件   55684096  2017-10-19 16:59  OnvifDeviceManager\Debug\OnvifDeviceManager.pdb

     文件        616  2017-10-19 16:55  OnvifDeviceManager\DLLTEST\Debug\cl.command.1.tlog

     文件      22060  2017-10-19 16:55  OnvifDeviceManager\DLLTEST\Debug\CL.read.1.tlog

     文件        342  2017-10-19 16:55  OnvifDeviceManager\DLLTEST\Debug\CL.write.1.tlog

     文件        381  2017-10-20 09:08  OnvifDeviceManager\DLLTEST\Debug\DLLTEST.exe.intermediate.manifest

     文件         59  2017-10-20 09:08  OnvifDeviceManager\DLLTEST\Debug\DLLTEST.lastbuildstate

     文件       1638  2017-10-20 09:08  OnvifDeviceManager\DLLTEST\Debug\DLLTEST.log

     文件      65883  2017-10-19 16:55  OnvifDeviceManager\DLLTEST\Debug\DLLTEST.obj

     文件        713  2017-10-19 16:55  OnvifDeviceManager\DLLTEST\Debug\DLLTEST.vcxprojResolveAssemblyReference.cache

     文件          0  2017-10-19 16:55  OnvifDeviceManager\DLLTEST\Debug\DLLTEST.write.1.tlog

     文件       1264  2017-10-20 09:08  OnvifDeviceManager\DLLTEST\Debug\link.command.1.tlog

     文件       2870  2017-10-20 09:08  OnvifDeviceManager\DLLTEST\Debug\link.read.1.tlog

     文件        590  2017-10-20 09:08  OnvifDeviceManager\DLLTEST\Debug\link.write.1.tlog

     文件        444  2017-10-20 09:08  OnvifDeviceManager\DLLTEST\Debug\mt.command.1.tlog

     文件        640  2017-10-20 09:08  OnvifDeviceManager\DLLTEST\Debug\mt.read.1.tlog

     文件        268  2017-10-20 09:08  OnvifDeviceManager\DLLTEST\Debug\mt.write.1.tlog

     文件     535552  2017-10-19 16:55  OnvifDeviceManager\DLLTEST\Debug\vc100.idb

     文件     282624  2017-10-19 16:55  OnvifDeviceManager\DLLTEST\Debug\vc100.pdb

     文件       1810  2017-10-11 10:23  OnvifDeviceManager\DLLTEST\DLLTEST.cpp

     文件       3993  2017-10-11 10:23  OnvifDeviceManager\DLLTEST\DLLTEST.vcxproj

     文件       1106  2017-10-11 10:23  OnvifDeviceManager\DLLTEST\DLLTEST.vcxproj.filters

     文件        143  2017-10-19 16:53  OnvifDeviceManager\DLLTEST\DLLTEST.vcxproj.user

     文件   45547520  2017-10-20 10:04  OnvifDeviceManager\ipch\dlltest-27be56e6\dlltest-bcc29608.ipch

............此处省略268个文件信息

评论

共有 条评论