From 6f18728562cb425126f16f0f126134b323d47326 Mon Sep 17 00:00:00 2001 From: Ondrej Sery Date: Sun, 25 Sep 2022 15:27:53 +0200 Subject: [PATCH] Use Media2 service path for media services. --- cmd/gonvif/media/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gonvif/media/cmd.go b/cmd/gonvif/media/cmd.go index 7d5fdb0..e44d613 100644 --- a/cmd/gonvif/media/cmd.go +++ b/cmd/gonvif/media/cmd.go @@ -22,7 +22,7 @@ func init() { } func ServiceClient(url, username, password string, verbose bool) (wsdl.Media2, error) { - serviceURL, err := root.ServiceURL(url, "onvif/Media") + serviceURL, err := root.ServiceURL(url, "onvif/Media2") if err != nil { return nil, err }