use-go / onvif

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

ptz example #9

Open zhuqiyun opened 3 years ago

zhuqiyun commented 3 years ago

could give a ptz example please

cedricve commented 3 years ago

indeed would appreciate this as well

cedricve commented 3 years ago

I played around and I could make it work as following ;)

https://play.golang.org/p/Kd4lV6MuCSg

gmonk commented 2 years ago

Just curious in the above example i get errors for onvif.DeviceParams not being declared by package onvif so where is this coming from ? Also two of the imports are not used "github.com/beevik/etree" "onvif2 "github.com/use-go/onvif/xsd/onvif" so are these needed ?