use-go / onvif

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

Event Example #10

Open legotux opened 2 years ago

legotux commented 2 years ago

Hi everyone,

Can someone please provide an Event example ?

TIA

tarancss commented 1 year ago

I have implemented WS-Base subscription here.

zebox commented 7 months ago

Hi, Unsubscribe doesn't work, because endpoint for unsubscribe event is dynamic and defined in response of Subscribe in the SubscriptionReference->Address field like this:

http://{onvif_ip_address}/onvif/Events/SubManager_20231117T152334Z_2

Unsubscribe method should be change with add arg for pass correct endpoint value for properly method work.