-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: get-capabilities method is breaking for some cameras #53
Comments
Fixed in the latest release. It looks like your device has multiple |
Here is the log for latest update:
|
Hi @dinurymomshad , Are you sure you're running the latest version I added the following test: (where group('unknown', () {
test('GetCapabilitiesResponse', () {
final response = File(
'test/xml/unknown/device_management/GetCapabilitiesResponse.xml')
.readAsStringSync();
final envelope = Envelope.fromXml(response);
expect(
GetCapabilitiesResponse.fromJson(envelope.body.response!)
.capabilities
.device
?.xAddr,
'http://10.201.1.11:80/onvif/Device_service');
});
}); So it's looking like the latest release is able to parse the response correctly. |
Yes, we can close this issue as done. Thanks |
Error:
type 'List<dynamic>' is not a subtype of type 'Map<String, dynamic>' in type cast
Error Log:
The text was updated successfully, but these errors were encountered: