use-go / onvif

full and enhanced onvif protocol stack in golang.
MIT License
384 stars 180 forks source link

exports device params, fixes error in comments, adds gitignore file #44

Open isaric opened 7 months ago

isaric commented 7 months ago

I noticed when using the discovery function it was not possible to get the DeviceParams struct from the Device. This meant that the base address of a discovered camera was not directly accessible.

This PR adds a getter method for DeviceParams and fixes a minor error in the comments.

It also adds a .gitignore file currently only populated for the IntelliJ series of IDEs.