Skip to content
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

Cannot getprofiles when connecting to hikvision #4

Closed
chishi2612 opened this issue Sep 26, 2018 · 2 comments
Closed

Cannot getprofiles when connecting to hikvision #4

chishi2612 opened this issue Sep 26, 2018 · 2 comments

Comments

@chishi2612
Copy link

I try to connect to Hikvision Camera. I get this problem:

Can't connect to the camera for an unknow reason. Status code: 500
SOAP REQUEST: Optional("http://www.onvif.org/ver20/media/wsdl/GetProfiles")
response: Optional([AnyHashable("Body"): {
Fault = {
Code = {
Subcode = {
Subcode = {
Value = {
attributes = {
};
value = "ter:InvalidOperation";
};
attributes = {
};
};
Value = {
attributes = {
};
value = "ter:ActionNotSupported";
};
attributes = {
};
};
Value = {
attributes = {
};
value = "env:Receiver";
};
attributes = {
};
};
Reason = {
Text = {
attributes = {
lang = en;
};
value = "Optional Action Not Implemented";
};
attributes = {
};
};
attributes = {
};
};
attributes = {
};
}])

Plz help me. Thanks

@chishi2612
Copy link
Author

@fukemy
Copy link

fukemy commented Oct 20, 2018

hello. i can not get streamUri, can u help?
i got 3 profiles, but none of these can used to get streamUri:

[ONVIFCamera.ONVIFCamera.Profile(name: "MediaProfile_Channel1_MainStream", token: "MediaProfile000"), ONVIFCamera.ONVIFCamera.Profile(name: "MediaProfile_Channel1_SubStream1", token: "MediaProfile001"), ONVIFCamera.ONVIFCamera.Profile(name: "mcMediaProfile", token: "mcMediaProfile")]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants