Comments (4)
Hello @Cu-Toof ,
I found the following regarding the "Connection closed..." issue - https://stackoverflow.com/questions/55879550/how-to-fix-httpexception-connection-closed-before-full-header-was-received - a number of the solutions are related to the underlying network and there is no code change that I can make to resolve them.
If the problem is related to the requestData
then I'm not sure that there is any change that I can make. Onvif is an XML based protocol and XML is very verbose.
I would more expect that applications would have a problem with the response data. I have yet to find a decent XML parser that supports namespaces in Dart. My work-around was to convert the Onvif XML response to JSON and then to Dart objects. This is very memory inefficient for large responses, but until a better XML parser comes around ...
The only partial solution I can offer right now is to add a section to the README asking people to list Onvif device models that they know the package works with and those where it doesn't. That way some people will know in advance if their Onvif device is supported.
from easy_onvif.
Hello @Cu-Toof ,
I published a new version today - 1.0.0-dev.2 - you can give it a try and see if it solves your issue.
from easy_onvif.
Hello @Cu-Toof ,
I was able to identify a bug that was causing this issue with some devices. The new v1.0.2 resolves the issue.
from easy_onvif.
#32 gives more detail about this issue.
from easy_onvif.
Related Issues (20)
- [2.1.0-dev11] error during onvif.getProfiles() device media1 HOT 2
- [2.1.0-dev11] error during onvif.getStreamUri() device media1 HOT 2
- [2.1.0-dev.14] onvif.mediaSupportLevel HOT 2
- Flutter example application cannot run successfully HOT 2
- RTSP port in the getStreamUri response not correct HOT 3
- camera recording HOT 2
- Is it possible to check if Onvif connect failed? HOT 2
- Onvif Imaging Profile HOT 3
- MulticastProbe with Auth HOT 3
- onvif discovery crash in windows HOT 6
- using CLI for testing causes a crash on onvif probe list-devices HOT 1
- Unable to get preset HOT 26
- new specifications support--thermal interface HOT 2
- How send audio stream to camera ? HOT 3
- Couldn't connect with Ezviz H8c camera HOT 3
- BUG: get-capabilities method is breaking for some cameras HOT 4
- BUG: Camera movement command is not working for some cameras HOT 16
- DioException [receive timeout]: The request HOT 10
- getStreamUri doesn't connect to sub stream of Onvif camera HOT 5
- Actions that require authentication no longer work HOT 8
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 easy_onvif.