onvif
onvif copied to clipboard
Media structs are prefixed with onvif:
So I noticed when trying to use the media queries (sdk/media/*), that some of the structs are prefixed by onvif:
for the xml parsing tags (example https://github.com/use-go/onvif/blob/master/xsd/onvif/onvif.go#L361).
When getting an actual response from a camera, I noticed the structs did not unmarshal properly because of this prefix. From my understanding, the prefixes should be different according to the ONVIF media spec.
Regardless, I have forked the repo and dropped the prefix for my uses, but was curious if you would like a PR and the tests I wrote, or if I am headed in the wrong direction