mezz64 / pyHik

Python wrapper for Hikvision camera event stream
MIT License
180 stars 50 forks source link

Fix unit tests and retrieve namespace from XML response #63

Closed smeegoan closed 3 years ago

smeegoan commented 4 years ago

Hi,

I updated my Hikvision NVR firmware and now the XML response namespace is different http://www.isapi.org/ver20/XMLSchema instead of http://www.hikvision.com/ver20/XMLSchema

My changes fix the unit tests and retrieve the XML namespace from the response.

mezz64 commented 4 years ago

Thanks for the PR! I'm going to try to find some time to test and hopefully incorporate these changes this week.

mezz64 commented 3 years ago

@smeegoan Can you remove the namespace changes and just leave the test fixes in this PR?

smeegoan commented 3 years ago

done