forked from use-go/onvif
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mappings.go
300 lines (289 loc) · 19.5 KB
/
mappings.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
// -*- Mode: Go; indent-tabs-mode: t -*-
//
// Copyright (C) 2022 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
// Code generated by gen_commands.py DO NOT EDIT.
package onvif
import (
"github.com/kerberos-io/onvif/analytics"
"github.com/kerberos-io/onvif/device"
"github.com/kerberos-io/onvif/event"
"github.com/kerberos-io/onvif/imaging"
"github.com/kerberos-io/onvif/media"
"github.com/kerberos-io/onvif/media2"
"github.com/kerberos-io/onvif/ptz"
"github.com/kerberos-io/onvif/recording"
)
var AnalyticsFunctionMap = map[string]Function{
CreateAnalyticsModules: &analytics.CreateAnalyticsModulesFunction{},
CreateRules: &analytics.CreateRulesFunction{},
DeleteAnalyticsModules: &analytics.DeleteAnalyticsModulesFunction{},
DeleteRules: &analytics.DeleteRulesFunction{},
GetAnalyticsModuleOptions: &analytics.GetAnalyticsModuleOptionsFunction{},
GetAnalyticsModules: &analytics.GetAnalyticsModulesFunction{},
GetRuleOptions: &analytics.GetRuleOptionsFunction{},
GetRules: &analytics.GetRulesFunction{},
GetSupportedAnalyticsModules: &analytics.GetSupportedAnalyticsModulesFunction{},
GetSupportedRules: &analytics.GetSupportedRulesFunction{},
ModifyAnalyticsModules: &analytics.ModifyAnalyticsModulesFunction{},
ModifyRules: &analytics.ModifyRulesFunction{},
}
var DeviceFunctionMap = map[string]Function{
AddIPAddressFilter: &device.AddIPAddressFilterFunction{},
AddScopes: &device.AddScopesFunction{},
CreateCertificate: &device.CreateCertificateFunction{},
CreateDot1XConfiguration: &device.CreateDot1XConfigurationFunction{},
CreateStorageConfiguration: &device.CreateStorageConfigurationFunction{},
CreateUsers: &device.CreateUsersFunction{},
DeleteCertificates: &device.DeleteCertificatesFunction{},
DeleteDot1XConfiguration: &device.DeleteDot1XConfigurationFunction{},
DeleteGeoLocation: &device.DeleteGeoLocationFunction{},
DeleteStorageConfiguration: &device.DeleteStorageConfigurationFunction{},
DeleteUsers: &device.DeleteUsersFunction{},
GetAccessPolicy: &device.GetAccessPolicyFunction{},
GetCACertificates: &device.GetCACertificatesFunction{},
GetCapabilities: &device.GetCapabilitiesFunction{},
GetCertificateInformation: &device.GetCertificateInformationFunction{},
GetCertificates: &device.GetCertificatesFunction{},
GetCertificatesStatus: &device.GetCertificatesStatusFunction{},
GetClientCertificateMode: &device.GetClientCertificateModeFunction{},
GetDNS: &device.GetDNSFunction{},
GetDPAddresses: &device.GetDPAddressesFunction{},
GetDeviceInformation: &device.GetDeviceInformationFunction{},
GetDiscoveryMode: &device.GetDiscoveryModeFunction{},
GetDot11Capabilities: &device.GetDot11CapabilitiesFunction{},
GetDot11Status: &device.GetDot11StatusFunction{},
GetDot1XConfiguration: &device.GetDot1XConfigurationFunction{},
GetDot1XConfigurations: &device.GetDot1XConfigurationsFunction{},
GetDynamicDNS: &device.GetDynamicDNSFunction{},
GetEndpointReference: &device.GetEndpointReferenceFunction{},
GetGeoLocation: &device.GetGeoLocationFunction{},
GetHostname: &device.GetHostnameFunction{},
GetIPAddressFilter: &device.GetIPAddressFilterFunction{},
GetNTP: &device.GetNTPFunction{},
GetNetworkDefaultGateway: &device.GetNetworkDefaultGatewayFunction{},
GetNetworkInterfaces: &device.GetNetworkInterfacesFunction{},
GetNetworkProtocols: &device.GetNetworkProtocolsFunction{},
GetPkcs10Request: &device.GetPkcs10RequestFunction{},
GetRelayOutputs: &device.GetRelayOutputsFunction{},
GetDigitalInputs: &device.GetDigitalInputsFunction{},
GetRemoteDiscoveryMode: &device.GetRemoteDiscoveryModeFunction{},
GetRemoteUser: &device.GetRemoteUserFunction{},
GetScopes: &device.GetScopesFunction{},
GetServiceCapabilities: &device.GetServiceCapabilitiesFunction{},
GetServices: &device.GetServicesFunction{},
GetStorageConfiguration: &device.GetStorageConfigurationFunction{},
GetStorageConfigurations: &device.GetStorageConfigurationsFunction{},
GetSystemBackup: &device.GetSystemBackupFunction{},
GetSystemDateAndTime: &device.GetSystemDateAndTimeFunction{},
GetSystemLog: &device.GetSystemLogFunction{},
GetSystemSupportInformation: &device.GetSystemSupportInformationFunction{},
GetSystemUris: &device.GetSystemUrisFunction{},
GetUsers: &device.GetUsersFunction{},
GetWsdlUrl: &device.GetWsdlUrlFunction{},
GetZeroConfiguration: &device.GetZeroConfigurationFunction{},
LoadCACertificates: &device.LoadCACertificatesFunction{},
LoadCertificateWithPrivateKey: &device.LoadCertificateWithPrivateKeyFunction{},
LoadCertificates: &device.LoadCertificatesFunction{},
RemoveIPAddressFilter: &device.RemoveIPAddressFilterFunction{},
RemoveScopes: &device.RemoveScopesFunction{},
RestoreSystem: &device.RestoreSystemFunction{},
ScanAvailableDot11Networks: &device.ScanAvailableDot11NetworksFunction{},
SendAuxiliaryCommand: &device.SendAuxiliaryCommandFunction{},
SetAccessPolicy: &device.SetAccessPolicyFunction{},
SetCertificatesStatus: &device.SetCertificatesStatusFunction{},
SetClientCertificateMode: &device.SetClientCertificateModeFunction{},
SetDNS: &device.SetDNSFunction{},
SetDPAddresses: &device.SetDPAddressesFunction{},
SetDiscoveryMode: &device.SetDiscoveryModeFunction{},
SetDot1XConfiguration: &device.SetDot1XConfigurationFunction{},
SetDynamicDNS: &device.SetDynamicDNSFunction{},
SetGeoLocation: &device.SetGeoLocationFunction{},
SetHostname: &device.SetHostnameFunction{},
SetHostnameFromDHCP: &device.SetHostnameFromDHCPFunction{},
SetIPAddressFilter: &device.SetIPAddressFilterFunction{},
SetNTP: &device.SetNTPFunction{},
SetNetworkDefaultGateway: &device.SetNetworkDefaultGatewayFunction{},
SetNetworkInterfaces: &device.SetNetworkInterfacesFunction{},
SetNetworkProtocols: &device.SetNetworkProtocolsFunction{},
SetRelayOutputSettings: &device.SetRelayOutputSettingsFunction{},
SetRelayOutputState: &device.SetRelayOutputStateFunction{},
SetRemoteDiscoveryMode: &device.SetRemoteDiscoveryModeFunction{},
SetRemoteUser: &device.SetRemoteUserFunction{},
SetScopes: &device.SetScopesFunction{},
SetStorageConfiguration: &device.SetStorageConfigurationFunction{},
SetSystemDateAndTime: &device.SetSystemDateAndTimeFunction{},
SetSystemFactoryDefault: &device.SetSystemFactoryDefaultFunction{},
SetUser: &device.SetUserFunction{},
SetZeroConfiguration: &device.SetZeroConfigurationFunction{},
StartFirmwareUpgrade: &device.StartFirmwareUpgradeFunction{},
StartSystemRestore: &device.StartSystemRestoreFunction{},
SystemReboot: &device.SystemRebootFunction{},
UpgradeSystemFirmware: &device.UpgradeSystemFirmwareFunction{},
}
var EventFunctionMap = map[string]Function{
CreatePullPointSubscription: &event.CreatePullPointSubscriptionFunction{},
GetEventProperties: &event.GetEventPropertiesFunction{},
GetServiceCapabilities: &event.GetServiceCapabilitiesFunction{},
PullMessages: &event.PullMessagesFunction{},
Renew: &event.RenewFunction{},
Seek: &event.SeekFunction{},
SetSynchronizationPoint: &event.SetSynchronizationPointFunction{},
Subscribe: &event.SubscribeFunction{},
SubscriptionReference: &event.SubscriptionReferenceFunction{},
Unsubscribe: &event.UnsubscribeFunction{},
}
var ImagingFunctionMap = map[string]Function{
GetCurrentPreset: &imaging.GetCurrentPresetFunction{},
GetImagingSettings: &imaging.GetImagingSettingsFunction{},
GetMoveOptions: &imaging.GetMoveOptionsFunction{},
GetOptions: &imaging.GetOptionsFunction{},
GetPresets: &imaging.GetPresetsFunction{},
GetServiceCapabilities: &imaging.GetServiceCapabilitiesFunction{},
GetStatus: &imaging.GetStatusFunction{},
Move: &imaging.MoveFunction{},
SetCurrentPreset: &imaging.SetCurrentPresetFunction{},
SetImagingSettings: &imaging.SetImagingSettingsFunction{},
Stop: &imaging.StopFunction{},
}
var MediaFunctionMap = map[string]Function{
AddAudioDecoderConfiguration: &media.AddAudioDecoderConfigurationFunction{},
AddAudioEncoderConfiguration: &media.AddAudioEncoderConfigurationFunction{},
AddAudioOutputConfiguration: &media.AddAudioOutputConfigurationFunction{},
AddAudioSourceConfiguration: &media.AddAudioSourceConfigurationFunction{},
AddMetadataConfiguration: &media.AddMetadataConfigurationFunction{},
AddPTZConfiguration: &media.AddPTZConfigurationFunction{},
AddVideoAnalyticsConfiguration: &media.AddVideoAnalyticsConfigurationFunction{},
AddVideoEncoderConfiguration: &media.AddVideoEncoderConfigurationFunction{},
AddVideoSourceConfiguration: &media.AddVideoSourceConfigurationFunction{},
CreateOSD: &media.CreateOSDFunction{},
CreateProfile: &media.CreateProfileFunction{},
DeleteOSD: &media.DeleteOSDFunction{},
DeleteProfile: &media.DeleteProfileFunction{},
GetAudioDecoderConfiguration: &media.GetAudioDecoderConfigurationFunction{},
GetAudioDecoderConfigurationOptions: &media.GetAudioDecoderConfigurationOptionsFunction{},
GetAudioDecoderConfigurations: &media.GetAudioDecoderConfigurationsFunction{},
GetAudioEncoderConfiguration: &media.GetAudioEncoderConfigurationFunction{},
GetAudioEncoderConfigurationOptions: &media.GetAudioEncoderConfigurationOptionsFunction{},
GetAudioEncoderConfigurations: &media.GetAudioEncoderConfigurationsFunction{},
GetAudioOutputConfiguration: &media.GetAudioOutputConfigurationFunction{},
GetAudioOutputConfigurationOptions: &media.GetAudioOutputConfigurationOptionsFunction{},
GetAudioOutputConfigurations: &media.GetAudioOutputConfigurationsFunction{},
GetAudioOutputs: &media.GetAudioOutputsFunction{},
GetAudioSourceConfiguration: &media.GetAudioSourceConfigurationFunction{},
GetAudioSourceConfigurationOptions: &media.GetAudioSourceConfigurationOptionsFunction{},
GetAudioSourceConfigurations: &media.GetAudioSourceConfigurationsFunction{},
GetAudioSources: &media.GetAudioSourcesFunction{},
GetCompatibleAudioDecoderConfigurations: &media.GetCompatibleAudioDecoderConfigurationsFunction{},
GetCompatibleAudioEncoderConfigurations: &media.GetCompatibleAudioEncoderConfigurationsFunction{},
GetCompatibleAudioOutputConfigurations: &media.GetCompatibleAudioOutputConfigurationsFunction{},
GetCompatibleAudioSourceConfigurations: &media.GetCompatibleAudioSourceConfigurationsFunction{},
GetCompatibleMetadataConfigurations: &media.GetCompatibleMetadataConfigurationsFunction{},
GetCompatibleVideoAnalyticsConfigurations: &media.GetCompatibleVideoAnalyticsConfigurationsFunction{},
GetCompatibleVideoEncoderConfigurations: &media.GetCompatibleVideoEncoderConfigurationsFunction{},
GetCompatibleVideoSourceConfigurations: &media.GetCompatibleVideoSourceConfigurationsFunction{},
GetGuaranteedNumberOfVideoEncoderInstances: &media.GetGuaranteedNumberOfVideoEncoderInstancesFunction{},
GetMetadataConfiguration: &media.GetMetadataConfigurationFunction{},
GetMetadataConfigurationOptions: &media.GetMetadataConfigurationOptionsFunction{},
GetMetadataConfigurations: &media.GetMetadataConfigurationsFunction{},
GetOSD: &media.GetOSDFunction{},
GetOSDOptions: &media.GetOSDOptionsFunction{},
GetOSDs: &media.GetOSDsFunction{},
GetProfile: &media.GetProfileFunction{},
GetProfiles: &media.GetProfilesFunction{},
GetServiceCapabilities: &media.GetServiceCapabilitiesFunction{},
GetSnapshotUri: &media.GetSnapshotUriFunction{},
GetStreamUri: &media.GetStreamUriFunction{},
GetVideoAnalyticsConfiguration: &media.GetVideoAnalyticsConfigurationFunction{},
GetVideoAnalyticsConfigurations: &media.GetVideoAnalyticsConfigurationsFunction{},
GetVideoEncoderConfiguration: &media.GetVideoEncoderConfigurationFunction{},
GetVideoEncoderConfigurationOptions: &media.GetVideoEncoderConfigurationOptionsFunction{},
GetVideoEncoderConfigurations: &media.GetVideoEncoderConfigurationsFunction{},
GetVideoSourceConfiguration: &media.GetVideoSourceConfigurationFunction{},
GetVideoSourceConfigurationOptions: &media.GetVideoSourceConfigurationOptionsFunction{},
GetVideoSourceConfigurations: &media.GetVideoSourceConfigurationsFunction{},
GetVideoSourceModes: &media.GetVideoSourceModesFunction{},
GetVideoSources: &media.GetVideoSourcesFunction{},
RemoveAudioDecoderConfiguration: &media.RemoveAudioDecoderConfigurationFunction{},
RemoveAudioEncoderConfiguration: &media.RemoveAudioEncoderConfigurationFunction{},
RemoveAudioOutputConfiguration: &media.RemoveAudioOutputConfigurationFunction{},
RemoveAudioSourceConfiguration: &media.RemoveAudioSourceConfigurationFunction{},
RemoveMetadataConfiguration: &media.RemoveMetadataConfigurationFunction{},
RemovePTZConfiguration: &media.RemovePTZConfigurationFunction{},
RemoveVideoAnalyticsConfiguration: &media.RemoveVideoAnalyticsConfigurationFunction{},
RemoveVideoEncoderConfiguration: &media.RemoveVideoEncoderConfigurationFunction{},
RemoveVideoSourceConfiguration: &media.RemoveVideoSourceConfigurationFunction{},
SetAudioDecoderConfiguration: &media.SetAudioDecoderConfigurationFunction{},
SetAudioEncoderConfiguration: &media.SetAudioEncoderConfigurationFunction{},
SetAudioOutputConfiguration: &media.SetAudioOutputConfigurationFunction{},
SetAudioSourceConfiguration: &media.SetAudioSourceConfigurationFunction{},
SetMetadataConfiguration: &media.SetMetadataConfigurationFunction{},
SetOSD: &media.SetOSDFunction{},
SetSynchronizationPoint: &media.SetSynchronizationPointFunction{},
SetVideoAnalyticsConfiguration: &media.SetVideoAnalyticsConfigurationFunction{},
SetVideoEncoderConfiguration: &media.SetVideoEncoderConfigurationFunction{},
SetVideoSourceConfiguration: &media.SetVideoSourceConfigurationFunction{},
SetVideoSourceMode: &media.SetVideoSourceModeFunction{},
StartMulticastStreaming: &media.StartMulticastStreamingFunction{},
StopMulticastStreaming: &media.StopMulticastStreamingFunction{},
}
var Media2FunctionMap = map[string]Function{
AddConfiguration: &media2.AddConfigurationFunction{},
GetAnalyticsConfigurations: &media2.GetAnalyticsConfigurationsFunction{},
GetProfiles: &media2.GetProfilesFunction{},
RemoveConfiguration: &media2.RemoveConfigurationFunction{},
}
var PTZFunctionMap = map[string]Function{
AbsoluteMove: &ptz.AbsoluteMoveFunction{},
ContinuousMove: &ptz.ContinuousMoveFunction{},
CreatePresetTour: &ptz.CreatePresetTourFunction{},
GeoMove: &ptz.GeoMoveFunction{},
GetCompatibleConfigurations: &ptz.GetCompatibleConfigurationsFunction{},
GetConfiguration: &ptz.GetConfigurationFunction{},
GetConfigurationOptions: &ptz.GetConfigurationOptionsFunction{},
GetConfigurations: &ptz.GetConfigurationsFunction{},
GetNode: &ptz.GetNodeFunction{},
GetNodes: &ptz.GetNodesFunction{},
GetPresetTour: &ptz.GetPresetTourFunction{},
GetPresetTourOptions: &ptz.GetPresetTourOptionsFunction{},
GetPresetTours: &ptz.GetPresetToursFunction{},
GetPresets: &ptz.GetPresetsFunction{},
GetServiceCapabilities: &ptz.GetServiceCapabilitiesFunction{},
GetStatus: &ptz.GetStatusFunction{},
GotoHomePosition: &ptz.GotoHomePositionFunction{},
GotoPreset: &ptz.GotoPresetFunction{},
ModifyPresetTour: &ptz.ModifyPresetTourFunction{},
OperatePresetTour: &ptz.OperatePresetTourFunction{},
RelativeMove: &ptz.RelativeMoveFunction{},
RemovePreset: &ptz.RemovePresetFunction{},
RemovePresetTour: &ptz.RemovePresetTourFunction{},
SendAuxiliaryCommand: &ptz.SendAuxiliaryCommandFunction{},
SetConfiguration: &ptz.SetConfigurationFunction{},
SetHomePosition: &ptz.SetHomePositionFunction{},
SetPreset: &ptz.SetPresetFunction{},
Stop: &ptz.StopFunction{},
}
var RecordingFunctionMap = map[string]Function{
CreateRecording: &recording.CreateRecordingFunction{},
CreateRecordingJob: &recording.CreateRecordingJobFunction{},
CreateTrack: &recording.CreateTrackFunction{},
DeleteRecording: &recording.DeleteRecordingFunction{},
DeleteRecordingJob: &recording.DeleteRecordingJobFunction{},
DeleteTrack: &recording.DeleteTrackFunction{},
ExportRecordedData: &recording.ExportRecordedDataFunction{},
GetExportRecordedDataState: &recording.GetExportRecordedDataStateFunction{},
GetRecordingConfiguration: &recording.GetRecordingConfigurationFunction{},
GetRecordingJobConfiguration: &recording.GetRecordingJobConfigurationFunction{},
GetRecordingJobState: &recording.GetRecordingJobStateFunction{},
GetRecordingJobs: &recording.GetRecordingJobsFunction{},
GetRecordingOptions: &recording.GetRecordingOptionsFunction{},
GetRecordings: &recording.GetRecordingsFunction{},
GetServiceCapabilities: &recording.GetServiceCapabilitiesFunction{},
GetTrackConfiguration: &recording.GetTrackConfigurationFunction{},
SetRecordingConfiguration: &recording.SetRecordingConfigurationFunction{},
SetRecordingJobConfiguration: &recording.SetRecordingJobConfigurationFunction{},
SetRecordingJobMode: &recording.SetRecordingJobModeFunction{},
SetTrackConfiguration: &recording.SetTrackConfigurationFunction{},
StopExportRecordedData: &recording.StopExportRecordedDataFunction{},
}