Skip to content

Commit

Permalink
Use Media2 service path for media services.
Browse files Browse the repository at this point in the history
  • Loading branch information
osery committed Sep 25, 2022
1 parent bd36a01 commit 6f18728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gonvif/media/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6f18728

Please sign in to comment.