Giter VIP home page Giter VIP logo

hummatli / onvif-qt-server-client Goto Github PK

View Code? Open in Web Editor NEW
201.0 16.0 99.0 14.13 MB

Onvif QT Server Client is a sample for creating Onvif Server and Onvif Client with QT C++

QMake 0.01% C++ 70.39% C 22.82% Batchfile 0.01% Makefile 0.61% HTML 4.47% Shell 0.28% M4 0.01% Lex 0.03% Yacc 0.05% Objective-C 0.71% CSS 0.11% JavaScript 0.02% Objective-C++ 0.05% Roff 0.43%
onvif-qt-server onvif-client qt cplusplus opensource ptz-control camera-control pthreads video cpp

onvif-qt-server-client's Introduction

Onvif QT Server and Client

Onvif QT Server Client is a sample for creating Onvif Server and Onvif Client with QT C++. Program has built with Qt 5.5.0(MSVC 2013, 32 bit) on IDE Qt Creator 3.4.2. In program has used gsoap c++ api to create both server side(to generate soap services) and client side( to parse it and call). To generate service structure has used wsdl-s from onvif protocol. To support, Buy Me A Coffee

About ONVIF

ONVIF is an open industry forum for the development of a global standard for the interface of IP-based physical security products.

Library structure

Program contains from tree parts

* Onvif Client
* Onvif Server
* Onvif libs

OnvifLib combines from follwing onvif parts

* onvifcore
*        -> OnvifDeviceLib
*        -> OnvifDiscoveryLib
*        -> OnvifEventLib
* OnvifAnaliticsLib
* OnvifDeviceIOLib
* OnvifDisplayLib
* OnvifImaginingLib
* OnvifMediaLib
* OnvifPTZLib
* OnvifReceiverLib
* OnvifRecordingControlLib
* OnvifRecordinSearchLib
* OnvifReplayControlLib
* OnvifVideoAnaliticsDeviceLib

To test program.

  • Run OnvifServer. It will be listen on 8004 port
  • Run OnvifClient to discover server and send commands to them.

End

Thats all. If you have any probelm with using sample please let me know. Write to [email protected]. I will help.

Contribution

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Added some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request
  • Star it

Developed By

Sattar Hummatli - [email protected]

License

Copyright 2015 - Sattar Hummatli

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

onvif-qt-server-client's People

Contributors

hummatli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

onvif-qt-server-client's Issues

compile error

Hi

I am trying to build the project on windows using qt Creator4.4.1.
When i try to build the onviflib, i get the error:
-1 error: No rule to make target '../../../onviflibs/onvifcore/OnvifEventLib/soap/onvifeventPullPointSubscriptionBindingProxy.h', needed by 'debug/event.o'. Stop.

Can you please help me with fixing this.

Thanks

Can't connect to user password protected cameras

I'm successfully connecting to unprotected onvif cameras using your library. I'm trying to connect to a user/password protected ptz camera, I have found no way on how to do it with this library, all password fields seem to do nothing. Is this implemented? Thanks.

error: cannot find -lOnvifDiscoveryLib

Hi,
I am trying to run "ONVIF-QT-SERVER-CLIENT" using QT Creator on Ubuntu-17 64-bit machine. I encounter this error while building my project.

:-1: error: cannot find -lOnvifDiscoveryLib
:-2: error: cannot find -lOnvifDeviceLib
:-3: error: cannot find -lOnvifEventLib
:-4: error: cannot find -lOnvifAnalyticsLib
:-5: error: cannot find -lOnvifMediaLib
:-6: error: cannot find -lOnvifPTZLib
:-7: error: cannot find -lOnvifImagingLib
:-8: error: collect2: error: ld returned 1 exit status

I have also uploaded a screenshot:

onvif-qt-server-client_screenshot

Please tell me if any more information is needed.

I would be really grateful if someone can help me resolve this error.
Cheers :)

OnvfLibs is compiled but just geneate .dll not .lib

hi
I have compiled OnvfLibs successsfully but it geneate only .dll not .lib!!!!
I know the way generate .lib file but here Im so confused!!!
for example in "OnvifDiscoveryLib" we have :
``
#ifdef WIN32

ifdef SOAP_STD_EXPORTS

define SOAP_STD_API __declspec(dllexport)

else

define SOAP_STD_API

endif

#else

define SOAP_STD_API

#endif
``
so, we must add "SOAP_STD_API" after "class" term which generate the ".lib" file!!!
but, which class generate "OnvifDiscoveryLib.lib" ??

best regards

error: LNK2005:

hi
the probem is this:

OnvifDeviceLib.lib(onvifdeviceC.obj):-1: error: LNK2005: "void * __cdecl soap_class_id_enter(struct soap *,char const *,void *,int,unsigned int,char const *,char const *)" (?soap_class_id_enter@@YAPAXPAUsoap@@PBDPAXHI11@Z) already defined in OnvifDiscoveryLib.lib(onvifdiscoC.obj)

I have 33568 error !!!
all are the same !!! error: LNK2005!!!!

this function : "soap_class_id_enter"
is repeated in all source file
so the compiler say: bla bla bla .....already defined in .....bla bla bla......
and it say right!!!

LNK2019: unresolved external symbol

hi
I use Qt 5.5.0 (MSVC 2013, 32 bit)
I have generated all .lib .dll .exp file in OnvifDist folder
but when I compile OnvifServer project I get 329 error
all of them is LNK2019: unresolved external symbol about different function
the first one is :

deviceservicewrapper.obj:-1: error: LNK2019: unresolved external symbol "public: __thiscall DeviceBindingService::DeviceBindingService(struct soap *)" (??0DeviceBindingService@@QAE@PAUsoap@@@z) referenced in function "public: __thiscall DeviceServiceWrapper::DeviceServiceWrapper(struct soap *)" (??0DeviceServiceWrapper@@QAE@PAUsoap@@@z)
file not found:deviceioservicewrapper.obj

but the fuction is available in cpp file
also deviceioservicewrapper.obj file is available in Release folder

whats wrong with qt??

@hummatli
@9friday
@taotaochanghe
@ra30
@touchmii
@abhinav4ever

编译找不到lib库的问题

-1: error: cannot find -lOnvifDiscoveryLib
:-2: error: cannot find -lOnvifDeviceLib
:-3: error: cannot find -lOnvifEventLib
:-4: error: cannot find -lOnvifAnalyticsLib
:-5: error: cannot find -lOnvifMediaLib
:-6: error: cannot find -lOnvifPTZLib
:-7: error: cannot find -lOnvifImagingLib
:-8: error: collect2: error: ld returned 1 exit status

'SOL_TCP': undeclared identifier

Hi

I am trying to build the project on windows using qt.
When i try to build the onviflib, i get the error
onvif-qt-server-client-master\onviflibs\onvifcore\OnvifDiscoveryLib\soap\stdsoap2.cpp:5145: error: C2065: 'SOL_TCP': undeclared identifier

Can you please help me with fixing this.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.