chore
This commit is contained in:
parent
82d3f99404
commit
de3667f957
@ -22,7 +22,7 @@ func CreateSubscription(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
result, err := conn.SubscribeEvents(callbackURL, "PT60S")
|
||||
result, err := conn.EventSubscribe(callbackURL, "PT60S")
|
||||
if err != nil {
|
||||
response.NewResponse().Error(err).Send(c)
|
||||
return
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"github.com/IOTechSystems/onvif/xsd"
|
||||
)
|
||||
|
||||
func (c *Session) SubscribeEvents(
|
||||
func (c *Session) EventSubscribe(
|
||||
consumerAddress event.AttributedURIType,
|
||||
terminationTime xsd.String, // PT60S
|
||||
) (*event.SubscribeResponse, error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user