Skip to content

Commit

Permalink
Update onvif.go
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve authored Jan 25, 2023
1 parent 9d65ca2 commit 23e1c0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xsd/onvif/onvif.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,21 +551,21 @@ type PTZSpeed interface {
}

type PTZSpeedZoom struct {
Zoom Vector1D `xml:"onvif:Zoom,omitempty"`
Zoom Vector1D `xml:"onvif:Zoom"`
}

type PTZSpeedPanTilt struct {
PanTilt Vector2D `xml:"onvif:PanTilt,omitempty"`
}

type Vector2D struct {
X float64 `xml:"x,attr,omitempty"`
Y float64 `xml:"y,attr,omitempty"`
X float64 `xml:"x,attr"`
Y float64 `xml:"y,attr"`
Space xsd.AnyURI `xml:"space,attr,omitempty"`
}

type Vector1D struct {
X float64 `xml:"x,attr,omitempty"`
X float64 `xml:"x,attr"`
Space xsd.AnyURI `xml:"space,attr,omitempty"`
}

Expand Down

0 comments on commit 23e1c0b

Please sign in to comment.