Comments (5)
Hi @Bhlowe, this part is taken as-is from the original code. If you want to submit a PR to fix this I'll be happy to merge it
from onvif.
Somewhere in getServiceProxy you'll need to attach the SimpleSecurityHandler to the proxyFactory.
proxyFactory.getHandlers().add(securityHandler);
I'll try to get a PR pushed-- but my code is diverging from yours a bit..
Wondering if you've considered adding the project to https://mvnrepository.com/ so it can be used in any java project.
from onvif.
from onvif.
Hi,
OK... I've made a bunch of changes to my fork. I'm not sure the best way to merge them with your code. But take a look and feel free to use any or suggest a PR.. https://github.com/bhlowe/onvif
Give the new discovery a try. The first should just show the URLs. The second DiscoverAndTest should attempt to log into all discovered devices. You'll need a user and password, generally. I've added a routine to use what's passed as an argument or in environment/property settings.
This build should build with java 8.. and run on any newer java if you added the commented java 9+ dependencies.
Maven would be nice..
from onvif.
I posted a massive PR. Fixes security.
from onvif.
Related Issues (20)
- Concurrent calls to an onvifdevice instance HOT 1
- how to open onvif camera in java HOT 1
- Java 11 support? HOT 6
- Add checkstyle to the java code HOT 5
- Verify pull requests
- Building original project with no change --> failed HOT 2
- How to get RTSP address of historical stream HOT 1
- How to debug the camera ptz, whether there is a test class HOT 1
- jaxws uses ip, instead of DNS HOT 3
- I made some changes to get the RTSP address of the history stream. Can I submit it HOT 1
- w3.org dropping of HTTP in favour of HTTPS support causes failure HOT 3
- Long return time when I initialize an Onvif device
- How to add Onvif digest authentication mode
- The files in the directory of ‘resources.wsdl.local.*’ are not used
- how to set PTZSpeed HOT 3
- Is it incompatible with ONVIF protocol device version 2.20? HOT 1
- Rebuilding ws stubs HOT 1
- CreatePullPointSubscription HOT 6
- After i get the URL of a device, how do I recover it's endpoints? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onvif.