Skip to content

Commit 6f18728

Browse files
committed
Use Media2 service path for media services.
1 parent bd36a01 commit 6f18728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gonvif/media/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func init() {
2222
}
2323

2424
func ServiceClient(url, username, password string, verbose bool) (wsdl.Media2, error) {
25-
serviceURL, err := root.ServiceURL(url, "onvif/Media")
25+
serviceURL, err := root.ServiceURL(url, "onvif/Media2")
2626
if err != nil {
2727
return nil, err
2828
}

0 commit comments

Comments
 (0)