mirror of
https://github.com/kerberos-io/onvif.git
synced 2026-08-23 15:08:33 +00:00
Merge pull request #4 from mohitsolanki026/fix/preset-tour-multiple-spots
fix: support multiple TourSpots in PresetTour struct.
This commit is contained in:
@@ -220,7 +220,7 @@ type GetPresetTours struct {
|
||||
}
|
||||
|
||||
type GetPresetToursResponse struct {
|
||||
PresetTour onvif.PresetTour
|
||||
PresetTour []onvif.PresetTour
|
||||
}
|
||||
|
||||
type GetPresetTour struct {
|
||||
|
||||
@@ -1176,7 +1176,7 @@ type PresetTour struct {
|
||||
Status PTZPresetTourStatus `xml:"Status"`
|
||||
AutoStart xsd.Boolean `xml:"AutoStart"`
|
||||
StartingCondition PTZPresetTourStartingCondition `xml:"StartingCondition"`
|
||||
TourSpot PTZPresetTourSpot `xml:"TourSpot"`
|
||||
TourSpot []PTZPresetTourSpot `xml:"TourSpot"`
|
||||
Extension PTZPresetTourExtension `xml:"Extension"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user