thermal.go 227 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903
  1. package thermal
  2. import (
  3. "context"
  4. "encoding/xml"
  5. "time"
  6. "lc/common/onvif/soap"
  7. )
  8. // against "unused imports"
  9. var _ time.Time
  10. var _ xml.Name
  11. // Polarity type
  12. type Polarity string
  13. const (
  14. // PolarityWhiteHot const
  15. PolarityWhiteHot Polarity = "WhiteHot"
  16. // PolarityBlackHot const
  17. PolarityBlackHot Polarity = "BlackHot"
  18. )
  19. // Describes standard Color Palette types, used to facilitate Multi-language support and client display.
  20. // "Custom" Type shall be used when Color Palette Name does not match any of the types included in the standard classification.
  21. //
  22. // ColorPaletteType type
  23. type ColorPaletteType string
  24. const (
  25. // ColorPaletteTypeCustom const
  26. ColorPaletteTypeCustom ColorPaletteType = "Custom"
  27. // ColorPaletteTypeGrayscale const
  28. ColorPaletteTypeGrayscale ColorPaletteType = "Grayscale"
  29. // ColorPaletteTypeBlackHot const
  30. ColorPaletteTypeBlackHot ColorPaletteType = "BlackHot"
  31. // ColorPaletteTypeWhiteHot const
  32. ColorPaletteTypeWhiteHot ColorPaletteType = "WhiteHot"
  33. // ColorPaletteTypeSepia const
  34. ColorPaletteTypeSepia ColorPaletteType = "Sepia"
  35. // ColorPaletteTypeRed const
  36. ColorPaletteTypeRed ColorPaletteType = "Red"
  37. // ColorPaletteTypeIron const
  38. ColorPaletteTypeIron ColorPaletteType = "Iron"
  39. // ColorPaletteTypeRain const
  40. ColorPaletteTypeRain ColorPaletteType = "Rain"
  41. // ColorPaletteTypeRainbow const
  42. ColorPaletteTypeRainbow ColorPaletteType = "Rainbow"
  43. // ColorPaletteTypeIsotherm const
  44. ColorPaletteTypeIsotherm ColorPaletteType = "Isotherm"
  45. )
  46. // GetServiceCapabilities type
  47. type GetServiceCapabilities struct {
  48. XMLName xml.Name `xml:"http://www.onvif.org/ver10/thermal/wsdl GetServiceCapabilities"`
  49. }
  50. // GetServiceCapabilitiesResponse type
  51. type GetServiceCapabilitiesResponse struct {
  52. XMLName xml.Name `xml:"GetServiceCapabilitiesResponse"`
  53. // The capabilities of the thermal service are returned in the Capabilities element.
  54. Capabilities Capabilities `xml:"Capabilities,omitempty"`
  55. }
  56. // GetConfigurationOptions type
  57. type GetConfigurationOptions struct {
  58. XMLName xml.Name `xml:"http://www.onvif.org/ver10/thermal/wsdl GetConfigurationOptions"`
  59. //
  60. // Reference token to the VideoSource for which the Thermal Configuration Options are requested.
  61. //
  62. VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl VideoSourceToken,omitempty"`
  63. }
  64. // GetConfigurationOptionsResponse type
  65. type GetConfigurationOptionsResponse struct {
  66. XMLName xml.Name `xml:"GetConfigurationOptionsResponse"`
  67. //
  68. // Valid ranges for the Thermal configuration parameters that are categorized as device specific.
  69. //
  70. ConfigurationOptions ConfigurationOptions `xml:"ConfigurationOptions,omitempty"`
  71. }
  72. // GetConfiguration type
  73. type GetConfiguration struct {
  74. XMLName xml.Name `xml:"http://www.onvif.org/ver10/thermal/wsdl GetConfiguration"`
  75. //
  76. // Reference token to the VideoSource for which the Thermal Settings are requested.
  77. //
  78. VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl VideoSourceToken,omitempty"`
  79. }
  80. // GetConfigurationResponse type
  81. type GetConfigurationResponse struct {
  82. XMLName xml.Name `xml:"GetConfigurationResponse"`
  83. //
  84. // Thermal Settings for the VideoSource that was requested.
  85. //
  86. Configuration Configuration `xml:"Configuration,omitempty"`
  87. }
  88. // GetConfigurations type
  89. type GetConfigurations struct {
  90. XMLName xml.Name `xml:"http://www.onvif.org/ver10/thermal/wsdl GetConfigurations"`
  91. }
  92. // GetConfigurationsResponse type
  93. type GetConfigurationsResponse struct {
  94. XMLName xml.Name `xml:"GetConfigurationsResponse"`
  95. //
  96. // This element contains a list of thermal VideoSource configurations.
  97. //
  98. Configurations []Configurations `xml:"Configurations,omitempty"`
  99. }
  100. // SetConfiguration type
  101. type SetConfiguration struct {
  102. XMLName xml.Name `xml:"http://www.onvif.org/ver10/thermal/wsdl SetConfiguration"`
  103. //
  104. // Reference token to the VideoSource for which the Thermal Settings are configured.
  105. //
  106. VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl VideoSourceToken,omitempty"`
  107. //
  108. // Thermal Settings to be configured.
  109. //
  110. Configuration Configuration `xml:"http://www.onvif.org/ver10/thermal/wsdl Configuration,omitempty"`
  111. }
  112. // SetConfigurationResponse type
  113. type SetConfigurationResponse struct {
  114. XMLName xml.Name `xml:"SetConfigurationResponse"`
  115. }
  116. // GetRadiometryConfigurationOptions type
  117. type GetRadiometryConfigurationOptions struct {
  118. XMLName xml.Name `xml:"http://www.onvif.org/ver10/thermal/wsdl GetRadiometryConfigurationOptions"`
  119. //
  120. // Reference token to the VideoSource for which the Thermal Radiometry Options are requested.
  121. //
  122. VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl VideoSourceToken,omitempty"`
  123. }
  124. // GetRadiometryConfigurationOptionsResponse type
  125. type GetRadiometryConfigurationOptionsResponse struct {
  126. XMLName xml.Name `xml:"GetRadiometryConfigurationOptionsResponse"`
  127. //
  128. // Valid ranges for the Thermal Radiometry parameters that are categorized as device specific.
  129. //
  130. ConfigurationOptions RadiometryConfigurationOptions `xml:"ConfigurationOptions,omitempty"`
  131. }
  132. // GetRadiometryConfiguration type
  133. type GetRadiometryConfiguration struct {
  134. XMLName xml.Name `xml:"http://www.onvif.org/ver10/thermal/wsdl GetRadiometryConfiguration"`
  135. //
  136. // Reference token to the VideoSource for which the Radiometry Configuration is requested.
  137. //
  138. VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl VideoSourceToken,omitempty"`
  139. }
  140. // GetRadiometryConfigurationResponse type
  141. type GetRadiometryConfigurationResponse struct {
  142. XMLName xml.Name `xml:"GetRadiometryConfigurationResponse"`
  143. //
  144. // Radiometry Configuration for the VideoSource that was requested.
  145. //
  146. Configuration RadiometryConfiguration `xml:"Configuration,omitempty"`
  147. }
  148. // SetRadiometryConfiguration type
  149. type SetRadiometryConfiguration struct {
  150. XMLName xml.Name `xml:"http://www.onvif.org/ver10/thermal/wsdl SetRadiometryConfiguration"`
  151. //
  152. // Reference token to the VideoSource for which the Radiometry settings are configured.
  153. //
  154. VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl VideoSourceToken,omitempty"`
  155. //
  156. // Radiometry settings to be configured.
  157. //
  158. Configuration RadiometryConfiguration `xml:"http://www.onvif.org/ver10/thermal/wsdl Configuration,omitempty"`
  159. }
  160. // SetRadiometryConfigurationResponse type
  161. type SetRadiometryConfigurationResponse struct {
  162. XMLName xml.Name `xml:"SetRadiometryConfigurationResponse"`
  163. }
  164. // ColorPalette type
  165. type ColorPalette struct {
  166. //
  167. // User readable Color Palette name.
  168. //
  169. Name Name `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,omitempty"`
  170. // Unique identifier of this Color Palette.
  171. Token ReferenceToken `xml:"token,attr,omitempty"`
  172. // Indicates Color Palette Type. Use tth:ColorPaletteType.
  173. // Used for multi-language support and display.
  174. Type string `xml:"http://www.onvif.org/ver10/thermal/wsdl Type,attr,omitempty"`
  175. }
  176. // NUCTable type
  177. type NUCTable struct {
  178. //
  179. // User reabable name for the Non-Uniformity Correction (NUC) Table.
  180. //
  181. Name Name `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,omitempty"`
  182. // Unique identifier of this NUC Table.
  183. Token ReferenceToken `xml:"token,attr,omitempty"`
  184. // Low Temperature limit for application of NUC Table, in Kelvin.
  185. LowTemperature float32 `xml:"http://www.onvif.org/ver10/schema LowTemperature,attr,omitempty"`
  186. // High Temperature limit for application of NUC Table, in Kelvin.
  187. HighTemperature float32 `xml:"http://www.onvif.org/ver10/schema HighTemperature,attr,omitempty"`
  188. }
  189. // Cooler type
  190. type Cooler struct {
  191. //
  192. // Indicates whether the Cooler is enabled (running) or not.
  193. //
  194. Enabled bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Enabled,omitempty"`
  195. //
  196. // Number of hours the Cooler has been running (unit: hours). Read-only.
  197. //
  198. RunTime float32 `xml:"http://www.onvif.org/ver10/schema RunTime,omitempty"`
  199. }
  200. // CoolerOptions type
  201. type CoolerOptions struct {
  202. //
  203. // Indicates the Device allows cooler status to be changed from running (Enabled) to stopped (Disabled), and viceversa.
  204. //
  205. Enabled bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Enabled,omitempty"`
  206. }
  207. // RadiometryGlobalParameters type
  208. type RadiometryGlobalParameters struct {
  209. //
  210. // Reflected Ambient Temperature for the environment in which the thermal device and the object being measured is located.
  211. //
  212. ReflectedAmbientTemperature float32 `xml:"http://www.onvif.org/ver10/schema ReflectedAmbientTemperature,omitempty"`
  213. //
  214. // Emissivity of the surface of the object on which temperature is being measured.
  215. //
  216. Emissivity float32 `xml:"http://www.onvif.org/ver10/schema Emissivity,omitempty"`
  217. //
  218. // Distance from the thermal device to the measured object.
  219. //
  220. DistanceToObject float32 `xml:"http://www.onvif.org/ver10/schema DistanceToObject,omitempty"`
  221. //
  222. // Relative Humidity in the environment in which the measurement is located.
  223. //
  224. RelativeHumidity float32 `xml:"http://www.onvif.org/ver10/schema RelativeHumidity,omitempty"`
  225. //
  226. // Temperature of the atmosphere between the thermal device and the object being measured.
  227. //
  228. AtmosphericTemperature float32 `xml:"http://www.onvif.org/ver10/schema AtmosphericTemperature,omitempty"`
  229. //
  230. // Transmittance value for the atmosphere between the thermal device and the object being measured.
  231. //
  232. AtmosphericTransmittance float32 `xml:"http://www.onvif.org/ver10/schema AtmosphericTransmittance,omitempty"`
  233. //
  234. // Temperature of the optics elements between the thermal device and the object being measured.
  235. //
  236. ExtOpticsTemperature float32 `xml:"http://www.onvif.org/ver10/schema ExtOpticsTemperature,omitempty"`
  237. //
  238. // Transmittance value for the optics elements between the thermal device and the object being measured.
  239. //
  240. ExtOpticsTransmittance float32 `xml:"http://www.onvif.org/ver10/schema ExtOpticsTransmittance,omitempty"`
  241. }
  242. // RadiometryGlobalParameterOptions type
  243. type RadiometryGlobalParameterOptions struct {
  244. // Valid range of temperature values, in Kelvin.
  245. ReflectedAmbientTemperature FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl ReflectedAmbientTemperature,omitempty"`
  246. // Valid range of emissivity values for the objects to measure.
  247. Emissivity FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Emissivity,omitempty"`
  248. // Valid range of distance between camera and object for a valid temperature reading, in meters.
  249. DistanceToObject FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl DistanceToObject,omitempty"`
  250. // Valid range of relative humidity values, in percentage.
  251. RelativeHumidity FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl RelativeHumidity,omitempty"`
  252. // Valid range of temperature values, in Kelvin.
  253. AtmosphericTemperature FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl AtmosphericTemperature,omitempty"`
  254. // Valid range of atmospheric transmittance values.
  255. AtmosphericTransmittance FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl AtmosphericTransmittance,omitempty"`
  256. // Valid range of temperature values, in Kelvin.
  257. ExtOpticsTemperature FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl ExtOpticsTemperature,omitempty"`
  258. // Valid range of external optics transmittance.
  259. ExtOpticsTransmittance FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl ExtOpticsTransmittance,omitempty"`
  260. }
  261. // Configuration type
  262. type Configuration struct {
  263. //
  264. // Current Color Palette in use by the Thermal Device.
  265. //
  266. ColorPalette ColorPalette `xml:"http://www.onvif.org/ver10/thermal/wsdl ColorPalette,omitempty"`
  267. //
  268. // Polarity configuration of the Thermal Device.
  269. //
  270. Polarity Polarity `xml:"http://www.onvif.org/ver10/thermal/wsdl Polarity,omitempty"`
  271. //
  272. // Current Non-Uniformity Correction (NUC) Table in use by the Thermal Device.
  273. //
  274. NUCTable NUCTable `xml:"http://www.onvif.org/ver10/thermal/wsdl NUCTable,omitempty"`
  275. //
  276. // Cooler settings of the Thermal Device.
  277. //
  278. Cooler Cooler `xml:"http://www.onvif.org/ver10/thermal/wsdl Cooler,omitempty"`
  279. }
  280. // Configurations type
  281. type Configurations struct {
  282. //
  283. // Current Thermal Settings for the VideoSource.
  284. //
  285. Configuration Configuration `xml:"http://www.onvif.org/ver10/thermal/wsdl Configuration,omitempty"`
  286. //
  287. // Reference token to the thermal VideoSource.
  288. //
  289. Token ReferenceToken `xml:"token,attr,omitempty"`
  290. }
  291. // RadiometryConfiguration type
  292. type RadiometryConfiguration struct {
  293. //
  294. // Global Parameters for Radiometry Measurements. Shall exist if Radiometry Capability is reported,
  295. // and Global Parameters are supported by the device.
  296. //
  297. RadiometryGlobalParameters RadiometryGlobalParameters `xml:"http://www.onvif.org/ver10/thermal/wsdl RadiometryGlobalParameters,omitempty"`
  298. }
  299. // ConfigurationOptions type
  300. type ConfigurationOptions struct {
  301. //
  302. // List of Color Palettes available for the requested Thermal VideoSource.
  303. //
  304. ColorPalette []ColorPalette `xml:"http://www.onvif.org/ver10/thermal/wsdl ColorPalette,omitempty"`
  305. //
  306. // List of Non-Uniformity Correction (NUC) Tables available for the requested Thermal VideoSource.
  307. //
  308. NUCTable []NUCTable `xml:"http://www.onvif.org/ver10/thermal/wsdl NUCTable,omitempty"`
  309. //
  310. // Specifies Cooler Options for cooled thermal devices.
  311. //
  312. CoolerOptions CoolerOptions `xml:"http://www.onvif.org/ver10/thermal/wsdl CoolerOptions,omitempty"`
  313. }
  314. // RadiometryConfigurationOptions type
  315. type RadiometryConfigurationOptions struct {
  316. //
  317. // Specifies valid ranges and options for the global radiometry parameters used as default parameter values
  318. // for temperature measurement modules (spots and boxes).
  319. //
  320. RadiometryGlobalParameterOptions RadiometryGlobalParameterOptions `xml:"http://www.onvif.org/ver10/thermal/wsdl RadiometryGlobalParameterOptions,omitempty"`
  321. }
  322. // Capabilities type
  323. type Capabilities struct {
  324. // Indicates whether or not radiometric thermal measurements are supported by the thermal device.
  325. Radiometry bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Radiometry,attr,omitempty"`
  326. }
  327. // FaultcodeEnum type
  328. type FaultcodeEnum QName
  329. const (
  330. // FaultcodeEnumTnsDataEncodingUnknown const
  331. FaultcodeEnumTnsDataEncodingUnknown FaultcodeEnum = "tns:DataEncodingUnknown"
  332. // FaultcodeEnumTnsMustUnderstand const
  333. FaultcodeEnumTnsMustUnderstand FaultcodeEnum = "tns:MustUnderstand"
  334. // FaultcodeEnumTnsReceiver const
  335. FaultcodeEnumTnsReceiver FaultcodeEnum = "tns:Receiver"
  336. // FaultcodeEnumTnsSender const
  337. FaultcodeEnumTnsSender FaultcodeEnum = "tns:Sender"
  338. // FaultcodeEnumTnsVersionMismatch const
  339. FaultcodeEnumTnsVersionMismatch FaultcodeEnum = "tns:VersionMismatch"
  340. )
  341. // NotUnderstood type
  342. type NotUnderstood NotUnderstoodType
  343. // Upgrade type
  344. type Upgrade UpgradeType
  345. // Envelope type
  346. type Envelope struct {
  347. Header Header `xml:"Header,omitempty"`
  348. Body Body `xml:"Body,omitempty"`
  349. }
  350. // Header type
  351. type Header struct {
  352. }
  353. // Body type
  354. type Body struct {
  355. }
  356. // Fault type
  357. type Fault struct {
  358. Code Faultcode `xml:"Code,omitempty"`
  359. Reason Faultreason `xml:"Reason,omitempty"`
  360. Node AnyURI `xml:"http://www.onvif.org/ver10/schema Node,omitempty"`
  361. Role AnyURI `xml:"http://www.onvif.org/ver10/schema Role,omitempty"`
  362. Detail Detail `xml:"Detail,omitempty"`
  363. }
  364. // Faultreason type
  365. type Faultreason struct {
  366. XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope faultreason"`
  367. Text []Reasontext `xml:"Text,omitempty"`
  368. }
  369. // Reasontext type
  370. type Reasontext struct {
  371. XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope reasontext"`
  372. Value string
  373. string `xml:",attr,omitempty"`
  374. }
  375. // Faultcode type
  376. type Faultcode struct {
  377. XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope faultcode"`
  378. Value FaultcodeEnum `xml:"Value,omitempty"`
  379. Subcode *Subcode `xml:"Subcode,omitempty"`
  380. }
  381. // Subcode type
  382. type Subcode struct {
  383. XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope subcode"`
  384. Value QName `xml:"http://www.onvif.org/ver10/schema Value,omitempty"`
  385. Subcode *Subcode `xml:"Subcode,omitempty"`
  386. }
  387. // Detail type
  388. type Detail struct {
  389. XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope detail"`
  390. }
  391. // NotUnderstoodType type
  392. type NotUnderstoodType struct {
  393. XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope NotUnderstood"`
  394. Qname QName `xml:"qname,attr,omitempty"`
  395. }
  396. // SupportedEnvType type
  397. type SupportedEnvType struct {
  398. Qname QName `xml:"qname,attr,omitempty"`
  399. }
  400. // UpgradeType type
  401. type UpgradeType struct {
  402. XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope Upgrade"`
  403. SupportedEnvelope []SupportedEnvType `xml:"SupportedEnvelope,omitempty"`
  404. }
  405. // RelationshipTypeOpenEnum type
  406. type RelationshipTypeOpenEnum string
  407. // RelationshipType type
  408. type RelationshipType AnyURI
  409. const (
  410. // RelationshipTypeHttpwwww3org200508addressingreply const
  411. RelationshipTypeHttpwwww3org200508addressingreply RelationshipType = "http://www.w3.org/2005/08/addressing/reply"
  412. )
  413. // FaultCodesType type
  414. type FaultCodesType QName
  415. const (
  416. // FaultCodesTypeTnsInvalidAddressingHeader const
  417. FaultCodesTypeTnsInvalidAddressingHeader FaultCodesType = "tns:InvalidAddressingHeader"
  418. // FaultCodesTypeTnsInvalidAddress const
  419. FaultCodesTypeTnsInvalidAddress FaultCodesType = "tns:InvalidAddress"
  420. // FaultCodesTypeTnsInvalidEPR const
  421. FaultCodesTypeTnsInvalidEPR FaultCodesType = "tns:InvalidEPR"
  422. // FaultCodesTypeTnsInvalidCardinality const
  423. FaultCodesTypeTnsInvalidCardinality FaultCodesType = "tns:InvalidCardinality"
  424. // FaultCodesTypeTnsMissingAddressInEPR const
  425. FaultCodesTypeTnsMissingAddressInEPR FaultCodesType = "tns:MissingAddressInEPR"
  426. // FaultCodesTypeTnsDuplicateMessageID const
  427. FaultCodesTypeTnsDuplicateMessageID FaultCodesType = "tns:DuplicateMessageID"
  428. // FaultCodesTypeTnsActionMismatch const
  429. FaultCodesTypeTnsActionMismatch FaultCodesType = "tns:ActionMismatch"
  430. // FaultCodesTypeTnsMessageAddressingHeaderRequired const
  431. FaultCodesTypeTnsMessageAddressingHeaderRequired FaultCodesType = "tns:MessageAddressingHeaderRequired"
  432. // FaultCodesTypeTnsDestinationUnreachable const
  433. FaultCodesTypeTnsDestinationUnreachable FaultCodesType = "tns:DestinationUnreachable"
  434. // FaultCodesTypeTnsActionNotSupported const
  435. FaultCodesTypeTnsActionNotSupported FaultCodesType = "tns:ActionNotSupported"
  436. // FaultCodesTypeTnsEndpointUnavailable const
  437. FaultCodesTypeTnsEndpointUnavailable FaultCodesType = "tns:EndpointUnavailable"
  438. )
  439. // EndpointReference type
  440. type EndpointReference EndpointReferenceType
  441. // Metadata type
  442. type Metadata MetadataType
  443. // RelatesTo type
  444. type RelatesTo RelatesToType
  445. // To type
  446. type To AttributedURIType
  447. // Action type
  448. type Action AttributedURIType
  449. // ProblemAction type
  450. type ProblemAction ProblemActionType
  451. // EndpointReferenceType type
  452. type EndpointReferenceType struct {
  453. XMLName xml.Name `xml:"http://www.w3.org/2005/08/addressing EndpointReference"`
  454. Address AttributedURIType `xml:"Address,omitempty"`
  455. ReferenceParameters ReferenceParametersType `xml:"ReferenceParameters,omitempty"`
  456. Metadata Metadata `xml:"Metadata,omitempty"`
  457. }
  458. // ReferenceParametersType type
  459. type ReferenceParametersType struct {
  460. }
  461. // MetadataType type
  462. type MetadataType struct {
  463. XMLName xml.Name `xml:"http://www.w3.org/2005/08/addressing Metadata"`
  464. }
  465. // RelatesToType type
  466. type RelatesToType struct {
  467. XMLName xml.Name `xml:"http://www.w3.org/2005/08/addressing RelatesTo"`
  468. Value AnyURI
  469. RelationshipType RelationshipTypeOpenEnum `xml:"RelationshipType,attr,omitempty"`
  470. }
  471. // AttributedURIType type
  472. type AttributedURIType struct {
  473. XMLName xml.Name `xml:"http://www.w3.org/2005/08/addressing MessageID"`
  474. Value AnyURI
  475. }
  476. // ProblemActionType type
  477. type ProblemActionType struct {
  478. XMLName xml.Name `xml:"http://www.w3.org/2005/08/addressing ProblemAction"`
  479. Action Action `xml:"Action,omitempty"`
  480. SoapAction AnyURI `xml:"http://www.onvif.org/ver10/schema SoapAction,omitempty"`
  481. }
  482. // BaseFault type
  483. type BaseFault BaseFaultType
  484. // BaseFaultType type
  485. type BaseFaultType struct {
  486. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsrf/bf-2 BaseFault"`
  487. Timestamp string `xml:"http://www.onvif.org/ver10/schema Timestamp,omitempty"`
  488. Originator EndpointReferenceType `xml:"Originator,omitempty"`
  489. ErrorCode struct {
  490. Dialect AnyURI `xml:"dialect,attr,omitempty"`
  491. } `xml:"ErrorCode,omitempty"`
  492. Description []struct {
  493. Value string
  494. string `xml:",attr,omitempty"`
  495. } `xml:"Description,omitempty"`
  496. FaultCause struct {
  497. } `xml:"FaultCause,omitempty"`
  498. }
  499. // ConcreteTopicExpression type
  500. type ConcreteTopicExpression string
  501. // SimpleTopicExpression type
  502. type SimpleTopicExpression QName
  503. // TopicNamespace type
  504. type TopicNamespace TopicNamespaceType
  505. // TopicSet type
  506. type TopicSet TopicSetType
  507. // Documentation type
  508. type Documentation struct {
  509. }
  510. // ExtensibleDocumented type
  511. type ExtensibleDocumented struct {
  512. Documentation Documentation `xml:"documentation,omitempty"`
  513. }
  514. // QueryExpressionType type
  515. type QueryExpressionType struct {
  516. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/t-1 ProducerProperties"`
  517. Dialect AnyURI `xml:"http://www.onvif.org/ver10/schema Dialect,attr,omitempty"`
  518. }
  519. // TopicNamespaceType type
  520. type TopicNamespaceType struct {
  521. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/t-1 TopicNamespace"`
  522. *ExtensibleDocumented
  523. Topic []struct {
  524. *TopicType
  525. Parent ConcreteTopicExpression `xml:"parent,attr,omitempty"`
  526. } `xml:"Topic,omitempty"`
  527. Name NCName `xml:"name,attr,omitempty"`
  528. TargetNamespace AnyURI `xml:"targetNamespace,attr,omitempty"`
  529. Final bool `xml:"final,attr,omitempty"`
  530. }
  531. // TopicType type
  532. type TopicType struct {
  533. *ExtensibleDocumented
  534. MessagePattern QueryExpressionType `xml:"MessagePattern,omitempty"`
  535. Topic []TopicType `xml:"Topic,omitempty"`
  536. Name NCName `xml:"name,attr,omitempty"`
  537. MessageTypes string `xml:"messageTypes,attr,omitempty"`
  538. Final bool `xml:"final,attr,omitempty"`
  539. }
  540. // TopicSetType type
  541. type TopicSetType struct {
  542. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/t-1 TopicSet"`
  543. *ExtensibleDocumented
  544. }
  545. // AbsoluteOrRelativeTimeType type
  546. type AbsoluteOrRelativeTimeType string
  547. // TopicExpression type
  548. type TopicExpression TopicExpressionType
  549. // FixedTopicSet type
  550. type FixedTopicSet bool
  551. // TopicExpressionDialect type
  552. type TopicExpressionDialect AnyURI
  553. // ConsumerReference type
  554. type ConsumerReference EndpointReferenceType
  555. // Filter type
  556. type Filter FilterType
  557. // SubscriptionPolicy type
  558. type SubscriptionPolicy SubscriptionPolicyType
  559. // CreationTime type
  560. type CreationTime time.Time
  561. // SubscriptionReference type
  562. type SubscriptionReference EndpointReferenceType
  563. // Topic type
  564. type Topic TopicExpressionType
  565. // ProducerReference type
  566. type ProducerReference EndpointReferenceType
  567. // NotificationMessage type
  568. type NotificationMessage NotificationMessageHolderType
  569. // Notify type
  570. type Notify struct {
  571. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 Notify"`
  572. NotificationMessage []NotificationMessage `xml:"NotificationMessage,omitempty"`
  573. }
  574. // CurrentTime type
  575. type CurrentTime time.Time
  576. // TerminationTime type
  577. type TerminationTime time.Time
  578. // Subscribe type
  579. type Subscribe struct {
  580. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 Subscribe"`
  581. ConsumerReference EndpointReferenceType `xml:"ConsumerReference,omitempty"`
  582. Filter FilterType `xml:"Filter,omitempty"`
  583. InitialTerminationTime AbsoluteOrRelativeTimeType `xml:"InitialTerminationTime,omitempty"`
  584. SubscriptionPolicy struct {
  585. } `xml:"SubscriptionPolicy,omitempty"`
  586. }
  587. // SubscribeCreationFailedFault type
  588. type SubscribeCreationFailedFault SubscribeCreationFailedFaultType
  589. // InvalidFilterFault type
  590. type InvalidFilterFault InvalidFilterFaultType
  591. // TopicExpressionDialectUnknownFault type
  592. type TopicExpressionDialectUnknownFault TopicExpressionDialectUnknownFaultType
  593. // InvalidTopicExpressionFault type
  594. type InvalidTopicExpressionFault InvalidTopicExpressionFaultType
  595. // TopicNotSupportedFault type
  596. type TopicNotSupportedFault TopicNotSupportedFaultType
  597. // MultipleTopicsSpecifiedFault type
  598. type MultipleTopicsSpecifiedFault MultipleTopicsSpecifiedFaultType
  599. // InvalidProducerPropertiesExpressionFault type
  600. type InvalidProducerPropertiesExpressionFault InvalidProducerPropertiesExpressionFaultType
  601. // InvalidMessageContentExpressionFault type
  602. type InvalidMessageContentExpressionFault InvalidMessageContentExpressionFaultType
  603. // UnrecognizedPolicyRequestFault type
  604. type UnrecognizedPolicyRequestFault UnrecognizedPolicyRequestFaultType
  605. // UnsupportedPolicyRequestFault type
  606. type UnsupportedPolicyRequestFault UnsupportedPolicyRequestFaultType
  607. // NotifyMessageNotSupportedFault type
  608. type NotifyMessageNotSupportedFault NotifyMessageNotSupportedFaultType
  609. // UnacceptableInitialTerminationTimeFault type
  610. type UnacceptableInitialTerminationTimeFault UnacceptableInitialTerminationTimeFaultType
  611. // NoCurrentMessageOnTopicFault type
  612. type NoCurrentMessageOnTopicFault NoCurrentMessageOnTopicFaultType
  613. // UnableToGetMessagesFault type
  614. type UnableToGetMessagesFault UnableToGetMessagesFaultType
  615. // UnableToDestroyPullPointFault type
  616. type UnableToDestroyPullPointFault UnableToDestroyPullPointFaultType
  617. // UnableToCreatePullPointFault type
  618. type UnableToCreatePullPointFault UnableToCreatePullPointFaultType
  619. // UnacceptableTerminationTimeFault type
  620. type UnacceptableTerminationTimeFault UnacceptableTerminationTimeFaultType
  621. // UnableToDestroySubscriptionFault type
  622. type UnableToDestroySubscriptionFault UnableToDestroySubscriptionFaultType
  623. // PauseFailedFault type
  624. type PauseFailedFault PauseFailedFaultType
  625. // ResumeFailedFault type
  626. type ResumeFailedFault ResumeFailedFaultType
  627. // Removed QueryExpressionType
  628. // TopicExpressionType type
  629. type TopicExpressionType struct {
  630. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 TopicExpression"`
  631. Dialect AnyURI `xml:"http://www.onvif.org/ver10/schema Dialect,attr,omitempty"`
  632. }
  633. // FilterType type
  634. type FilterType struct {
  635. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 Filter"`
  636. }
  637. // SubscriptionPolicyType type
  638. type SubscriptionPolicyType struct {
  639. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 SubscriptionPolicy"`
  640. }
  641. // NotificationMessageHolderType type
  642. type NotificationMessageHolderType struct {
  643. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 NotificationMessage"`
  644. SubscriptionReference SubscriptionReference `xml:"SubscriptionReference,omitempty"`
  645. Topic Topic `xml:"Topic,omitempty"`
  646. ProducerReference ProducerReference `xml:"ProducerReference,omitempty"`
  647. Message struct {
  648. } `xml:"Message,omitempty"`
  649. }
  650. // SubscribeCreationFailedFaultType type
  651. type SubscribeCreationFailedFaultType struct {
  652. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 SubscribeCreationFailedFault"`
  653. *BaseFaultType
  654. }
  655. // InvalidFilterFaultType type
  656. type InvalidFilterFaultType struct {
  657. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 InvalidFilterFault"`
  658. *BaseFaultType
  659. UnknownFilter []QName `xml:"http://www.onvif.org/ver10/schema UnknownFilter,omitempty"`
  660. }
  661. // TopicExpressionDialectUnknownFaultType type
  662. type TopicExpressionDialectUnknownFaultType struct {
  663. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 TopicExpressionDialectUnknownFault"`
  664. *BaseFaultType
  665. }
  666. // InvalidTopicExpressionFaultType type
  667. type InvalidTopicExpressionFaultType struct {
  668. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 InvalidTopicExpressionFault"`
  669. *BaseFaultType
  670. }
  671. // TopicNotSupportedFaultType type
  672. type TopicNotSupportedFaultType struct {
  673. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 TopicNotSupportedFault"`
  674. *BaseFaultType
  675. }
  676. // MultipleTopicsSpecifiedFaultType type
  677. type MultipleTopicsSpecifiedFaultType struct {
  678. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 MultipleTopicsSpecifiedFault"`
  679. *BaseFaultType
  680. }
  681. // InvalidProducerPropertiesExpressionFaultType type
  682. type InvalidProducerPropertiesExpressionFaultType struct {
  683. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 InvalidProducerPropertiesExpressionFault"`
  684. *BaseFaultType
  685. }
  686. // InvalidMessageContentExpressionFaultType type
  687. type InvalidMessageContentExpressionFaultType struct {
  688. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 InvalidMessageContentExpressionFault"`
  689. *BaseFaultType
  690. }
  691. // UnrecognizedPolicyRequestFaultType type
  692. type UnrecognizedPolicyRequestFaultType struct {
  693. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnrecognizedPolicyRequestFault"`
  694. *BaseFaultType
  695. UnrecognizedPolicy []QName `xml:"http://www.onvif.org/ver10/schema UnrecognizedPolicy,omitempty"`
  696. }
  697. // UnsupportedPolicyRequestFaultType type
  698. type UnsupportedPolicyRequestFaultType struct {
  699. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnsupportedPolicyRequestFault"`
  700. *BaseFaultType
  701. UnsupportedPolicy []QName `xml:"http://www.onvif.org/ver10/schema UnsupportedPolicy,omitempty"`
  702. }
  703. // NotifyMessageNotSupportedFaultType type
  704. type NotifyMessageNotSupportedFaultType struct {
  705. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 NotifyMessageNotSupportedFault"`
  706. *BaseFaultType
  707. }
  708. // UnacceptableInitialTerminationTimeFaultType type
  709. type UnacceptableInitialTerminationTimeFaultType struct {
  710. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnacceptableInitialTerminationTimeFault"`
  711. *BaseFaultType
  712. MinimumTime string `xml:"http://www.onvif.org/ver10/schema MinimumTime,omitempty"`
  713. MaximumTime string `xml:"http://www.onvif.org/ver10/schema MaximumTime,omitempty"`
  714. }
  715. // NoCurrentMessageOnTopicFaultType type
  716. type NoCurrentMessageOnTopicFaultType struct {
  717. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 NoCurrentMessageOnTopicFault"`
  718. *BaseFaultType
  719. }
  720. // UnableToGetMessagesFaultType type
  721. type UnableToGetMessagesFaultType struct {
  722. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnableToGetMessagesFault"`
  723. *BaseFaultType
  724. }
  725. // UnableToDestroyPullPointFaultType type
  726. type UnableToDestroyPullPointFaultType struct {
  727. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnableToDestroyPullPointFault"`
  728. *BaseFaultType
  729. }
  730. // UnableToCreatePullPointFaultType type
  731. type UnableToCreatePullPointFaultType struct {
  732. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnableToCreatePullPointFault"`
  733. *BaseFaultType
  734. }
  735. // UnacceptableTerminationTimeFaultType type
  736. type UnacceptableTerminationTimeFaultType struct {
  737. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnacceptableTerminationTimeFault"`
  738. *BaseFaultType
  739. MinimumTime string `xml:"http://www.onvif.org/ver10/schema MinimumTime,omitempty"`
  740. MaximumTime string `xml:"http://www.onvif.org/ver10/schema MaximumTime,omitempty"`
  741. }
  742. // UnableToDestroySubscriptionFaultType type
  743. type UnableToDestroySubscriptionFaultType struct {
  744. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnableToDestroySubscriptionFault"`
  745. *BaseFaultType
  746. }
  747. // PauseFailedFaultType type
  748. type PauseFailedFaultType struct {
  749. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 PauseFailedFault"`
  750. *BaseFaultType
  751. }
  752. // ResumeFailedFaultType type
  753. type ResumeFailedFaultType struct {
  754. XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 ResumeFailedFault"`
  755. *BaseFaultType
  756. }
  757. // Include type
  758. type Include struct {
  759. Href AnyURI `xml:"href,attr,omitempty"`
  760. }
  761. // Unique identifier for a physical or logical resource.
  762. // Tokens should be assigned such that they are unique within a device. Tokens must be at least unique within its class.
  763. // Length up to 64 characters.
  764. // ReferenceToken type
  765. type ReferenceToken string
  766. // MoveStatus type
  767. type MoveStatus string
  768. const (
  769. // MoveStatusIDLE const
  770. MoveStatusIDLE MoveStatus = "IDLE"
  771. // MoveStatusMOVING const
  772. MoveStatusMOVING MoveStatus = "MOVING"
  773. // MoveStatusUNKNOWN const
  774. MoveStatusUNKNOWN MoveStatus = "UNKNOWN"
  775. )
  776. // Entity type
  777. type Entity string
  778. const (
  779. // EntityDevice const
  780. EntityDevice Entity = "Device"
  781. // EntityVideoSource const
  782. EntityVideoSource Entity = "VideoSource"
  783. // EntityAudioSource const
  784. EntityAudioSource Entity = "AudioSource"
  785. )
  786. // IntRange type
  787. type IntRange struct {
  788. Min int32 `xml:"http://www.onvif.org/ver10/schema Min,omitempty"`
  789. Max int32 `xml:"http://www.onvif.org/ver10/schema Max,omitempty"`
  790. }
  791. // Vector2D type
  792. type Vector2D struct {
  793. X float32 `xml:"x,attr,omitempty"`
  794. Y float32 `xml:"y,attr,omitempty"`
  795. //
  796. // Pan/tilt coordinate space selector. The following options are defined:
  797. //
  798. Space AnyURI `xml:"space,attr,omitempty"`
  799. }
  800. // Vector1D type
  801. type Vector1D struct {
  802. X float32 `xml:"x,attr,omitempty"`
  803. //
  804. // Zoom coordinate space selector. The following options are defined:
  805. //
  806. Space AnyURI `xml:"space,attr,omitempty"`
  807. }
  808. // PTZVector type
  809. type PTZVector struct {
  810. // Pan and tilt position. The x component corresponds to pan and the y component to tilt.
  811. PanTilt Vector2D `xml:"http://www.onvif.org/ver10/schema PanTilt,omitempty"`
  812. //
  813. // A zoom position.
  814. //
  815. Zoom Vector1D `xml:"http://www.onvif.org/ver10/schema Zoom,omitempty"`
  816. }
  817. // PTZStatus type
  818. type PTZStatus struct {
  819. //
  820. // Specifies the absolute position of the PTZ unit together with the Space references. The default absolute spaces of the corresponding PTZ configuration MUST be referenced within the Position element.
  821. //
  822. Position PTZVector `xml:"http://www.onvif.org/ver10/schema Position,omitempty"`
  823. //
  824. // Indicates if the Pan/Tilt/Zoom device unit is currently moving, idle or in an unknown state.
  825. //
  826. MoveStatus PTZMoveStatus `xml:"http://www.onvif.org/ver10/schema MoveStatus,omitempty"`
  827. //
  828. // States a current PTZ error.
  829. //
  830. Error string `xml:"http://www.onvif.org/ver10/thermal/wsdl Error,omitempty"`
  831. //
  832. // Specifies the UTC time when this status was generated.
  833. //
  834. UtcTime string `xml:"http://www.onvif.org/ver10/schema UtcTime,omitempty"`
  835. }
  836. // PTZMoveStatus type
  837. type PTZMoveStatus struct {
  838. PanTilt MoveStatus `xml:"http://www.onvif.org/ver10/schema PanTilt,omitempty"`
  839. Zoom MoveStatus `xml:"http://www.onvif.org/ver10/schema Zoom,omitempty"`
  840. }
  841. // Vector type
  842. type Vector struct {
  843. X float32 `xml:"x,attr,omitempty"`
  844. Y float32 `xml:"y,attr,omitempty"`
  845. }
  846. // Rectangle type
  847. type Rectangle struct {
  848. Bottom float32 `xml:"bottom,attr,omitempty"`
  849. Top float32 `xml:"top,attr,omitempty"`
  850. Right float32 `xml:"right,attr,omitempty"`
  851. Left float32 `xml:"left,attr,omitempty"`
  852. }
  853. // Polygon type
  854. type Polygon struct {
  855. Point []Vector `xml:"http://www.onvif.org/ver10/schema Point,omitempty"`
  856. }
  857. // Color type
  858. type Color struct {
  859. X float32 `xml:"http://www.onvif.org/ver10/schema X,attr,omitempty"`
  860. Y float32 `xml:"http://www.onvif.org/ver10/schema Y,attr,omitempty"`
  861. Z float32 `xml:"http://www.onvif.org/ver10/schema Z,attr,omitempty"`
  862. //
  863. // Acceptable values:
  864. //
  865. // If the Colorspace attribute is absent, YCbCr is implied.
  866. //
  867. // Deprecated values:
  868. //
  869. //
  870. Colorspace AnyURI `xml:"http://www.onvif.org/ver10/schema Colorspace,attr,omitempty"`
  871. }
  872. // Transformation type
  873. type Transformation struct {
  874. Translate Vector `xml:"http://www.onvif.org/ver10/schema Translate,omitempty"`
  875. Scale Vector `xml:"http://www.onvif.org/ver10/schema Scale,omitempty"`
  876. Extension TransformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  877. }
  878. // TransformationExtension type
  879. type TransformationExtension struct {
  880. }
  881. // User readable name. Length up to 64 characters.
  882. // Name type
  883. type Name string
  884. // IntAttrList type
  885. type IntAttrList []int32
  886. // FloatAttrList type
  887. type FloatAttrList []float32
  888. // StringAttrList type
  889. type StringAttrList []string
  890. // ReferenceTokenList type
  891. type ReferenceTokenList []ReferenceToken
  892. // RotateMode type
  893. type RotateMode string
  894. const (
  895. // Enable the Rotate feature. Degree of rotation is specified Degree parameter.
  896. // RotateModeOFF const
  897. RotateModeOFF RotateMode = "OFF"
  898. // Disable the Rotate feature.
  899. // RotateModeON const
  900. RotateModeON RotateMode = "ON"
  901. // Rotate feature is automatically activated by the device.
  902. // RotateModeAUTO const
  903. RotateModeAUTO RotateMode = "AUTO"
  904. )
  905. // SceneOrientationMode type
  906. type SceneOrientationMode string
  907. const (
  908. // SceneOrientationModeMANUAL const
  909. SceneOrientationModeMANUAL SceneOrientationMode = "MANUAL"
  910. // SceneOrientationModeAUTO const
  911. SceneOrientationModeAUTO SceneOrientationMode = "AUTO"
  912. )
  913. // SceneOrientationOption type
  914. type SceneOrientationOption string
  915. const (
  916. // SceneOrientationOptionBelow const
  917. SceneOrientationOptionBelow SceneOrientationOption = "Below"
  918. // SceneOrientationOptionHorizon const
  919. SceneOrientationOptionHorizon SceneOrientationOption = "Horizon"
  920. // SceneOrientationOptionAbove const
  921. SceneOrientationOptionAbove SceneOrientationOption = "Above"
  922. )
  923. // Source view modes supported by device.
  924. // ViewModes type
  925. type ViewModes string
  926. const (
  927. // Undewarped viewmode from device supporting fisheye lens.
  928. // ViewModesTtFisheye const
  929. ViewModesTtFisheye ViewModes = "tt:Fisheye"
  930. // 360 degree panoramic view.
  931. // ViewModesTt360Panorama const
  932. ViewModesTt360Panorama ViewModes = "tt:360Panorama"
  933. // 180 degree panoramic view.
  934. // ViewModesTt180Panorama const
  935. ViewModesTt180Panorama ViewModes = "tt:180Panorama"
  936. // View mode combining four streams in single Quad, eg., applicable for devices supporting four heads.
  937. // ViewModesTtQuad const
  938. ViewModesTtQuad ViewModes = "tt:Quad"
  939. // Unaltered view from the sensor.
  940. // ViewModesTtOriginal const
  941. ViewModesTtOriginal ViewModes = "tt:Original"
  942. // Viewmode combining the left side sensors, applicable for devices supporting multiple sensors.
  943. // ViewModesTtLeftHalf const
  944. ViewModesTtLeftHalf ViewModes = "tt:LeftHalf"
  945. // Viewmode combining the right side sensors, applicable for devices supporting multiple sensors.
  946. // ViewModesTtRightHalf const
  947. ViewModesTtRightHalf ViewModes = "tt:RightHalf"
  948. // Dewarped view mode for device supporting fisheye lens.
  949. // ViewModesTtDewarp const
  950. ViewModesTtDewarp ViewModes = "tt:Dewarp"
  951. )
  952. // VideoEncoding type
  953. type VideoEncoding string
  954. const (
  955. // VideoEncodingJPEG const
  956. VideoEncodingJPEG VideoEncoding = "JPEG"
  957. // VideoEncodingMPEG4 const
  958. VideoEncodingMPEG4 VideoEncoding = "MPEG4"
  959. // VideoEncodingH264 const
  960. VideoEncodingH264 VideoEncoding = "H264"
  961. )
  962. // Mpeg4Profile type
  963. type Mpeg4Profile string
  964. const (
  965. // Mpeg4ProfileSP const
  966. Mpeg4ProfileSP Mpeg4Profile = "SP"
  967. // Mpeg4ProfileASP const
  968. Mpeg4ProfileASP Mpeg4Profile = "ASP"
  969. )
  970. // H264Profile type
  971. type H264Profile string
  972. const (
  973. // H264ProfileBaseline const
  974. H264ProfileBaseline H264Profile = "Baseline"
  975. // H264ProfileMain const
  976. H264ProfileMain H264Profile = "Main"
  977. // H264ProfileExtended const
  978. H264ProfileExtended H264Profile = "Extended"
  979. // H264ProfileHigh const
  980. H264ProfileHigh H264Profile = "High"
  981. )
  982. // Video Media Subtypes as referenced by IANA (without the leading "video/" Video Media Type). See also .
  983. // VideoEncodingMimeNames type
  984. type VideoEncodingMimeNames string
  985. const (
  986. // VideoEncodingMimeNamesJPEG const
  987. VideoEncodingMimeNamesJPEG VideoEncodingMimeNames = "JPEG"
  988. // VideoEncodingMimeNamesMPV4ES const
  989. VideoEncodingMimeNamesMPV4ES VideoEncodingMimeNames = "MPV4-ES"
  990. // VideoEncodingMimeNamesH264 const
  991. VideoEncodingMimeNamesH264 VideoEncodingMimeNames = "H264"
  992. // VideoEncodingMimeNamesH265 const
  993. VideoEncodingMimeNamesH265 VideoEncodingMimeNames = "H265"
  994. )
  995. // VideoEncodingProfiles type
  996. type VideoEncodingProfiles string
  997. const (
  998. // VideoEncodingProfilesSimple const
  999. VideoEncodingProfilesSimple VideoEncodingProfiles = "Simple"
  1000. // VideoEncodingProfilesAdvancedSimple const
  1001. VideoEncodingProfilesAdvancedSimple VideoEncodingProfiles = "AdvancedSimple"
  1002. // VideoEncodingProfilesBaseline const
  1003. VideoEncodingProfilesBaseline VideoEncodingProfiles = "Baseline"
  1004. // VideoEncodingProfilesMain const
  1005. VideoEncodingProfilesMain VideoEncodingProfiles = "Main"
  1006. // VideoEncodingProfilesMain10 const
  1007. VideoEncodingProfilesMain10 VideoEncodingProfiles = "Main10"
  1008. // VideoEncodingProfilesExtended const
  1009. VideoEncodingProfilesExtended VideoEncodingProfiles = "Extended"
  1010. // VideoEncodingProfilesHigh const
  1011. VideoEncodingProfilesHigh VideoEncodingProfiles = "High"
  1012. )
  1013. // AudioEncoding type
  1014. type AudioEncoding string
  1015. const (
  1016. // AudioEncodingG711 const
  1017. AudioEncodingG711 AudioEncoding = "G711"
  1018. // AudioEncodingG726 const
  1019. AudioEncodingG726 AudioEncoding = "G726"
  1020. // AudioEncodingAAC const
  1021. AudioEncodingAAC AudioEncoding = "AAC"
  1022. )
  1023. // Audio Media Subtypes as referenced by IANA (without the leading "audio/" Audio Media Type). See also .
  1024. // AudioEncodingMimeNames type
  1025. type AudioEncodingMimeNames string
  1026. const (
  1027. // AudioEncodingMimeNamesPCMU const
  1028. AudioEncodingMimeNamesPCMU AudioEncodingMimeNames = "PCMU"
  1029. // AudioEncodingMimeNamesG726 const
  1030. AudioEncodingMimeNamesG726 AudioEncodingMimeNames = "G726"
  1031. // AudioEncodingMimeNamesMP4ALATM const
  1032. AudioEncodingMimeNamesMP4ALATM AudioEncodingMimeNames = "MP4A-LATM"
  1033. // AudioEncodingMimeNamesMpeg4generic const
  1034. AudioEncodingMimeNamesMpeg4generic AudioEncodingMimeNames = "mpeg4-generic"
  1035. )
  1036. // MetadataCompressionType type
  1037. type MetadataCompressionType string
  1038. const (
  1039. // MetadataCompressionTypeNone const
  1040. MetadataCompressionTypeNone MetadataCompressionType = "None"
  1041. // MetadataCompressionTypeGZIP const
  1042. MetadataCompressionTypeGZIP MetadataCompressionType = "GZIP"
  1043. // MetadataCompressionTypeEXI const
  1044. MetadataCompressionTypeEXI MetadataCompressionType = "EXI"
  1045. )
  1046. // StreamType type
  1047. type StreamType string
  1048. const (
  1049. // StreamTypeRTPUnicast const
  1050. StreamTypeRTPUnicast StreamType = "RTP-Unicast"
  1051. // StreamTypeRTPMulticast const
  1052. StreamTypeRTPMulticast StreamType = "RTP-Multicast"
  1053. )
  1054. // TransportProtocol type
  1055. type TransportProtocol string
  1056. const (
  1057. // TransportProtocolUDP const
  1058. TransportProtocolUDP TransportProtocol = "UDP"
  1059. // This value is deprecated.
  1060. // TransportProtocolTCP const
  1061. TransportProtocolTCP TransportProtocol = "TCP"
  1062. // TransportProtocolRTSP const
  1063. TransportProtocolRTSP TransportProtocol = "RTSP"
  1064. // TransportProtocolHTTP const
  1065. TransportProtocolHTTP TransportProtocol = "HTTP"
  1066. )
  1067. // ScopeDefinition type
  1068. type ScopeDefinition string
  1069. const (
  1070. // ScopeDefinitionFixed const
  1071. ScopeDefinitionFixed ScopeDefinition = "Fixed"
  1072. // ScopeDefinitionConfigurable const
  1073. ScopeDefinitionConfigurable ScopeDefinition = "Configurable"
  1074. )
  1075. // DiscoveryMode type
  1076. type DiscoveryMode string
  1077. const (
  1078. // DiscoveryModeDiscoverable const
  1079. DiscoveryModeDiscoverable DiscoveryMode = "Discoverable"
  1080. // DiscoveryModeNonDiscoverable const
  1081. DiscoveryModeNonDiscoverable DiscoveryMode = "NonDiscoverable"
  1082. )
  1083. // NetworkInterfaceConfigPriority type
  1084. type NetworkInterfaceConfigPriority int32
  1085. // Duplex type
  1086. type Duplex string
  1087. const (
  1088. // DuplexFull const
  1089. DuplexFull Duplex = "Full"
  1090. // DuplexHalf const
  1091. DuplexHalf Duplex = "Half"
  1092. )
  1093. // IANAIfTypes type
  1094. type IANAIfTypes int32
  1095. // IPv6DHCPConfiguration type
  1096. type IPv6DHCPConfiguration string
  1097. const (
  1098. // IPv6DHCPConfigurationAuto const
  1099. IPv6DHCPConfigurationAuto IPv6DHCPConfiguration = "Auto"
  1100. // IPv6DHCPConfigurationStateful const
  1101. IPv6DHCPConfigurationStateful IPv6DHCPConfiguration = "Stateful"
  1102. // IPv6DHCPConfigurationStateless const
  1103. IPv6DHCPConfigurationStateless IPv6DHCPConfiguration = "Stateless"
  1104. // IPv6DHCPConfigurationOff const
  1105. IPv6DHCPConfigurationOff IPv6DHCPConfiguration = "Off"
  1106. )
  1107. // NetworkProtocolType type
  1108. type NetworkProtocolType string
  1109. const (
  1110. // NetworkProtocolTypeHTTP const
  1111. NetworkProtocolTypeHTTP NetworkProtocolType = "HTTP"
  1112. // NetworkProtocolTypeHTTPS const
  1113. NetworkProtocolTypeHTTPS NetworkProtocolType = "HTTPS"
  1114. // NetworkProtocolTypeRTSP const
  1115. NetworkProtocolTypeRTSP NetworkProtocolType = "RTSP"
  1116. )
  1117. // NetworkHostType type
  1118. type NetworkHostType string
  1119. const (
  1120. // NetworkHostTypeIPv4 const
  1121. NetworkHostTypeIPv4 NetworkHostType = "IPv4"
  1122. // NetworkHostTypeIPv6 const
  1123. NetworkHostTypeIPv6 NetworkHostType = "IPv6"
  1124. // NetworkHostTypeDNS const
  1125. NetworkHostTypeDNS NetworkHostType = "DNS"
  1126. )
  1127. // IPv4Address type
  1128. type IPv4Address string
  1129. // IPv6Address type
  1130. type IPv6Address string
  1131. // HwAddress type
  1132. type HwAddress string
  1133. // IPType type
  1134. type IPType string
  1135. const (
  1136. // IPTypeIPv4 const
  1137. IPTypeIPv4 IPType = "IPv4"
  1138. // IPTypeIPv6 const
  1139. IPTypeIPv6 IPType = "IPv6"
  1140. )
  1141. // DNSName type
  1142. type DNSName string
  1143. // IPAddressFilterType type
  1144. type IPAddressFilterType string
  1145. const (
  1146. // IPAddressFilterTypeAllow const
  1147. IPAddressFilterTypeAllow IPAddressFilterType = "Allow"
  1148. // IPAddressFilterTypeDeny const
  1149. IPAddressFilterTypeDeny IPAddressFilterType = "Deny"
  1150. )
  1151. // DynamicDNSType type
  1152. type DynamicDNSType string
  1153. const (
  1154. // DynamicDNSTypeNoUpdate const
  1155. DynamicDNSTypeNoUpdate DynamicDNSType = "NoUpdate"
  1156. // DynamicDNSTypeClientUpdates const
  1157. DynamicDNSTypeClientUpdates DynamicDNSType = "ClientUpdates"
  1158. // DynamicDNSTypeServerUpdates const
  1159. DynamicDNSTypeServerUpdates DynamicDNSType = "ServerUpdates"
  1160. )
  1161. // Dot11SSIDType type
  1162. type Dot11SSIDType []byte
  1163. // Dot11StationMode type
  1164. type Dot11StationMode string
  1165. const (
  1166. // Dot11StationModeAdhoc const
  1167. Dot11StationModeAdhoc Dot11StationMode = "Ad-hoc"
  1168. // Dot11StationModeInfrastructure const
  1169. Dot11StationModeInfrastructure Dot11StationMode = "Infrastructure"
  1170. // Dot11StationModeExtended const
  1171. Dot11StationModeExtended Dot11StationMode = "Extended"
  1172. )
  1173. // Dot11SecurityMode type
  1174. type Dot11SecurityMode string
  1175. const (
  1176. // Dot11SecurityModeNone const
  1177. Dot11SecurityModeNone Dot11SecurityMode = "None"
  1178. // Dot11SecurityModeWEP const
  1179. Dot11SecurityModeWEP Dot11SecurityMode = "WEP"
  1180. // Dot11SecurityModePSK const
  1181. Dot11SecurityModePSK Dot11SecurityMode = "PSK"
  1182. // Dot11SecurityModeDot1X const
  1183. Dot11SecurityModeDot1X Dot11SecurityMode = "Dot1X"
  1184. // Dot11SecurityModeExtended const
  1185. Dot11SecurityModeExtended Dot11SecurityMode = "Extended"
  1186. )
  1187. // Dot11Cipher type
  1188. type Dot11Cipher string
  1189. const (
  1190. // Dot11CipherCCMP const
  1191. Dot11CipherCCMP Dot11Cipher = "CCMP"
  1192. // Dot11CipherTKIP const
  1193. Dot11CipherTKIP Dot11Cipher = "TKIP"
  1194. // Dot11CipherAny const
  1195. Dot11CipherAny Dot11Cipher = "Any"
  1196. // Dot11CipherExtended const
  1197. Dot11CipherExtended Dot11Cipher = "Extended"
  1198. )
  1199. // Dot11PSK type
  1200. type Dot11PSK []byte
  1201. // Dot11PSKPassphrase type
  1202. type Dot11PSKPassphrase string
  1203. // Dot11SignalStrength type
  1204. type Dot11SignalStrength string
  1205. const (
  1206. // Dot11SignalStrengthNone const
  1207. Dot11SignalStrengthNone Dot11SignalStrength = "None"
  1208. // Dot11SignalStrengthVeryBad const
  1209. Dot11SignalStrengthVeryBad Dot11SignalStrength = "Very Bad"
  1210. // Dot11SignalStrengthBad const
  1211. Dot11SignalStrengthBad Dot11SignalStrength = "Bad"
  1212. // Dot11SignalStrengthGood const
  1213. Dot11SignalStrengthGood Dot11SignalStrength = "Good"
  1214. // Dot11SignalStrengthVeryGood const
  1215. Dot11SignalStrengthVeryGood Dot11SignalStrength = "Very Good"
  1216. // Dot11SignalStrengthExtended const
  1217. Dot11SignalStrengthExtended Dot11SignalStrength = "Extended"
  1218. )
  1219. // Dot11AuthAndMangementSuite type
  1220. type Dot11AuthAndMangementSuite string
  1221. const (
  1222. // Dot11AuthAndMangementSuiteNone const
  1223. Dot11AuthAndMangementSuiteNone Dot11AuthAndMangementSuite = "None"
  1224. // Dot11AuthAndMangementSuiteDot1X const
  1225. Dot11AuthAndMangementSuiteDot1X Dot11AuthAndMangementSuite = "Dot1X"
  1226. // Dot11AuthAndMangementSuitePSK const
  1227. Dot11AuthAndMangementSuitePSK Dot11AuthAndMangementSuite = "PSK"
  1228. // Dot11AuthAndMangementSuiteExtended const
  1229. Dot11AuthAndMangementSuiteExtended Dot11AuthAndMangementSuite = "Extended"
  1230. )
  1231. // CapabilityCategory type
  1232. type CapabilityCategory string
  1233. const (
  1234. // CapabilityCategoryAll const
  1235. CapabilityCategoryAll CapabilityCategory = "All"
  1236. // CapabilityCategoryAnalytics const
  1237. CapabilityCategoryAnalytics CapabilityCategory = "Analytics"
  1238. // CapabilityCategoryDevice const
  1239. CapabilityCategoryDevice CapabilityCategory = "Device"
  1240. // CapabilityCategoryEvents const
  1241. CapabilityCategoryEvents CapabilityCategory = "Events"
  1242. // CapabilityCategoryImaging const
  1243. CapabilityCategoryImaging CapabilityCategory = "Imaging"
  1244. // CapabilityCategoryMedia const
  1245. CapabilityCategoryMedia CapabilityCategory = "Media"
  1246. // CapabilityCategoryPTZ const
  1247. CapabilityCategoryPTZ CapabilityCategory = "PTZ"
  1248. )
  1249. // Enumeration describing the available system log modes.
  1250. // SystemLogType type
  1251. type SystemLogType string
  1252. const (
  1253. // Indicates that a system log is requested.
  1254. // SystemLogTypeSystem const
  1255. SystemLogTypeSystem SystemLogType = "System"
  1256. // Indicates that a access log is requested.
  1257. // SystemLogTypeAccess const
  1258. SystemLogTypeAccess SystemLogType = "Access"
  1259. )
  1260. // Enumeration describing the available factory default modes.
  1261. // FactoryDefaultType type
  1262. type FactoryDefaultType string
  1263. const (
  1264. // Indicates that a hard factory default is requested.
  1265. // FactoryDefaultTypeHard const
  1266. FactoryDefaultTypeHard FactoryDefaultType = "Hard"
  1267. // Indicates that a soft factory default is requested.
  1268. // FactoryDefaultTypeSoft const
  1269. FactoryDefaultTypeSoft FactoryDefaultType = "Soft"
  1270. )
  1271. // SetDateTimeType type
  1272. type SetDateTimeType string
  1273. const (
  1274. // Indicates that the date and time are set manually.
  1275. // SetDateTimeTypeManual const
  1276. SetDateTimeTypeManual SetDateTimeType = "Manual"
  1277. // Indicates that the date and time are set through NTP
  1278. // SetDateTimeTypeNTP const
  1279. SetDateTimeTypeNTP SetDateTimeType = "NTP"
  1280. )
  1281. // UserLevel type
  1282. type UserLevel string
  1283. const (
  1284. // UserLevelAdministrator const
  1285. UserLevelAdministrator UserLevel = "Administrator"
  1286. // UserLevelOperator const
  1287. UserLevelOperator UserLevel = "Operator"
  1288. // UserLevelUser const
  1289. UserLevelUser UserLevel = "User"
  1290. // UserLevelAnonymous const
  1291. UserLevelAnonymous UserLevel = "Anonymous"
  1292. // UserLevelExtended const
  1293. UserLevelExtended UserLevel = "Extended"
  1294. )
  1295. // RelayLogicalState type
  1296. type RelayLogicalState string
  1297. const (
  1298. // RelayLogicalStateActive const
  1299. RelayLogicalStateActive RelayLogicalState = "active"
  1300. // RelayLogicalStateInactive const
  1301. RelayLogicalStateInactive RelayLogicalState = "inactive"
  1302. )
  1303. // RelayIdleState type
  1304. type RelayIdleState string
  1305. const (
  1306. // RelayIdleStateClosed const
  1307. RelayIdleStateClosed RelayIdleState = "closed"
  1308. // RelayIdleStateOpen const
  1309. RelayIdleStateOpen RelayIdleState = "open"
  1310. )
  1311. // RelayMode type
  1312. type RelayMode string
  1313. const (
  1314. // RelayModeMonostable const
  1315. RelayModeMonostable RelayMode = "Monostable"
  1316. // RelayModeBistable const
  1317. RelayModeBistable RelayMode = "Bistable"
  1318. )
  1319. // DigitalIdleState type
  1320. type DigitalIdleState string
  1321. const (
  1322. // DigitalIdleStateClosed const
  1323. DigitalIdleStateClosed DigitalIdleState = "closed"
  1324. // DigitalIdleStateOpen const
  1325. DigitalIdleStateOpen DigitalIdleState = "open"
  1326. )
  1327. // EFlipMode type
  1328. type EFlipMode string
  1329. const (
  1330. // EFlipModeOFF const
  1331. EFlipModeOFF EFlipMode = "OFF"
  1332. // EFlipModeON const
  1333. EFlipModeON EFlipMode = "ON"
  1334. // EFlipModeExtended const
  1335. EFlipModeExtended EFlipMode = "Extended"
  1336. )
  1337. // ReverseMode type
  1338. type ReverseMode string
  1339. const (
  1340. // ReverseModeOFF const
  1341. ReverseModeOFF ReverseMode = "OFF"
  1342. // ReverseModeON const
  1343. ReverseModeON ReverseMode = "ON"
  1344. // ReverseModeAUTO const
  1345. ReverseModeAUTO ReverseMode = "AUTO"
  1346. // ReverseModeExtended const
  1347. ReverseModeExtended ReverseMode = "Extended"
  1348. )
  1349. // AuxiliaryData type
  1350. type AuxiliaryData string
  1351. // PTZPresetTourState type
  1352. type PTZPresetTourState string
  1353. const (
  1354. // PTZPresetTourStateIdle const
  1355. PTZPresetTourStateIdle PTZPresetTourState = "Idle"
  1356. // PTZPresetTourStateTouring const
  1357. PTZPresetTourStateTouring PTZPresetTourState = "Touring"
  1358. // PTZPresetTourStatePaused const
  1359. PTZPresetTourStatePaused PTZPresetTourState = "Paused"
  1360. // PTZPresetTourStateExtended const
  1361. PTZPresetTourStateExtended PTZPresetTourState = "Extended"
  1362. )
  1363. // PTZPresetTourDirection type
  1364. type PTZPresetTourDirection string
  1365. const (
  1366. // PTZPresetTourDirectionForward const
  1367. PTZPresetTourDirectionForward PTZPresetTourDirection = "Forward"
  1368. // PTZPresetTourDirectionBackward const
  1369. PTZPresetTourDirectionBackward PTZPresetTourDirection = "Backward"
  1370. // PTZPresetTourDirectionExtended const
  1371. PTZPresetTourDirectionExtended PTZPresetTourDirection = "Extended"
  1372. )
  1373. // PTZPresetTourOperation type
  1374. type PTZPresetTourOperation string
  1375. const (
  1376. // PTZPresetTourOperationStart const
  1377. PTZPresetTourOperationStart PTZPresetTourOperation = "Start"
  1378. // PTZPresetTourOperationStop const
  1379. PTZPresetTourOperationStop PTZPresetTourOperation = "Stop"
  1380. // PTZPresetTourOperationPause const
  1381. PTZPresetTourOperationPause PTZPresetTourOperation = "Pause"
  1382. // PTZPresetTourOperationExtended const
  1383. PTZPresetTourOperationExtended PTZPresetTourOperation = "Extended"
  1384. )
  1385. // AutoFocusMode type
  1386. type AutoFocusMode string
  1387. const (
  1388. // AutoFocusModeAUTO const
  1389. AutoFocusModeAUTO AutoFocusMode = "AUTO"
  1390. // AutoFocusModeMANUAL const
  1391. AutoFocusModeMANUAL AutoFocusMode = "MANUAL"
  1392. )
  1393. // AFModes type
  1394. type AFModes string
  1395. const (
  1396. // Focus of a moving camera is updated only once after stopping a pan, tilt or zoom movement.
  1397. // AFModesOnceAfterMove const
  1398. AFModesOnceAfterMove AFModes = "OnceAfterMove"
  1399. )
  1400. // WideDynamicMode type
  1401. type WideDynamicMode string
  1402. const (
  1403. // WideDynamicModeOFF const
  1404. WideDynamicModeOFF WideDynamicMode = "OFF"
  1405. // WideDynamicModeON const
  1406. WideDynamicModeON WideDynamicMode = "ON"
  1407. )
  1408. // Enumeration describing the available backlight compenstation modes.
  1409. // BacklightCompensationMode type
  1410. type BacklightCompensationMode string
  1411. const (
  1412. // Backlight compensation is disabled.
  1413. // BacklightCompensationModeOFF const
  1414. BacklightCompensationModeOFF BacklightCompensationMode = "OFF"
  1415. // Backlight compensation is enabled.
  1416. // BacklightCompensationModeON const
  1417. BacklightCompensationModeON BacklightCompensationMode = "ON"
  1418. )
  1419. // ExposurePriority type
  1420. type ExposurePriority string
  1421. const (
  1422. // ExposurePriorityLowNoise const
  1423. ExposurePriorityLowNoise ExposurePriority = "LowNoise"
  1424. // ExposurePriorityFrameRate const
  1425. ExposurePriorityFrameRate ExposurePriority = "FrameRate"
  1426. )
  1427. // ExposureMode type
  1428. type ExposureMode string
  1429. const (
  1430. // ExposureModeAUTO const
  1431. ExposureModeAUTO ExposureMode = "AUTO"
  1432. // ExposureModeMANUAL const
  1433. ExposureModeMANUAL ExposureMode = "MANUAL"
  1434. )
  1435. // Enabled type
  1436. type Enabled string
  1437. const (
  1438. // EnabledENABLED const
  1439. EnabledENABLED Enabled = "ENABLED"
  1440. // EnabledDISABLED const
  1441. EnabledDISABLED Enabled = "DISABLED"
  1442. )
  1443. // WhiteBalanceMode type
  1444. type WhiteBalanceMode string
  1445. const (
  1446. // WhiteBalanceModeAUTO const
  1447. WhiteBalanceModeAUTO WhiteBalanceMode = "AUTO"
  1448. // WhiteBalanceModeMANUAL const
  1449. WhiteBalanceModeMANUAL WhiteBalanceMode = "MANUAL"
  1450. )
  1451. // IrCutFilterMode type
  1452. type IrCutFilterMode string
  1453. const (
  1454. // IrCutFilterModeON const
  1455. IrCutFilterModeON IrCutFilterMode = "ON"
  1456. // IrCutFilterModeOFF const
  1457. IrCutFilterModeOFF IrCutFilterMode = "OFF"
  1458. // IrCutFilterModeAUTO const
  1459. IrCutFilterModeAUTO IrCutFilterMode = "AUTO"
  1460. )
  1461. // ImageStabilizationMode type
  1462. type ImageStabilizationMode string
  1463. const (
  1464. // ImageStabilizationModeOFF const
  1465. ImageStabilizationModeOFF ImageStabilizationMode = "OFF"
  1466. // ImageStabilizationModeON const
  1467. ImageStabilizationModeON ImageStabilizationMode = "ON"
  1468. // ImageStabilizationModeAUTO const
  1469. ImageStabilizationModeAUTO ImageStabilizationMode = "AUTO"
  1470. // ImageStabilizationModeExtended const
  1471. ImageStabilizationModeExtended ImageStabilizationMode = "Extended"
  1472. )
  1473. // IrCutFilterAutoBoundaryType type
  1474. type IrCutFilterAutoBoundaryType string
  1475. const (
  1476. // IrCutFilterAutoBoundaryTypeCommon const
  1477. IrCutFilterAutoBoundaryTypeCommon IrCutFilterAutoBoundaryType = "Common"
  1478. // IrCutFilterAutoBoundaryTypeToOn const
  1479. IrCutFilterAutoBoundaryTypeToOn IrCutFilterAutoBoundaryType = "ToOn"
  1480. // IrCutFilterAutoBoundaryTypeToOff const
  1481. IrCutFilterAutoBoundaryTypeToOff IrCutFilterAutoBoundaryType = "ToOff"
  1482. // IrCutFilterAutoBoundaryTypeExtended const
  1483. IrCutFilterAutoBoundaryTypeExtended IrCutFilterAutoBoundaryType = "Extended"
  1484. )
  1485. // ToneCompensationMode type
  1486. type ToneCompensationMode string
  1487. const (
  1488. // ToneCompensationModeOFF const
  1489. ToneCompensationModeOFF ToneCompensationMode = "OFF"
  1490. // ToneCompensationModeON const
  1491. ToneCompensationModeON ToneCompensationMode = "ON"
  1492. // ToneCompensationModeAUTO const
  1493. ToneCompensationModeAUTO ToneCompensationMode = "AUTO"
  1494. )
  1495. // DefoggingMode type
  1496. type DefoggingMode string
  1497. const (
  1498. // DefoggingModeOFF const
  1499. DefoggingModeOFF DefoggingMode = "OFF"
  1500. // DefoggingModeON const
  1501. DefoggingModeON DefoggingMode = "ON"
  1502. // DefoggingModeAUTO const
  1503. DefoggingModeAUTO DefoggingMode = "AUTO"
  1504. )
  1505. // TopicNamespaceLocation type
  1506. type TopicNamespaceLocation AnyURI
  1507. // PropertyOperation type
  1508. type PropertyOperation string
  1509. const (
  1510. // PropertyOperationInitialized const
  1511. PropertyOperationInitialized PropertyOperation = "Initialized"
  1512. // PropertyOperationDeleted const
  1513. PropertyOperationDeleted PropertyOperation = "Deleted"
  1514. // PropertyOperationChanged const
  1515. PropertyOperationChanged PropertyOperation = "Changed"
  1516. )
  1517. // Direction type
  1518. type Direction string
  1519. const (
  1520. // DirectionLeft const
  1521. DirectionLeft Direction = "Left"
  1522. // DirectionRight const
  1523. DirectionRight Direction = "Right"
  1524. // DirectionAny const
  1525. DirectionAny Direction = "Any"
  1526. )
  1527. //
  1528. // Specifies a receiver connection mode.
  1529. //
  1530. // ReceiverMode type
  1531. type ReceiverMode string
  1532. const (
  1533. // The receiver connects on demand, as required by consumers of the media streams.
  1534. // ReceiverModeAutoConnect const
  1535. ReceiverModeAutoConnect ReceiverMode = "AutoConnect"
  1536. // The receiver attempts to maintain a persistent connection to the configured endpoint.
  1537. // ReceiverModeAlwaysConnect const
  1538. ReceiverModeAlwaysConnect ReceiverMode = "AlwaysConnect"
  1539. // The receiver does not attempt to connect.
  1540. // ReceiverModeNeverConnect const
  1541. ReceiverModeNeverConnect ReceiverMode = "NeverConnect"
  1542. // This case should never happen.
  1543. // ReceiverModeUnknown const
  1544. ReceiverModeUnknown ReceiverMode = "Unknown"
  1545. )
  1546. //
  1547. // Specifies the current connection state of the receiver.
  1548. //
  1549. // ReceiverState type
  1550. type ReceiverState string
  1551. const (
  1552. // The receiver is not connected.
  1553. // ReceiverStateNotConnected const
  1554. ReceiverStateNotConnected ReceiverState = "NotConnected"
  1555. // The receiver is attempting to connect.
  1556. // ReceiverStateConnecting const
  1557. ReceiverStateConnecting ReceiverState = "Connecting"
  1558. // The receiver is connected.
  1559. // ReceiverStateConnected const
  1560. ReceiverStateConnected ReceiverState = "Connected"
  1561. // This case should never happen.
  1562. // ReceiverStateUnknown const
  1563. ReceiverStateUnknown ReceiverState = "Unknown"
  1564. )
  1565. // ReceiverReference type
  1566. type ReceiverReference ReferenceToken
  1567. // RecordingReference type
  1568. type RecordingReference ReferenceToken
  1569. // TrackReference type
  1570. type TrackReference ReferenceToken
  1571. // Description type
  1572. type Description string
  1573. // XPathExpression type
  1574. type XPathExpression string
  1575. // SearchState type
  1576. type SearchState string
  1577. const (
  1578. // The search is queued and not yet started.
  1579. // SearchStateQueued const
  1580. SearchStateQueued SearchState = "Queued"
  1581. // The search is underway and not yet completed.
  1582. // SearchStateSearching const
  1583. SearchStateSearching SearchState = "Searching"
  1584. // The search has been completed and no new results will be found.
  1585. // SearchStateCompleted const
  1586. SearchStateCompleted SearchState = "Completed"
  1587. // The state of the search is unknown. (This is not a valid response from GetSearchState.)
  1588. // SearchStateUnknown const
  1589. SearchStateUnknown SearchState = "Unknown"
  1590. )
  1591. // JobToken type
  1592. type JobToken ReferenceToken
  1593. // RecordingStatus type
  1594. type RecordingStatus string
  1595. const (
  1596. // RecordingStatusInitiated const
  1597. RecordingStatusInitiated RecordingStatus = "Initiated"
  1598. // RecordingStatusRecording const
  1599. RecordingStatusRecording RecordingStatus = "Recording"
  1600. // RecordingStatusStopped const
  1601. RecordingStatusStopped RecordingStatus = "Stopped"
  1602. // RecordingStatusRemoving const
  1603. RecordingStatusRemoving RecordingStatus = "Removing"
  1604. // RecordingStatusRemoved const
  1605. RecordingStatusRemoved RecordingStatus = "Removed"
  1606. // This case should never happen.
  1607. // RecordingStatusUnknown const
  1608. RecordingStatusUnknown RecordingStatus = "Unknown"
  1609. )
  1610. // TrackType type
  1611. type TrackType string
  1612. const (
  1613. // TrackTypeVideo const
  1614. TrackTypeVideo TrackType = "Video"
  1615. // TrackTypeAudio const
  1616. TrackTypeAudio TrackType = "Audio"
  1617. // TrackTypeMetadata const
  1618. TrackTypeMetadata TrackType = "Metadata"
  1619. // Placeholder for future extension.
  1620. // TrackTypeExtended const
  1621. TrackTypeExtended TrackType = "Extended"
  1622. )
  1623. // RecordingJobReference type
  1624. type RecordingJobReference ReferenceToken
  1625. // RecordingJobMode type
  1626. type RecordingJobMode string
  1627. // RecordingJobState type
  1628. type RecordingJobState string
  1629. // ModeOfOperation type
  1630. type ModeOfOperation string
  1631. const (
  1632. // ModeOfOperationIdle const
  1633. ModeOfOperationIdle ModeOfOperation = "Idle"
  1634. // ModeOfOperationActive const
  1635. ModeOfOperationActive ModeOfOperation = "Active"
  1636. // This case should never happen.
  1637. // ModeOfOperationUnknown const
  1638. ModeOfOperationUnknown ModeOfOperation = "Unknown"
  1639. )
  1640. //
  1641. // AudioClassType acceptable values are;
  1642. // gun_shot, scream, glass_breaking, tire_screech
  1643. //
  1644. // AudioClassType type
  1645. type AudioClassType string
  1646. // OSDType type
  1647. type OSDType string
  1648. const (
  1649. // OSDTypeText const
  1650. OSDTypeText OSDType = "Text"
  1651. // OSDTypeImage const
  1652. OSDTypeImage OSDType = "Image"
  1653. // OSDTypeExtended const
  1654. OSDTypeExtended OSDType = "Extended"
  1655. )
  1656. // Message type
  1657. type Message struct {
  1658. XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Message"`
  1659. // Token value pairs that triggered this message. Typically only one item is present.
  1660. Source ItemList `xml:"http://www.onvif.org/ver10/schema Source,omitempty"`
  1661. Key ItemList `xml:"http://www.onvif.org/ver10/schema Key,omitempty"`
  1662. Data ItemList `xml:"http://www.onvif.org/ver10/schema Data,omitempty"`
  1663. Extension MessageExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1664. UtcTime string `xml:"http://www.onvif.org/ver10/schema UtcTime,attr,omitempty"`
  1665. PropertyOperation PropertyOperation `xml:"http://www.onvif.org/ver10/schema PropertyOperation,attr,omitempty"`
  1666. }
  1667. // DeviceEntity type
  1668. type DeviceEntity struct {
  1669. // Unique identifier referencing the physical entity.
  1670. Token ReferenceToken `xml:"token,attr,omitempty"`
  1671. }
  1672. // IntRectangle type
  1673. type IntRectangle struct {
  1674. X int32 `xml:"x,attr,omitempty"`
  1675. Y int32 `xml:"y,attr,omitempty"`
  1676. Width int32 `xml:"width,attr,omitempty"`
  1677. Height int32 `xml:"height,attr,omitempty"`
  1678. }
  1679. // IntRectangleRange type
  1680. type IntRectangleRange struct {
  1681. // Range of X-axis.
  1682. XRange IntRange `xml:"http://www.onvif.org/ver10/schema XRange,omitempty"`
  1683. // Range of Y-axis.
  1684. YRange IntRange `xml:"http://www.onvif.org/ver10/schema YRange,omitempty"`
  1685. // Range of width.
  1686. WidthRange IntRange `xml:"http://www.onvif.org/ver10/schema WidthRange,omitempty"`
  1687. // Range of height.
  1688. HeightRange IntRange `xml:"http://www.onvif.org/ver10/schema HeightRange,omitempty"`
  1689. }
  1690. // FloatRange type
  1691. type FloatRange struct {
  1692. Min float32 `xml:"http://www.onvif.org/ver10/schema Min,omitempty"`
  1693. Max float32 `xml:"http://www.onvif.org/ver10/schema Max,omitempty"`
  1694. }
  1695. // DurationRange type
  1696. type DurationRange struct {
  1697. Min Duration `xml:"http://www.onvif.org/ver10/schema Min,omitempty"`
  1698. Max Duration `xml:"http://www.onvif.org/ver10/schema Max,omitempty"`
  1699. }
  1700. // IntList type
  1701. type IntList struct {
  1702. Items []int32 `xml:"http://www.onvif.org/ver10/schema Items,omitempty"`
  1703. }
  1704. // VideoSource type
  1705. type VideoSource struct {
  1706. *DeviceEntity
  1707. // Frame rate in frames per second.
  1708. Framerate float32 `xml:"http://www.onvif.org/ver10/schema Framerate,omitempty"`
  1709. // Horizontal and vertical resolution
  1710. Resolution VideoResolution `xml:"http://www.onvif.org/ver10/schema Resolution,omitempty"`
  1711. // Optional configuration of the image sensor.
  1712. Imaging ImagingSettings `xml:"http://www.onvif.org/ver10/schema Imaging,omitempty"`
  1713. Extension VideoSourceExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1714. }
  1715. // VideoSourceExtension type
  1716. type VideoSourceExtension struct {
  1717. // Optional configuration of the image sensor. To be used if imaging service 2.00 is supported.
  1718. Imaging ImagingSettings20 `xml:"http://www.onvif.org/ver10/schema Imaging,omitempty"`
  1719. Extension VideoSourceExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1720. }
  1721. // VideoSourceExtension2 type
  1722. type VideoSourceExtension2 struct {
  1723. }
  1724. // AudioSource type
  1725. type AudioSource struct {
  1726. *DeviceEntity
  1727. // number of available audio channels. (1: mono, 2: stereo)
  1728. Channels int32 `xml:"http://www.onvif.org/ver10/schema Channels,omitempty"`
  1729. }
  1730. // Profile type
  1731. type Profile struct {
  1732. // User readable name of the profile.
  1733. Name Name `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,omitempty"`
  1734. // Optional configuration of the Video input.
  1735. VideoSourceConfiguration VideoSourceConfiguration `xml:"http://www.onvif.org/ver10/schema VideoSourceConfiguration,omitempty"`
  1736. // Optional configuration of the Audio input.
  1737. AudioSourceConfiguration AudioSourceConfiguration `xml:"http://www.onvif.org/ver10/schema AudioSourceConfiguration,omitempty"`
  1738. // Optional configuration of the Video encoder.
  1739. VideoEncoderConfiguration VideoEncoderConfiguration `xml:"http://www.onvif.org/ver10/schema VideoEncoderConfiguration,omitempty"`
  1740. // Optional configuration of the Audio encoder.
  1741. AudioEncoderConfiguration AudioEncoderConfiguration `xml:"http://www.onvif.org/ver10/schema AudioEncoderConfiguration,omitempty"`
  1742. // Optional configuration of the video analytics module and rule engine.
  1743. VideoAnalyticsConfiguration VideoAnalyticsConfiguration `xml:"http://www.onvif.org/ver10/schema VideoAnalyticsConfiguration,omitempty"`
  1744. // Optional configuration of the pan tilt zoom unit.
  1745. PTZConfiguration PTZConfiguration `xml:"http://www.onvif.org/ver10/schema PTZConfiguration,omitempty"`
  1746. // Optional configuration of the metadata stream.
  1747. MetadataConfiguration MetadataConfiguration `xml:"http://www.onvif.org/ver10/schema MetadataConfiguration,omitempty"`
  1748. // Extensions defined in ONVIF 2.0
  1749. Extension ProfileExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1750. // Unique identifier of the profile.
  1751. Token ReferenceToken `xml:"token,attr,omitempty"`
  1752. // A value of true signals that the profile cannot be deleted. Default is false.
  1753. Fixed bool `xml:"fixed,attr,omitempty"`
  1754. }
  1755. // ProfileExtension type
  1756. type ProfileExtension struct {
  1757. // Optional configuration of the Audio output.
  1758. AudioOutputConfiguration AudioOutputConfiguration `xml:"http://www.onvif.org/ver10/schema AudioOutputConfiguration,omitempty"`
  1759. // Optional configuration of the Audio decoder.
  1760. AudioDecoderConfiguration AudioDecoderConfiguration `xml:"http://www.onvif.org/ver10/schema AudioDecoderConfiguration,omitempty"`
  1761. Extension ProfileExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1762. }
  1763. // ProfileExtension2 type
  1764. type ProfileExtension2 struct {
  1765. }
  1766. // ConfigurationEntity type
  1767. type ConfigurationEntity struct {
  1768. // User readable name. Length up to 64 characters.
  1769. Name Name `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,omitempty"`
  1770. // Number of internal references currently using this configuration.
  1771. UseCount int32 `xml:"http://www.onvif.org/ver10/schema UseCount,omitempty"`
  1772. // Token that uniquely references this configuration. Length up to 64 characters.
  1773. Token ReferenceToken `xml:"token,attr,omitempty"`
  1774. }
  1775. // VideoSourceConfiguration type
  1776. type VideoSourceConfiguration struct {
  1777. *ConfigurationEntity
  1778. // Reference to the physical input.
  1779. SourceToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl SourceToken,omitempty"`
  1780. // Rectangle specifying the Video capturing area. The capturing area shall not be larger than the whole Video source area.
  1781. Bounds IntRectangle `xml:"http://www.onvif.org/ver10/schema Bounds,omitempty"`
  1782. Extension VideoSourceConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1783. // Readonly parameter signalling Source configuration's view mode, for devices supporting different view modes as defined in tt:viewModes.
  1784. ViewMode string `xml:"http://www.onvif.org/ver10/thermal/wsdl ViewMode,attr,omitempty"`
  1785. }
  1786. // VideoSourceConfigurationExtension type
  1787. type VideoSourceConfigurationExtension struct {
  1788. // Optional element to configure rotation of captured image.
  1789. // What resolutions a device supports shall be unaffected by the Rotate parameters.
  1790. // If a device is configured with Rotate=AUTO, the device shall take control over the Degree parameter and automatically update it so that a client can query current rotation.
  1791. // The device shall automatically apply the same rotation to its pan/tilt control direction depending on the following condition:
  1792. // if Reverse=AUTO in PTControlDirection or if the device doesn’t support Reverse in PTControlDirection
  1793. //
  1794. Rotate Rotate `xml:"http://www.onvif.org/ver10/schema Rotate,omitempty"`
  1795. Extension VideoSourceConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1796. }
  1797. // VideoSourceConfigurationExtension2 type
  1798. type VideoSourceConfigurationExtension2 struct {
  1799. // Optional element describing the geometric lens distortion. Multiple instances for future variable lens support.
  1800. LensDescription []LensDescription `xml:"http://www.onvif.org/ver10/schema LensDescription,omitempty"`
  1801. // Optional element describing the scene orientation in the camera’s field of view.
  1802. SceneOrientation SceneOrientation `xml:"http://www.onvif.org/ver10/schema SceneOrientation,omitempty"`
  1803. }
  1804. // Rotate type
  1805. type Rotate struct {
  1806. // Parameter to enable/disable Rotation feature.
  1807. Mode RotateMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  1808. // Optional parameter to configure how much degree of clockwise rotation of image for On mode. Omitting this parameter for On mode means 180 degree rotation.
  1809. Degree int32 `xml:"http://www.onvif.org/ver10/schema Degree,omitempty"`
  1810. Extension RotateExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1811. }
  1812. // RotateExtension type
  1813. type RotateExtension struct {
  1814. }
  1815. // LensProjection type
  1816. type LensProjection struct {
  1817. // Angle of incidence.
  1818. Angle float32 `xml:"http://www.onvif.org/ver10/schema Angle,omitempty"`
  1819. // Mapping radius as a consequence of the emergent angle.
  1820. Radius float32 `xml:"http://www.onvif.org/ver10/schema Radius,omitempty"`
  1821. // Optional ray absorption at the given angle due to vignetting. A value of one means no absorption.
  1822. Transmittance float32 `xml:"http://www.onvif.org/ver10/schema Transmittance,omitempty"`
  1823. }
  1824. // LensOffset type
  1825. type LensOffset struct {
  1826. // Optional horizontal offset of the lens center in normalized coordinates.
  1827. X float32 `xml:"x,attr,omitempty"`
  1828. // Optional vertical offset of the lens center in normalized coordinates.
  1829. Y float32 `xml:"y,attr,omitempty"`
  1830. }
  1831. // LensDescription type
  1832. type LensDescription struct {
  1833. // Offset of the lens center to the imager center in normalized coordinates.
  1834. Offset LensOffset `xml:"http://www.onvif.org/ver10/schema Offset,omitempty"`
  1835. // Radial description of the projection characteristics. The resulting curve is defined by the B-Spline interpolation
  1836. // over the given elements. The element for Radius zero shall not be provided. The projection points shall be ordered with ascending Radius.
  1837. // Items outside the last projection Radius shall be assumed to be invisible (black).
  1838. Projection []LensProjection `xml:"http://www.onvif.org/ver10/schema Projection,omitempty"`
  1839. // Compensation of the x coordinate needed for the ONVIF normalized coordinate system.
  1840. XFactor float32 `xml:"http://www.onvif.org/ver10/schema XFactor,omitempty"`
  1841. // Optional focal length of the optical system.
  1842. FocalLength float32 `xml:"http://www.onvif.org/ver10/schema FocalLength,attr,omitempty"`
  1843. }
  1844. // VideoSourceConfigurationOptions type
  1845. type VideoSourceConfigurationOptions struct {
  1846. //
  1847. // Supported range for the capturing area.
  1848. // Device that does not support cropped streaming shall express BoundsRange option as mentioned below
  1849. // BoundsRange->XRange and BoundsRange->YRange with same Min/Max values HeightRange and WidthRange Min/Max values same as VideoSource Height and Width Limits.
  1850. //
  1851. BoundsRange IntRectangleRange `xml:"http://www.onvif.org/ver10/schema BoundsRange,omitempty"`
  1852. // List of physical inputs.
  1853. VideoSourceTokensAvailable []ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl VideoSourceTokensAvailable,omitempty"`
  1854. Extension VideoSourceConfigurationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1855. // Maximum number of profiles.
  1856. MaximumNumberOfProfiles int32 `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfProfiles,attr,omitempty"`
  1857. }
  1858. // VideoSourceConfigurationOptionsExtension type
  1859. type VideoSourceConfigurationOptionsExtension struct {
  1860. // Options of parameters for Rotation feature.
  1861. Rotate RotateOptions `xml:"http://www.onvif.org/ver10/schema Rotate,omitempty"`
  1862. Extension VideoSourceConfigurationOptionsExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1863. }
  1864. // VideoSourceConfigurationOptionsExtension2 type
  1865. type VideoSourceConfigurationOptionsExtension2 struct {
  1866. // Scene orientation modes supported by the device for this configuration.
  1867. SceneOrientationMode []SceneOrientationMode `xml:"http://www.onvif.org/ver10/schema SceneOrientationMode,omitempty"`
  1868. }
  1869. // RotateOptions type
  1870. type RotateOptions struct {
  1871. // Supported options of Rotate mode parameter.
  1872. Mode []RotateMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  1873. // List of supported degree value for rotation.
  1874. DegreeList IntList `xml:"http://www.onvif.org/ver10/schema DegreeList,omitempty"`
  1875. Extension RotateOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1876. // After setting the rotation, if a device starts to reboot this value is true.
  1877. // If a device can handle rotation setting without rebooting this value is false.
  1878. Reboot bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Reboot,attr,omitempty"`
  1879. }
  1880. // RotateOptionsExtension type
  1881. type RotateOptionsExtension struct {
  1882. }
  1883. // SceneOrientation type
  1884. type SceneOrientation struct {
  1885. //
  1886. // Parameter to assign the way the camera determines the scene orientation.
  1887. //
  1888. Mode SceneOrientationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  1889. //
  1890. // Assigned or determined scene orientation based on the Mode. When assigning the Mode to AUTO, this field
  1891. // is optional and will be ignored by the device. When assigning the Mode to MANUAL, this field is required
  1892. // and the device will return an InvalidArgs fault if missing.
  1893. //
  1894. Orientation string `xml:"http://www.onvif.org/ver10/thermal/wsdl Orientation,omitempty"`
  1895. }
  1896. // VideoEncoderConfiguration type
  1897. type VideoEncoderConfiguration struct {
  1898. *ConfigurationEntity
  1899. // Used video codec, either Jpeg, H.264 or Mpeg4
  1900. Encoding VideoEncoding `xml:"http://www.onvif.org/ver10/schema Encoding,omitempty"`
  1901. // Configured video resolution
  1902. Resolution VideoResolution `xml:"http://www.onvif.org/ver10/schema Resolution,omitempty"`
  1903. // Relative value for the video quantizers and the quality of the video. A high value within supported quality range means higher quality
  1904. Quality float32 `xml:"http://www.onvif.org/ver10/schema Quality,omitempty"`
  1905. // Optional element to configure rate control related parameters.
  1906. RateControl VideoRateControl `xml:"http://www.onvif.org/ver10/schema RateControl,omitempty"`
  1907. // Optional element to configure Mpeg4 related parameters.
  1908. MPEG4 Mpeg4Configuration `xml:"http://www.onvif.org/ver10/schema MPEG4,omitempty"`
  1909. // Optional element to configure H.264 related parameters.
  1910. H264 H264Configuration `xml:"http://www.onvif.org/ver10/schema H264,omitempty"`
  1911. // Defines the multicast settings that could be used for video streaming.
  1912. Multicast MulticastConfiguration `xml:"http://www.onvif.org/ver10/schema Multicast,omitempty"`
  1913. // The rtsp session timeout for the related video stream
  1914. SessionTimeout Duration `xml:"http://www.onvif.org/ver10/schema SessionTimeout,omitempty"`
  1915. //
  1916. // A value of true indicates that frame rate is a fixed value rather than an upper limit,
  1917. // and that the video encoder shall prioritize frame rate over all other adaptable
  1918. // configuration values such as bitrate. Default is false.
  1919. //
  1920. GuaranteedFrameRate bool `xml:"http://www.onvif.org/ver10/thermal/wsdl GuaranteedFrameRate,attr,omitempty"`
  1921. }
  1922. // VideoResolution type
  1923. type VideoResolution struct {
  1924. // Number of the columns of the Video image.
  1925. Width int32 `xml:"http://www.onvif.org/ver10/schema Width,omitempty"`
  1926. // Number of the lines of the Video image.
  1927. Height int32 `xml:"http://www.onvif.org/ver10/schema Height,omitempty"`
  1928. }
  1929. // VideoRateControl type
  1930. type VideoRateControl struct {
  1931. // Maximum output framerate in fps. If an EncodingInterval is provided the resulting encoded framerate will be reduced by the given factor.
  1932. FrameRateLimit int32 `xml:"http://www.onvif.org/ver10/schema FrameRateLimit,omitempty"`
  1933. // Interval at which images are encoded and transmitted. (A value of 1 means that every frame is encoded, a value of 2 means that every 2nd frame is encoded ...)
  1934. EncodingInterval int32 `xml:"http://www.onvif.org/ver10/schema EncodingInterval,omitempty"`
  1935. // the maximum output bitrate in kbps
  1936. BitrateLimit int32 `xml:"http://www.onvif.org/ver10/schema BitrateLimit,omitempty"`
  1937. }
  1938. // Mpeg4Configuration type
  1939. type Mpeg4Configuration struct {
  1940. // Determines the interval in which the I-Frames will be coded. An entry of 1 indicates I-Frames are continuously generated. An entry of 2 indicates that every 2nd image is an I-Frame, and 3 only every 3rd frame, etc. The frames in between are coded as P or B Frames.
  1941. GovLength int32 `xml:"http://www.onvif.org/ver10/schema GovLength,omitempty"`
  1942. // the Mpeg4 profile, either simple profile (SP) or advanced simple profile (ASP)
  1943. Mpeg4Profile Mpeg4Profile `xml:"http://www.onvif.org/ver10/schema Mpeg4Profile,omitempty"`
  1944. }
  1945. // H264Configuration type
  1946. type H264Configuration struct {
  1947. // Group of Video frames length. Determines typically the interval in which the I-Frames will be coded. An entry of 1 indicates I-Frames are continuously generated. An entry of 2 indicates that every 2nd image is an I-Frame, and 3 only every 3rd frame, etc. The frames in between are coded as P or B Frames.
  1948. GovLength int32 `xml:"http://www.onvif.org/ver10/schema GovLength,omitempty"`
  1949. // the H.264 profile, either baseline, main, extended or high
  1950. H264Profile H264Profile `xml:"http://www.onvif.org/ver10/schema H264Profile,omitempty"`
  1951. }
  1952. // VideoEncoderOptionsExtension type
  1953. type VideoEncoderOptionsExtension struct {
  1954. // Optional JPEG encoder settings ranges.
  1955. JPEG JpegOptions2 `xml:"http://www.onvif.org/ver10/schema JPEG,omitempty"`
  1956. // Optional MPEG-4 encoder settings ranges.
  1957. MPEG4 Mpeg4Options2 `xml:"http://www.onvif.org/ver10/schema MPEG4,omitempty"`
  1958. // Optional H.264 encoder settings ranges.
  1959. H264 H264Options2 `xml:"http://www.onvif.org/ver10/schema H264,omitempty"`
  1960. Extension VideoEncoderOptionsExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  1961. }
  1962. // VideoEncoderOptionsExtension2 type
  1963. type VideoEncoderOptionsExtension2 struct {
  1964. }
  1965. // JpegOptions type
  1966. type JpegOptions struct {
  1967. // List of supported image sizes.
  1968. ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"`
  1969. // Supported frame rate in fps (frames per second).
  1970. FrameRateRange IntRange `xml:"http://www.onvif.org/ver10/schema FrameRateRange,omitempty"`
  1971. // Supported encoding interval range. The encoding interval corresponds to the number of frames devided by the encoded frames. An encoding interval value of "1" means that all frames are encoded.
  1972. EncodingIntervalRange IntRange `xml:"http://www.onvif.org/ver10/schema EncodingIntervalRange,omitempty"`
  1973. }
  1974. // JpegOptions2 type
  1975. type JpegOptions2 struct {
  1976. *JpegOptions
  1977. // Supported range of encoded bitrate in kbps.
  1978. BitrateRange IntRange `xml:"http://www.onvif.org/ver10/schema BitrateRange,omitempty"`
  1979. }
  1980. // Mpeg4Options type
  1981. type Mpeg4Options struct {
  1982. // List of supported image sizes.
  1983. ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"`
  1984. // Supported group of Video frames length. This value typically corresponds to the I-Frame distance.
  1985. GovLengthRange IntRange `xml:"http://www.onvif.org/ver10/schema GovLengthRange,omitempty"`
  1986. // Supported frame rate in fps (frames per second).
  1987. FrameRateRange IntRange `xml:"http://www.onvif.org/ver10/schema FrameRateRange,omitempty"`
  1988. // Supported encoding interval range. The encoding interval corresponds to the number of frames devided by the encoded frames. An encoding interval value of "1" means that all frames are encoded.
  1989. EncodingIntervalRange IntRange `xml:"http://www.onvif.org/ver10/schema EncodingIntervalRange,omitempty"`
  1990. // List of supported MPEG-4 profiles.
  1991. Mpeg4ProfilesSupported []Mpeg4Profile `xml:"http://www.onvif.org/ver10/schema Mpeg4ProfilesSupported,omitempty"`
  1992. }
  1993. // Mpeg4Options2 type
  1994. type Mpeg4Options2 struct {
  1995. *Mpeg4Options
  1996. // Supported range of encoded bitrate in kbps.
  1997. BitrateRange IntRange `xml:"http://www.onvif.org/ver10/schema BitrateRange,omitempty"`
  1998. }
  1999. // H264Options type
  2000. type H264Options struct {
  2001. // List of supported image sizes.
  2002. ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"`
  2003. // Supported group of Video frames length. This value typically corresponds to the I-Frame distance.
  2004. GovLengthRange IntRange `xml:"http://www.onvif.org/ver10/schema GovLengthRange,omitempty"`
  2005. // Supported frame rate in fps (frames per second).
  2006. FrameRateRange IntRange `xml:"http://www.onvif.org/ver10/schema FrameRateRange,omitempty"`
  2007. // Supported encoding interval range. The encoding interval corresponds to the number of frames devided by the encoded frames. An encoding interval value of "1" means that all frames are encoded.
  2008. EncodingIntervalRange IntRange `xml:"http://www.onvif.org/ver10/schema EncodingIntervalRange,omitempty"`
  2009. // List of supported H.264 profiles.
  2010. H264ProfilesSupported []H264Profile `xml:"http://www.onvif.org/ver10/schema H264ProfilesSupported,omitempty"`
  2011. }
  2012. // H264Options2 type
  2013. type H264Options2 struct {
  2014. *H264Options
  2015. // Supported range of encoded bitrate in kbps.
  2016. BitrateRange IntRange `xml:"http://www.onvif.org/ver10/schema BitrateRange,omitempty"`
  2017. }
  2018. // AudioSourceConfiguration type
  2019. type AudioSourceConfiguration struct {
  2020. *ConfigurationEntity
  2021. // Token of the Audio Source the configuration applies to
  2022. SourceToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl SourceToken,omitempty"`
  2023. }
  2024. // AudioEncoderConfiguration type
  2025. type AudioEncoderConfiguration struct {
  2026. *ConfigurationEntity
  2027. // Audio codec used for encoding the audio input (either G.711, G.726 or AAC)
  2028. Encoding AudioEncoding `xml:"http://www.onvif.org/ver10/schema Encoding,omitempty"`
  2029. // The output bitrate in kbps.
  2030. Bitrate int32 `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"`
  2031. // The output sample rate in kHz.
  2032. SampleRate int32 `xml:"http://www.onvif.org/ver10/schema SampleRate,omitempty"`
  2033. // Defines the multicast settings that could be used for video streaming.
  2034. Multicast MulticastConfiguration `xml:"http://www.onvif.org/ver10/schema Multicast,omitempty"`
  2035. // The rtsp session timeout for the related audio stream
  2036. SessionTimeout Duration `xml:"http://www.onvif.org/ver10/schema SessionTimeout,omitempty"`
  2037. }
  2038. // VideoAnalyticsConfiguration type
  2039. type VideoAnalyticsConfiguration struct {
  2040. *ConfigurationEntity
  2041. AnalyticsEngineConfiguration AnalyticsEngineConfiguration `xml:"http://www.onvif.org/ver10/schema AnalyticsEngineConfiguration,omitempty"`
  2042. RuleEngineConfiguration RuleEngineConfiguration `xml:"http://www.onvif.org/ver10/schema RuleEngineConfiguration,omitempty"`
  2043. }
  2044. // MetadataConfiguration type
  2045. type MetadataConfiguration struct {
  2046. *ConfigurationEntity
  2047. // optional element to configure which PTZ related data is to include in the metadata stream
  2048. PTZStatus PTZFilter `xml:"http://www.onvif.org/ver10/schema PTZStatus,omitempty"`
  2049. // Optional element to configure the streaming of events. A client might be interested in receiving all,
  2050. // none or some of the events produced by the device:
  2051. //
  2052. Events EventSubscription `xml:"http://www.onvif.org/ver10/schema Events,omitempty"`
  2053. // Defines whether the streamed metadata will include metadata from the analytics engines (video, cell motion, audio etc.)
  2054. Analytics bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Analytics,omitempty"`
  2055. // Defines the multicast settings that could be used for video streaming.
  2056. Multicast MulticastConfiguration `xml:"http://www.onvif.org/ver10/schema Multicast,omitempty"`
  2057. // The rtsp session timeout for the related audio stream (when using Media2 Service, this value is deprecated and ignored)
  2058. SessionTimeout Duration `xml:"http://www.onvif.org/ver10/schema SessionTimeout,omitempty"`
  2059. AnalyticsEngineConfiguration AnalyticsEngineConfiguration `xml:"http://www.onvif.org/ver10/schema AnalyticsEngineConfiguration,omitempty"`
  2060. Extension MetadataConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2061. // Optional parameter to configure compression type of Metadata payload. Use values from enumeration MetadataCompressionType.
  2062. CompressionType string `xml:"http://www.onvif.org/ver10/thermal/wsdl CompressionType,attr,omitempty"`
  2063. // Optional parameter to configure if the metadata stream shall contain the Geo Location coordinates of each target.
  2064. GeoLocation bool `xml:"http://www.onvif.org/ver10/thermal/wsdl GeoLocation,attr,omitempty"`
  2065. }
  2066. // MetadataConfigurationExtension type
  2067. type MetadataConfigurationExtension struct {
  2068. }
  2069. // PTZFilter type
  2070. type PTZFilter struct {
  2071. // True if the metadata stream shall contain the PTZ status (IDLE, MOVING or UNKNOWN)
  2072. Status bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Status,omitempty"`
  2073. // True if the metadata stream shall contain the PTZ position
  2074. Position bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Position,omitempty"`
  2075. }
  2076. // EventSubscription type
  2077. type EventSubscription struct {
  2078. Filter FilterType `xml:"Filter,omitempty"`
  2079. SubscriptionPolicy struct {
  2080. } `xml:"SubscriptionPolicy,omitempty"`
  2081. }
  2082. // MetadataConfigurationOptions type
  2083. type MetadataConfigurationOptions struct {
  2084. PTZStatusFilterOptions PTZStatusFilterOptions `xml:"http://www.onvif.org/ver10/schema PTZStatusFilterOptions,omitempty"`
  2085. Extension MetadataConfigurationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2086. // True if the device is able to stream the Geo Located positions of each target.
  2087. GeoLocation bool `xml:"http://www.onvif.org/ver10/thermal/wsdl GeoLocation,attr,omitempty"`
  2088. }
  2089. // MetadataConfigurationOptionsExtension type
  2090. type MetadataConfigurationOptionsExtension struct {
  2091. // List of supported metadata compression type. Its options shall be chosen from tt:MetadataCompressionType.
  2092. CompressionType []string `xml:"http://www.onvif.org/ver10/thermal/wsdl CompressionType,omitempty"`
  2093. Extension MetadataConfigurationOptionsExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2094. }
  2095. // MetadataConfigurationOptionsExtension2 type
  2096. type MetadataConfigurationOptionsExtension2 struct {
  2097. }
  2098. // PTZStatusFilterOptions type
  2099. type PTZStatusFilterOptions struct {
  2100. // True if the device is able to stream pan or tilt status information.
  2101. PanTiltStatusSupported bool `xml:"http://www.onvif.org/ver10/thermal/wsdl PanTiltStatusSupported,omitempty"`
  2102. // True if the device is able to stream zoom status inforamtion.
  2103. ZoomStatusSupported bool `xml:"http://www.onvif.org/ver10/thermal/wsdl ZoomStatusSupported,omitempty"`
  2104. // True if the device is able to stream the pan or tilt position.
  2105. PanTiltPositionSupported bool `xml:"http://www.onvif.org/ver10/thermal/wsdl PanTiltPositionSupported,omitempty"`
  2106. // True if the device is able to stream zoom position information.
  2107. ZoomPositionSupported bool `xml:"http://www.onvif.org/ver10/thermal/wsdl ZoomPositionSupported,omitempty"`
  2108. Extension PTZStatusFilterOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2109. }
  2110. // PTZStatusFilterOptionsExtension type
  2111. type PTZStatusFilterOptionsExtension struct {
  2112. }
  2113. // VideoOutput type
  2114. type VideoOutput struct {
  2115. *DeviceEntity
  2116. Layout Layout `xml:"http://www.onvif.org/ver10/schema Layout,omitempty"`
  2117. // Resolution of the display in Pixel.
  2118. Resolution VideoResolution `xml:"http://www.onvif.org/ver10/schema Resolution,omitempty"`
  2119. // Refresh rate of the display in Hertz.
  2120. RefreshRate float32 `xml:"http://www.onvif.org/ver10/schema RefreshRate,omitempty"`
  2121. // Aspect ratio of the display as physical extent of width divided by height.
  2122. AspectRatio float32 `xml:"http://www.onvif.org/ver10/schema AspectRatio,omitempty"`
  2123. Extension VideoOutputExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2124. }
  2125. // VideoOutputExtension type
  2126. type VideoOutputExtension struct {
  2127. }
  2128. // VideoDecoderConfigurationOptions type
  2129. type VideoDecoderConfigurationOptions struct {
  2130. // If the device is able to decode Jpeg streams this element describes the supported codecs and configurations
  2131. JpegDecOptions JpegDecOptions `xml:"http://www.onvif.org/ver10/schema JpegDecOptions,omitempty"`
  2132. // If the device is able to decode H.264 streams this element describes the supported codecs and configurations
  2133. H264DecOptions H264DecOptions `xml:"http://www.onvif.org/ver10/schema H264DecOptions,omitempty"`
  2134. // If the device is able to decode Mpeg4 streams this element describes the supported codecs and configurations
  2135. Mpeg4DecOptions Mpeg4DecOptions `xml:"http://www.onvif.org/ver10/schema Mpeg4DecOptions,omitempty"`
  2136. Extension VideoDecoderConfigurationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2137. }
  2138. // H264DecOptions type
  2139. type H264DecOptions struct {
  2140. // List of supported H.264 Video Resolutions
  2141. ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"`
  2142. // List of supported H264 Profiles (either baseline, main, extended or high)
  2143. SupportedH264Profiles []H264Profile `xml:"http://www.onvif.org/ver10/schema SupportedH264Profiles,omitempty"`
  2144. // Supported H.264 bitrate range in kbps
  2145. SupportedInputBitrate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedInputBitrate,omitempty"`
  2146. // Supported H.264 framerate range in fps
  2147. SupportedFrameRate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedFrameRate,omitempty"`
  2148. }
  2149. // JpegDecOptions type
  2150. type JpegDecOptions struct {
  2151. // List of supported Jpeg Video Resolutions
  2152. ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"`
  2153. // Supported Jpeg bitrate range in kbps
  2154. SupportedInputBitrate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedInputBitrate,omitempty"`
  2155. // Supported Jpeg framerate range in fps
  2156. SupportedFrameRate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedFrameRate,omitempty"`
  2157. }
  2158. // Mpeg4DecOptions type
  2159. type Mpeg4DecOptions struct {
  2160. // List of supported Mpeg4 Video Resolutions
  2161. ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"`
  2162. // List of supported Mpeg4 Profiles (either SP or ASP)
  2163. SupportedMpeg4Profiles []Mpeg4Profile `xml:"http://www.onvif.org/ver10/schema SupportedMpeg4Profiles,omitempty"`
  2164. // Supported Mpeg4 bitrate range in kbps
  2165. SupportedInputBitrate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedInputBitrate,omitempty"`
  2166. // Supported Mpeg4 framerate range in fps
  2167. SupportedFrameRate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedFrameRate,omitempty"`
  2168. }
  2169. // VideoDecoderConfigurationOptionsExtension type
  2170. type VideoDecoderConfigurationOptionsExtension struct {
  2171. }
  2172. // AudioOutput type
  2173. type AudioOutput struct {
  2174. *DeviceEntity
  2175. }
  2176. // AudioOutputConfiguration type
  2177. type AudioOutputConfiguration struct {
  2178. *ConfigurationEntity
  2179. // Token of the phsycial Audio output.
  2180. OutputToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl OutputToken,omitempty"`
  2181. //
  2182. // An audio channel MAY support different types of audio transmission. While for full duplex
  2183. // operation no special handling is required, in half duplex operation the transmission direction
  2184. // needs to be switched.
  2185. // The optional SendPrimacy parameter inside the AudioOutputConfiguration indicates which
  2186. // direction is currently active. An NVC can switch between different modes by setting the
  2187. // AudioOutputConfiguration.
  2188. // The following modes for the Send-Primacy are defined:
  2189. // Acoustic echo cancellation is out of ONVIF scope.
  2190. SendPrimacy AnyURI `xml:"http://www.onvif.org/ver10/schema SendPrimacy,omitempty"`
  2191. // Volume setting of the output. The applicable range is defined via the option AudioOutputOptions.OutputLevelRange.
  2192. OutputLevel int32 `xml:"http://www.onvif.org/ver10/schema OutputLevel,omitempty"`
  2193. }
  2194. // AudioDecoderConfiguration type
  2195. type AudioDecoderConfiguration struct {
  2196. *ConfigurationEntity
  2197. }
  2198. // AudioDecoderConfigurationOptions type
  2199. type AudioDecoderConfigurationOptions struct {
  2200. // If the device is able to decode AAC encoded audio this section describes the supported configurations
  2201. AACDecOptions AACDecOptions `xml:"http://www.onvif.org/ver10/schema AACDecOptions,omitempty"`
  2202. // If the device is able to decode G711 encoded audio this section describes the supported configurations
  2203. G711DecOptions G711DecOptions `xml:"http://www.onvif.org/ver10/schema G711DecOptions,omitempty"`
  2204. // If the device is able to decode G726 encoded audio this section describes the supported configurations
  2205. G726DecOptions G726DecOptions `xml:"http://www.onvif.org/ver10/schema G726DecOptions,omitempty"`
  2206. Extension AudioDecoderConfigurationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2207. }
  2208. // G711DecOptions type
  2209. type G711DecOptions struct {
  2210. // List of supported bitrates in kbps
  2211. Bitrate IntList `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"`
  2212. // List of supported sample rates in kHz
  2213. SampleRateRange IntList `xml:"http://www.onvif.org/ver10/schema SampleRateRange,omitempty"`
  2214. }
  2215. // AACDecOptions type
  2216. type AACDecOptions struct {
  2217. // List of supported bitrates in kbps
  2218. Bitrate IntList `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"`
  2219. // List of supported sample rates in kHz
  2220. SampleRateRange IntList `xml:"http://www.onvif.org/ver10/schema SampleRateRange,omitempty"`
  2221. }
  2222. // G726DecOptions type
  2223. type G726DecOptions struct {
  2224. // List of supported bitrates in kbps
  2225. Bitrate IntList `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"`
  2226. // List of supported sample rates in kHz
  2227. SampleRateRange IntList `xml:"http://www.onvif.org/ver10/schema SampleRateRange,omitempty"`
  2228. }
  2229. // AudioDecoderConfigurationOptionsExtension type
  2230. type AudioDecoderConfigurationOptionsExtension struct {
  2231. }
  2232. // MulticastConfiguration type
  2233. type MulticastConfiguration struct {
  2234. // The multicast address (if this address is set to 0 no multicast streaming is enaled)
  2235. Address IPAddress `xml:"http://www.onvif.org/ver10/schema Address,omitempty"`
  2236. // The RTP mutlicast destination port. A device may support RTCP. In this case the port value shall be even to allow the corresponding RTCP stream to be mapped to the next higher (odd) destination port number as defined in the RTSP specification.
  2237. Port int32 `xml:"http://www.onvif.org/ver10/schema Port,omitempty"`
  2238. // In case of IPv6 the TTL value is assumed as the hop limit. Note that for IPV6 and administratively scoped IPv4 multicast the primary use for hop limit / TTL is to prevent packets from (endlessly) circulating and not limiting scope. In these cases the address contains the scope.
  2239. TTL int32 `xml:"http://www.onvif.org/ver10/schema TTL,omitempty"`
  2240. // Read only property signalling that streaming is persistant. Use the methods StartMulticastStreaming and StopMulticastStreaming to switch its state.
  2241. AutoStart bool `xml:"http://www.onvif.org/ver10/thermal/wsdl AutoStart,omitempty"`
  2242. }
  2243. // StreamSetup type
  2244. type StreamSetup struct {
  2245. // Defines if a multicast or unicast stream is requested
  2246. Stream StreamType `xml:"http://www.onvif.org/ver10/schema Stream,omitempty"`
  2247. Transport Transport `xml:"http://www.onvif.org/ver10/schema Transport,omitempty"`
  2248. }
  2249. // Transport type
  2250. type Transport struct {
  2251. // Defines the network protocol for streaming, either UDP=RTP/UDP, RTSP=RTP/RTSP/TCP or HTTP=RTP/RTSP/HTTP/TCP
  2252. Protocol TransportProtocol `xml:"http://www.onvif.org/ver10/schema Protocol,omitempty"`
  2253. // Optional element to describe further tunnel options. This element is normally not needed
  2254. Tunnel *Transport `xml:"http://www.onvif.org/ver10/schema Tunnel,omitempty"`
  2255. }
  2256. // Scope type
  2257. type Scope struct {
  2258. // Indicates if the scope is fixed or configurable.
  2259. ScopeDef ScopeDefinition `xml:"http://www.onvif.org/ver10/schema ScopeDef,omitempty"`
  2260. // Scope item URI.
  2261. ScopeItem AnyURI `xml:"http://www.onvif.org/ver10/schema ScopeItem,omitempty"`
  2262. }
  2263. // NetworkInterface type
  2264. type NetworkInterface struct {
  2265. *DeviceEntity
  2266. // Indicates whether or not an interface is enabled.
  2267. Enabled bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Enabled,omitempty"`
  2268. // Network interface information
  2269. Info NetworkInterfaceInfo `xml:"http://www.onvif.org/ver10/schema Info,omitempty"`
  2270. // Link configuration.
  2271. Link NetworkInterfaceLink `xml:"http://www.onvif.org/ver10/schema Link,omitempty"`
  2272. // IPv4 network interface configuration.
  2273. IPv4 IPv4NetworkInterface `xml:"http://www.onvif.org/ver10/schema IPv4,omitempty"`
  2274. // IPv6 network interface configuration.
  2275. IPv6 IPv6NetworkInterface `xml:"http://www.onvif.org/ver10/schema IPv6,omitempty"`
  2276. Extension NetworkInterfaceExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2277. }
  2278. // NetworkInterfaceExtension type
  2279. type NetworkInterfaceExtension struct {
  2280. InterfaceType IANAIfTypes `xml:"InterfaceType,omitempty"`
  2281. // Extension point prepared for future 802.3 configuration.
  2282. Dot3 []Dot3Configuration `xml:"http://www.onvif.org/ver10/schema Dot3,omitempty"`
  2283. Dot11 []Dot11Configuration `xml:"http://www.onvif.org/ver10/schema Dot11,omitempty"`
  2284. Extension NetworkInterfaceExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2285. }
  2286. // Dot3Configuration type
  2287. type Dot3Configuration struct {
  2288. }
  2289. // NetworkInterfaceExtension2 type
  2290. type NetworkInterfaceExtension2 struct {
  2291. }
  2292. // NetworkInterfaceLink type
  2293. type NetworkInterfaceLink struct {
  2294. // Configured link settings.
  2295. AdminSettings NetworkInterfaceConnectionSetting `xml:"http://www.onvif.org/ver10/schema AdminSettings,omitempty"`
  2296. // Current active link settings.
  2297. OperSettings NetworkInterfaceConnectionSetting `xml:"http://www.onvif.org/ver10/schema OperSettings,omitempty"`
  2298. // Integer indicating interface type, for example: 6 is ethernet.
  2299. InterfaceType IANAIfTypes `xml:"InterfaceType,omitempty"`
  2300. }
  2301. // NetworkInterfaceConnectionSetting type
  2302. type NetworkInterfaceConnectionSetting struct {
  2303. // Auto negotiation on/off.
  2304. AutoNegotiation bool `xml:"http://www.onvif.org/ver10/thermal/wsdl AutoNegotiation,omitempty"`
  2305. // Speed.
  2306. Speed int32 `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"`
  2307. // Duplex type, Half or Full.
  2308. Duplex Duplex `xml:"http://www.onvif.org/ver10/schema Duplex,omitempty"`
  2309. }
  2310. // NetworkInterfaceInfo type
  2311. type NetworkInterfaceInfo struct {
  2312. // Network interface name, for example eth0.
  2313. Name string `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,omitempty"`
  2314. // Network interface MAC address.
  2315. HwAddress HwAddress `xml:"http://www.onvif.org/ver10/schema HwAddress,omitempty"`
  2316. // Maximum transmission unit.
  2317. MTU int32 `xml:"http://www.onvif.org/ver10/schema MTU,omitempty"`
  2318. }
  2319. // IPv6NetworkInterface type
  2320. type IPv6NetworkInterface struct {
  2321. // Indicates whether or not IPv6 is enabled.
  2322. Enabled bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Enabled,omitempty"`
  2323. // IPv6 configuration.
  2324. Config IPv6Configuration `xml:"http://www.onvif.org/ver10/schema Config,omitempty"`
  2325. }
  2326. // IPv4NetworkInterface type
  2327. type IPv4NetworkInterface struct {
  2328. // Indicates whether or not IPv4 is enabled.
  2329. Enabled bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Enabled,omitempty"`
  2330. // IPv4 configuration.
  2331. Config IPv4Configuration `xml:"http://www.onvif.org/ver10/schema Config,omitempty"`
  2332. }
  2333. // IPv4Configuration type
  2334. type IPv4Configuration struct {
  2335. // List of manually added IPv4 addresses.
  2336. Manual []PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema Manual,omitempty"`
  2337. // Link local address.
  2338. LinkLocal PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema LinkLocal,omitempty"`
  2339. // IPv4 address configured by using DHCP.
  2340. FromDHCP PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema FromDHCP,omitempty"`
  2341. // Indicates whether or not DHCP is used.
  2342. DHCP bool `xml:"http://www.onvif.org/ver10/thermal/wsdl DHCP,omitempty"`
  2343. }
  2344. // IPv6Configuration type
  2345. type IPv6Configuration struct {
  2346. // Indicates whether router advertisment is used.
  2347. AcceptRouterAdvert bool `xml:"http://www.onvif.org/ver10/thermal/wsdl AcceptRouterAdvert,omitempty"`
  2348. // DHCP configuration.
  2349. DHCP IPv6DHCPConfiguration `xml:"http://www.onvif.org/ver10/schema DHCP,omitempty"`
  2350. // List of manually entered IPv6 addresses.
  2351. Manual []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema Manual,omitempty"`
  2352. // List of link local IPv6 addresses.
  2353. LinkLocal []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema LinkLocal,omitempty"`
  2354. // List of IPv6 addresses configured by using DHCP.
  2355. FromDHCP []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema FromDHCP,omitempty"`
  2356. // List of IPv6 addresses configured by using router advertisment.
  2357. FromRA []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema FromRA,omitempty"`
  2358. Extension IPv6ConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2359. }
  2360. // IPv6ConfigurationExtension type
  2361. type IPv6ConfigurationExtension struct {
  2362. }
  2363. // NetworkProtocol type
  2364. type NetworkProtocol struct {
  2365. // Network protocol type string.
  2366. Name NetworkProtocolType `xml:"http://www.onvif.org/ver10/schema Name,omitempty"`
  2367. // Indicates if the protocol is enabled or not.
  2368. Enabled bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Enabled,omitempty"`
  2369. // The port that is used by the protocol.
  2370. Port []int32 `xml:"http://www.onvif.org/ver10/schema Port,omitempty"`
  2371. Extension NetworkProtocolExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2372. }
  2373. // NetworkProtocolExtension type
  2374. type NetworkProtocolExtension struct {
  2375. }
  2376. // NetworkHost type
  2377. type NetworkHost struct {
  2378. // Network host type: IPv4, IPv6 or DNS.
  2379. Type NetworkHostType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"`
  2380. // IPv4 address.
  2381. IPv4Address IPv4Address `xml:"http://www.onvif.org/ver10/schema IPv4Address,omitempty"`
  2382. // IPv6 address.
  2383. IPv6Address IPv6Address `xml:"http://www.onvif.org/ver10/schema IPv6Address,omitempty"`
  2384. // DNS name.
  2385. DNSname DNSName `xml:"http://www.onvif.org/ver10/schema DNSname,omitempty"`
  2386. Extension NetworkHostExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2387. }
  2388. // NetworkHostExtension type
  2389. type NetworkHostExtension struct {
  2390. }
  2391. // IPAddress type
  2392. type IPAddress struct {
  2393. // Indicates if the address is an IPv4 or IPv6 address.
  2394. Type IPType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"`
  2395. // IPv4 address.
  2396. IPv4Address IPv4Address `xml:"http://www.onvif.org/ver10/schema IPv4Address,omitempty"`
  2397. // IPv6 address
  2398. IPv6Address IPv6Address `xml:"http://www.onvif.org/ver10/schema IPv6Address,omitempty"`
  2399. }
  2400. // PrefixedIPv4Address type
  2401. type PrefixedIPv4Address struct {
  2402. // IPv4 address
  2403. Address IPv4Address `xml:"http://www.onvif.org/ver10/schema Address,omitempty"`
  2404. // Prefix/submask length
  2405. PrefixLength int32 `xml:"http://www.onvif.org/ver10/schema PrefixLength,omitempty"`
  2406. }
  2407. // PrefixedIPv6Address type
  2408. type PrefixedIPv6Address struct {
  2409. // IPv6 address
  2410. Address IPv6Address `xml:"http://www.onvif.org/ver10/schema Address,omitempty"`
  2411. // Prefix/submask length
  2412. PrefixLength int32 `xml:"http://www.onvif.org/ver10/schema PrefixLength,omitempty"`
  2413. }
  2414. // HostnameInformation type
  2415. type HostnameInformation struct {
  2416. // Indicates whether the hostname is obtained from DHCP or not.
  2417. FromDHCP bool `xml:"http://www.onvif.org/ver10/thermal/wsdl FromDHCP,omitempty"`
  2418. // Indicates the hostname.
  2419. Name string `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,omitempty"`
  2420. Extension HostnameInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2421. }
  2422. // HostnameInformationExtension type
  2423. type HostnameInformationExtension struct {
  2424. }
  2425. // DNSInformation type
  2426. type DNSInformation struct {
  2427. // Indicates whether or not DNS information is retrieved from DHCP.
  2428. FromDHCP bool `xml:"http://www.onvif.org/ver10/thermal/wsdl FromDHCP,omitempty"`
  2429. // Search domain.
  2430. SearchDomain []string `xml:"http://www.onvif.org/ver10/thermal/wsdl SearchDomain,omitempty"`
  2431. // List of DNS addresses received from DHCP.
  2432. DNSFromDHCP []IPAddress `xml:"http://www.onvif.org/ver10/schema DNSFromDHCP,omitempty"`
  2433. // List of manually entered DNS addresses.
  2434. DNSManual []IPAddress `xml:"http://www.onvif.org/ver10/schema DNSManual,omitempty"`
  2435. Extension DNSInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2436. }
  2437. // DNSInformationExtension type
  2438. type DNSInformationExtension struct {
  2439. }
  2440. // NTPInformation type
  2441. type NTPInformation struct {
  2442. // Indicates if NTP information is to be retrieved by using DHCP.
  2443. FromDHCP bool `xml:"http://www.onvif.org/ver10/thermal/wsdl FromDHCP,omitempty"`
  2444. // List of NTP addresses retrieved by using DHCP.
  2445. NTPFromDHCP []NetworkHost `xml:"http://www.onvif.org/ver10/schema NTPFromDHCP,omitempty"`
  2446. // List of manually entered NTP addresses.
  2447. NTPManual []NetworkHost `xml:"http://www.onvif.org/ver10/schema NTPManual,omitempty"`
  2448. Extension NTPInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2449. }
  2450. // NTPInformationExtension type
  2451. type NTPInformationExtension struct {
  2452. }
  2453. // DynamicDNSInformation type
  2454. type DynamicDNSInformation struct {
  2455. // Dynamic DNS type.
  2456. Type DynamicDNSType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"`
  2457. // DNS name.
  2458. Name DNSName `xml:"http://www.onvif.org/ver10/schema Name,omitempty"`
  2459. // Time to live.
  2460. TTL Duration `xml:"http://www.onvif.org/ver10/schema TTL,omitempty"`
  2461. Extension DynamicDNSInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2462. }
  2463. // DynamicDNSInformationExtension type
  2464. type DynamicDNSInformationExtension struct {
  2465. }
  2466. // NetworkInterfaceSetConfiguration type
  2467. type NetworkInterfaceSetConfiguration struct {
  2468. // Indicates whether or not an interface is enabled.
  2469. Enabled bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Enabled,omitempty"`
  2470. // Link configuration.
  2471. Link NetworkInterfaceConnectionSetting `xml:"http://www.onvif.org/ver10/schema Link,omitempty"`
  2472. // Maximum transmission unit.
  2473. MTU int32 `xml:"http://www.onvif.org/ver10/schema MTU,omitempty"`
  2474. // IPv4 network interface configuration.
  2475. IPv4 IPv4NetworkInterfaceSetConfiguration `xml:"http://www.onvif.org/ver10/schema IPv4,omitempty"`
  2476. // IPv6 network interface configuration.
  2477. IPv6 IPv6NetworkInterfaceSetConfiguration `xml:"http://www.onvif.org/ver10/schema IPv6,omitempty"`
  2478. Extension NetworkInterfaceSetConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2479. }
  2480. // NetworkInterfaceSetConfigurationExtension type
  2481. type NetworkInterfaceSetConfigurationExtension struct {
  2482. Dot3 []Dot3Configuration `xml:"http://www.onvif.org/ver10/schema Dot3,omitempty"`
  2483. Dot11 []Dot11Configuration `xml:"http://www.onvif.org/ver10/schema Dot11,omitempty"`
  2484. Extension NetworkInterfaceSetConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2485. }
  2486. // IPv6NetworkInterfaceSetConfiguration type
  2487. type IPv6NetworkInterfaceSetConfiguration struct {
  2488. // Indicates whether or not IPv6 is enabled.
  2489. Enabled bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Enabled,omitempty"`
  2490. // Indicates whether router advertisment is used.
  2491. AcceptRouterAdvert bool `xml:"http://www.onvif.org/ver10/thermal/wsdl AcceptRouterAdvert,omitempty"`
  2492. // List of manually added IPv6 addresses.
  2493. Manual []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema Manual,omitempty"`
  2494. // DHCP configuration.
  2495. DHCP IPv6DHCPConfiguration `xml:"http://www.onvif.org/ver10/schema DHCP,omitempty"`
  2496. }
  2497. // IPv4NetworkInterfaceSetConfiguration type
  2498. type IPv4NetworkInterfaceSetConfiguration struct {
  2499. // Indicates whether or not IPv4 is enabled.
  2500. Enabled bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Enabled,omitempty"`
  2501. // List of manually added IPv4 addresses.
  2502. Manual []PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema Manual,omitempty"`
  2503. // Indicates whether or not DHCP is used.
  2504. DHCP bool `xml:"http://www.onvif.org/ver10/thermal/wsdl DHCP,omitempty"`
  2505. }
  2506. // NetworkZeroConfiguration type
  2507. type NetworkZeroConfiguration struct {
  2508. // Unique identifier of network interface.
  2509. InterfaceToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl InterfaceToken,omitempty"`
  2510. // Indicates whether the zero-configuration is enabled or not.
  2511. Enabled bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Enabled,omitempty"`
  2512. // The zero-configuration IPv4 address(es)
  2513. Addresses []IPv4Address `xml:"http://www.onvif.org/ver10/schema Addresses,omitempty"`
  2514. Extension *NetworkZeroConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2515. }
  2516. // NetworkZeroConfigurationExtension type
  2517. type NetworkZeroConfigurationExtension struct {
  2518. // Optional array holding the configuration for the second and possibly further interfaces.
  2519. Additional []NetworkZeroConfiguration `xml:"http://www.onvif.org/ver10/schema Additional,omitempty"`
  2520. Extension NetworkZeroConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2521. }
  2522. // NetworkZeroConfigurationExtension2 type
  2523. type NetworkZeroConfigurationExtension2 struct {
  2524. }
  2525. // IPAddressFilter type
  2526. type IPAddressFilter struct {
  2527. Type IPAddressFilterType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"`
  2528. IPv4Address []PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema IPv4Address,omitempty"`
  2529. IPv6Address []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema IPv6Address,omitempty"`
  2530. Extension IPAddressFilterExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2531. }
  2532. // IPAddressFilterExtension type
  2533. type IPAddressFilterExtension struct {
  2534. }
  2535. // Dot11Configuration type
  2536. type Dot11Configuration struct {
  2537. SSID Dot11SSIDType `xml:"http://www.onvif.org/ver10/schema SSID,omitempty"`
  2538. Mode Dot11StationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  2539. Alias Name `xml:"http://www.onvif.org/ver10/thermal/wsdl Alias,omitempty"`
  2540. Priority NetworkInterfaceConfigPriority `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"`
  2541. Security Dot11SecurityConfiguration `xml:"http://www.onvif.org/ver10/schema Security,omitempty"`
  2542. }
  2543. // Dot11SecurityConfiguration type
  2544. type Dot11SecurityConfiguration struct {
  2545. Mode Dot11SecurityMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  2546. Algorithm Dot11Cipher `xml:"http://www.onvif.org/ver10/schema Algorithm,omitempty"`
  2547. PSK Dot11PSKSet `xml:"http://www.onvif.org/ver10/schema PSK,omitempty"`
  2548. Dot1X ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl Dot1X,omitempty"`
  2549. Extension Dot11SecurityConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2550. }
  2551. // Dot11SecurityConfigurationExtension type
  2552. type Dot11SecurityConfigurationExtension struct {
  2553. }
  2554. // Dot11PSKSet type
  2555. type Dot11PSKSet struct {
  2556. //
  2557. // According to IEEE802.11-2007 H.4.1 the RSNA PSK consists of 256 bits, or 64 octets when represented in hex
  2558. // Either Key or Passphrase shall be given, if both are supplied Key shall be used by the device and Passphrase ignored.
  2559. //
  2560. Key Dot11PSK `xml:"http://www.onvif.org/ver10/schema Key,omitempty"`
  2561. //
  2562. // According to IEEE802.11-2007 H.4.1 a pass-phrase is a sequence of between 8 and 63 ASCII-encoded characters and
  2563. // each character in the pass-phrase must have an encoding in the range of 32 to 126 (decimal),inclusive.
  2564. // If only Passpharse is supplied the Key shall be derived using the algorithm described in IEEE802.11-2007 section H.4
  2565. //
  2566. Passphrase Dot11PSKPassphrase `xml:"http://www.onvif.org/ver10/schema Passphrase,omitempty"`
  2567. Extension Dot11PSKSetExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2568. }
  2569. // Dot11PSKSetExtension type
  2570. type Dot11PSKSetExtension struct {
  2571. }
  2572. // NetworkInterfaceSetConfigurationExtension2 type
  2573. type NetworkInterfaceSetConfigurationExtension2 struct {
  2574. }
  2575. // Dot11AvailableNetworks type
  2576. type Dot11AvailableNetworks struct {
  2577. SSID Dot11SSIDType `xml:"http://www.onvif.org/ver10/schema SSID,omitempty"`
  2578. BSSID string `xml:"http://www.onvif.org/ver10/thermal/wsdl BSSID,omitempty"`
  2579. // See IEEE802.11 7.3.2.25.2 for details.
  2580. AuthAndMangementSuite []Dot11AuthAndMangementSuite `xml:"http://www.onvif.org/ver10/schema AuthAndMangementSuite,omitempty"`
  2581. PairCipher []Dot11Cipher `xml:"http://www.onvif.org/ver10/schema PairCipher,omitempty"`
  2582. GroupCipher []Dot11Cipher `xml:"http://www.onvif.org/ver10/schema GroupCipher,omitempty"`
  2583. SignalStrength Dot11SignalStrength `xml:"http://www.onvif.org/ver10/schema SignalStrength,omitempty"`
  2584. Extension Dot11AvailableNetworksExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2585. }
  2586. // Dot11AvailableNetworksExtension type
  2587. type Dot11AvailableNetworksExtension struct {
  2588. }
  2589. /* Removed type Capabilities struct {
  2590. // Analytics capabilities
  2591. Analytics AnalyticsCapabilities `xml:"http://www.onvif.org/ver10/schema Analytics,omitempty"`
  2592. // Device capabilities
  2593. Device DeviceCapabilities `xml:"http://www.onvif.org/ver10/schema Device,omitempty"`
  2594. // Event capabilities
  2595. Events EventCapabilities `xml:"http://www.onvif.org/ver10/schema Events,omitempty"`
  2596. // Imaging capabilities
  2597. Imaging ImagingCapabilities `xml:"http://www.onvif.org/ver10/schema Imaging,omitempty"`
  2598. // Media capabilities
  2599. Media MediaCapabilities `xml:"http://www.onvif.org/ver10/schema Media,omitempty"`
  2600. // PTZ capabilities
  2601. PTZ PTZCapabilities `xml:"http://www.onvif.org/ver10/schema PTZ,omitempty"`
  2602. Extension CapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2603. } Removed*/
  2604. // CapabilitiesExtension type
  2605. type CapabilitiesExtension struct {
  2606. DeviceIO DeviceIOCapabilities `xml:"http://www.onvif.org/ver10/schema DeviceIO,omitempty"`
  2607. Display DisplayCapabilities `xml:"http://www.onvif.org/ver10/schema Display,omitempty"`
  2608. Recording RecordingCapabilities `xml:"http://www.onvif.org/ver10/schema Recording,omitempty"`
  2609. Search SearchCapabilities `xml:"http://www.onvif.org/ver10/schema Search,omitempty"`
  2610. Replay ReplayCapabilities `xml:"http://www.onvif.org/ver10/schema Replay,omitempty"`
  2611. Receiver ReceiverCapabilities `xml:"http://www.onvif.org/ver10/schema Receiver,omitempty"`
  2612. AnalyticsDevice AnalyticsDeviceCapabilities `xml:"http://www.onvif.org/ver10/schema AnalyticsDevice,omitempty"`
  2613. Extensions CapabilitiesExtension2 `xml:"http://www.onvif.org/ver10/schema Extensions,omitempty"`
  2614. }
  2615. // CapabilitiesExtension2 type
  2616. type CapabilitiesExtension2 struct {
  2617. }
  2618. // AnalyticsCapabilities type
  2619. type AnalyticsCapabilities struct {
  2620. // Analytics service URI.
  2621. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2622. // Indicates whether or not rules are supported.
  2623. RuleSupport bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RuleSupport,omitempty"`
  2624. // Indicates whether or not modules are supported.
  2625. AnalyticsModuleSupport bool `xml:"http://www.onvif.org/ver10/thermal/wsdl AnalyticsModuleSupport,omitempty"`
  2626. }
  2627. // DeviceCapabilities type
  2628. type DeviceCapabilities struct {
  2629. // Device service URI.
  2630. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2631. // Network capabilities.
  2632. Network NetworkCapabilities `xml:"http://www.onvif.org/ver10/schema Network,omitempty"`
  2633. // System capabilities.
  2634. System SystemCapabilities `xml:"http://www.onvif.org/ver10/schema System,omitempty"`
  2635. // I/O capabilities.
  2636. IO IOCapabilities `xml:"http://www.onvif.org/ver10/schema IO,omitempty"`
  2637. // Security capabilities.
  2638. Security SecurityCapabilities `xml:"http://www.onvif.org/ver10/schema Security,omitempty"`
  2639. Extension DeviceCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2640. }
  2641. // DeviceCapabilitiesExtension type
  2642. type DeviceCapabilitiesExtension struct {
  2643. }
  2644. // EventCapabilities type
  2645. type EventCapabilities struct {
  2646. // Event service URI.
  2647. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2648. // Indicates whether or not WS Subscription policy is supported.
  2649. WSSubscriptionPolicySupport bool `xml:"http://www.onvif.org/ver10/thermal/wsdl WSSubscriptionPolicySupport,omitempty"`
  2650. // Indicates whether or not WS Pull Point is supported.
  2651. WSPullPointSupport bool `xml:"http://www.onvif.org/ver10/thermal/wsdl WSPullPointSupport,omitempty"`
  2652. // Indicates whether or not WS Pausable Subscription Manager Interface is supported.
  2653. WSPausableSubscriptionManagerInterfaceSupport bool `xml:"http://www.onvif.org/ver10/thermal/wsdl WSPausableSubscriptionManagerInterfaceSupport,omitempty"`
  2654. }
  2655. // IOCapabilities type
  2656. type IOCapabilities struct {
  2657. // Number of input connectors.
  2658. InputConnectors int32 `xml:"http://www.onvif.org/ver10/schema InputConnectors,omitempty"`
  2659. // Number of relay outputs.
  2660. RelayOutputs int32 `xml:"http://www.onvif.org/ver10/schema RelayOutputs,omitempty"`
  2661. Extension IOCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2662. }
  2663. // IOCapabilitiesExtension type
  2664. type IOCapabilitiesExtension struct {
  2665. Auxiliary bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Auxiliary,omitempty"`
  2666. AuxiliaryCommands []AuxiliaryData `xml:"http://www.onvif.org/ver10/schema AuxiliaryCommands,omitempty"`
  2667. Extension IOCapabilitiesExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2668. }
  2669. // IOCapabilitiesExtension2 type
  2670. type IOCapabilitiesExtension2 struct {
  2671. }
  2672. // MediaCapabilities type
  2673. type MediaCapabilities struct {
  2674. // Media service URI.
  2675. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2676. // Streaming capabilities.
  2677. StreamingCapabilities RealTimeStreamingCapabilities `xml:"http://www.onvif.org/ver10/schema StreamingCapabilities,omitempty"`
  2678. Extension MediaCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2679. }
  2680. // MediaCapabilitiesExtension type
  2681. type MediaCapabilitiesExtension struct {
  2682. ProfileCapabilities ProfileCapabilities `xml:"http://www.onvif.org/ver10/schema ProfileCapabilities,omitempty"`
  2683. }
  2684. // RealTimeStreamingCapabilities type
  2685. type RealTimeStreamingCapabilities struct {
  2686. // Indicates whether or not RTP multicast is supported.
  2687. RTPMulticast bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RTPMulticast,omitempty"`
  2688. // Indicates whether or not RTP over TCP is supported.
  2689. RTP_TCP bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RTP_TCP,omitempty"`
  2690. // Indicates whether or not RTP/RTSP/TCP is supported.
  2691. RTP_RTSP_TCP bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RTP_RTSP_TCP,omitempty"`
  2692. Extension RealTimeStreamingCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2693. }
  2694. // RealTimeStreamingCapabilitiesExtension type
  2695. type RealTimeStreamingCapabilitiesExtension struct {
  2696. }
  2697. // ProfileCapabilities type
  2698. type ProfileCapabilities struct {
  2699. // Maximum number of profiles.
  2700. MaximumNumberOfProfiles int32 `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfProfiles,omitempty"`
  2701. }
  2702. // NetworkCapabilities type
  2703. type NetworkCapabilities struct {
  2704. // Indicates whether or not IP filtering is supported.
  2705. IPFilter bool `xml:"http://www.onvif.org/ver10/thermal/wsdl IPFilter,omitempty"`
  2706. // Indicates whether or not zeroconf is supported.
  2707. ZeroConfiguration bool `xml:"http://www.onvif.org/ver10/thermal/wsdl ZeroConfiguration,omitempty"`
  2708. // Indicates whether or not IPv6 is supported.
  2709. IPVersion6 bool `xml:"http://www.onvif.org/ver10/thermal/wsdl IPVersion6,omitempty"`
  2710. // Indicates whether or not is supported.
  2711. DynDNS bool `xml:"http://www.onvif.org/ver10/thermal/wsdl DynDNS,omitempty"`
  2712. Extension NetworkCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2713. }
  2714. // NetworkCapabilitiesExtension type
  2715. type NetworkCapabilitiesExtension struct {
  2716. Dot11Configuration bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Dot11Configuration,omitempty"`
  2717. Extension NetworkCapabilitiesExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2718. }
  2719. // NetworkCapabilitiesExtension2 type
  2720. type NetworkCapabilitiesExtension2 struct {
  2721. }
  2722. // SecurityCapabilities type
  2723. type SecurityCapabilities struct {
  2724. // Indicates whether or not TLS 1.1 is supported.
  2725. TLS11 bool `xml:"TLS1.1,omitempty"`
  2726. // Indicates whether or not TLS 1.2 is supported.
  2727. TLS12 bool `xml:"TLS1.2,omitempty"`
  2728. // Indicates whether or not onboard key generation is supported.
  2729. OnboardKeyGeneration bool `xml:"http://www.onvif.org/ver10/thermal/wsdl OnboardKeyGeneration,omitempty"`
  2730. // Indicates whether or not access policy configuration is supported.
  2731. AccessPolicyConfig bool `xml:"http://www.onvif.org/ver10/thermal/wsdl AccessPolicyConfig,omitempty"`
  2732. // Indicates whether or not WS-Security X.509 token is supported.
  2733. X509Token bool `xml:"X.509Token,omitempty"`
  2734. // Indicates whether or not WS-Security SAML token is supported.
  2735. SAMLToken bool `xml:"http://www.onvif.org/ver10/thermal/wsdl SAMLToken,omitempty"`
  2736. // Indicates whether or not WS-Security Kerberos token is supported.
  2737. KerberosToken bool `xml:"http://www.onvif.org/ver10/thermal/wsdl KerberosToken,omitempty"`
  2738. // Indicates whether or not WS-Security REL token is supported.
  2739. RELToken bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RELToken,omitempty"`
  2740. Extension SecurityCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2741. }
  2742. // SecurityCapabilitiesExtension type
  2743. type SecurityCapabilitiesExtension struct {
  2744. TLS10 bool `xml:"TLS1.0,omitempty"`
  2745. Extension SecurityCapabilitiesExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2746. }
  2747. // SecurityCapabilitiesExtension2 type
  2748. type SecurityCapabilitiesExtension2 struct {
  2749. Dot1X bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Dot1X,omitempty"`
  2750. // EAP Methods supported by the device. The int values refer to the .
  2751. SupportedEAPMethod []int32 `xml:"http://www.onvif.org/ver10/schema SupportedEAPMethod,omitempty"`
  2752. RemoteUserHandling bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RemoteUserHandling,omitempty"`
  2753. }
  2754. // SystemCapabilities type
  2755. type SystemCapabilities struct {
  2756. // Indicates whether or not WS Discovery resolve requests are supported.
  2757. DiscoveryResolve bool `xml:"http://www.onvif.org/ver10/thermal/wsdl DiscoveryResolve,omitempty"`
  2758. // Indicates whether or not WS-Discovery Bye is supported.
  2759. DiscoveryBye bool `xml:"http://www.onvif.org/ver10/thermal/wsdl DiscoveryBye,omitempty"`
  2760. // Indicates whether or not remote discovery is supported.
  2761. RemoteDiscovery bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RemoteDiscovery,omitempty"`
  2762. // Indicates whether or not system backup is supported.
  2763. SystemBackup bool `xml:"http://www.onvif.org/ver10/thermal/wsdl SystemBackup,omitempty"`
  2764. // Indicates whether or not system logging is supported.
  2765. SystemLogging bool `xml:"http://www.onvif.org/ver10/thermal/wsdl SystemLogging,omitempty"`
  2766. // Indicates whether or not firmware upgrade is supported.
  2767. FirmwareUpgrade bool `xml:"http://www.onvif.org/ver10/thermal/wsdl FirmwareUpgrade,omitempty"`
  2768. // Indicates supported ONVIF version(s).
  2769. SupportedVersions []OnvifVersion `xml:"http://www.onvif.org/ver10/schema SupportedVersions,omitempty"`
  2770. Extension SystemCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2771. }
  2772. // SystemCapabilitiesExtension type
  2773. type SystemCapabilitiesExtension struct {
  2774. HttpFirmwareUpgrade bool `xml:"http://www.onvif.org/ver10/thermal/wsdl HttpFirmwareUpgrade,omitempty"`
  2775. HttpSystemBackup bool `xml:"http://www.onvif.org/ver10/thermal/wsdl HttpSystemBackup,omitempty"`
  2776. HttpSystemLogging bool `xml:"http://www.onvif.org/ver10/thermal/wsdl HttpSystemLogging,omitempty"`
  2777. HttpSupportInformation bool `xml:"http://www.onvif.org/ver10/thermal/wsdl HttpSupportInformation,omitempty"`
  2778. Extension SystemCapabilitiesExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2779. }
  2780. // SystemCapabilitiesExtension2 type
  2781. type SystemCapabilitiesExtension2 struct {
  2782. }
  2783. // OnvifVersion type
  2784. type OnvifVersion struct {
  2785. // Major version number.
  2786. Major int32 `xml:"http://www.onvif.org/ver10/schema Major,omitempty"`
  2787. //
  2788. // Two digit minor version number.
  2789. // If major version number is less than "16", X.0.1 maps to "01" and X.2.1 maps to "21" where X stands for Major version number.
  2790. // Otherwise, minor number is month of release, such as "06" for June.
  2791. //
  2792. Minor int32 `xml:"http://www.onvif.org/ver10/schema Minor,omitempty"`
  2793. }
  2794. // ImagingCapabilities type
  2795. type ImagingCapabilities struct {
  2796. // Imaging service URI.
  2797. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2798. }
  2799. // PTZCapabilities type
  2800. type PTZCapabilities struct {
  2801. // PTZ service URI.
  2802. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2803. }
  2804. // DeviceIOCapabilities type
  2805. type DeviceIOCapabilities struct {
  2806. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2807. VideoSources int32 `xml:"http://www.onvif.org/ver10/schema VideoSources,omitempty"`
  2808. VideoOutputs int32 `xml:"http://www.onvif.org/ver10/schema VideoOutputs,omitempty"`
  2809. AudioSources int32 `xml:"http://www.onvif.org/ver10/schema AudioSources,omitempty"`
  2810. AudioOutputs int32 `xml:"http://www.onvif.org/ver10/schema AudioOutputs,omitempty"`
  2811. RelayOutputs int32 `xml:"http://www.onvif.org/ver10/schema RelayOutputs,omitempty"`
  2812. }
  2813. // DisplayCapabilities type
  2814. type DisplayCapabilities struct {
  2815. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2816. // Indication that the SetLayout command supports only predefined layouts.
  2817. FixedLayout bool `xml:"http://www.onvif.org/ver10/thermal/wsdl FixedLayout,omitempty"`
  2818. }
  2819. // RecordingCapabilities type
  2820. type RecordingCapabilities struct {
  2821. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2822. ReceiverSource bool `xml:"http://www.onvif.org/ver10/thermal/wsdl ReceiverSource,omitempty"`
  2823. MediaProfileSource bool `xml:"http://www.onvif.org/ver10/thermal/wsdl MediaProfileSource,omitempty"`
  2824. DynamicRecordings bool `xml:"http://www.onvif.org/ver10/thermal/wsdl DynamicRecordings,omitempty"`
  2825. DynamicTracks bool `xml:"http://www.onvif.org/ver10/thermal/wsdl DynamicTracks,omitempty"`
  2826. MaxStringLength int32 `xml:"http://www.onvif.org/ver10/schema MaxStringLength,omitempty"`
  2827. }
  2828. // SearchCapabilities type
  2829. type SearchCapabilities struct {
  2830. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2831. MetadataSearch bool `xml:"http://www.onvif.org/ver10/thermal/wsdl MetadataSearch,omitempty"`
  2832. }
  2833. // ReplayCapabilities type
  2834. type ReplayCapabilities struct {
  2835. // The address of the replay service.
  2836. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2837. }
  2838. // ReceiverCapabilities type
  2839. type ReceiverCapabilities struct {
  2840. // The address of the receiver service.
  2841. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2842. // Indicates whether the device can receive RTP multicast streams.
  2843. RTP_Multicast bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RTP_Multicast,omitempty"`
  2844. // Indicates whether the device can receive RTP/TCP streams
  2845. RTP_TCP bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RTP_TCP,omitempty"`
  2846. // Indicates whether the device can receive RTP/RTSP/TCP streams.
  2847. RTP_RTSP_TCP bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RTP_RTSP_TCP,omitempty"`
  2848. // The maximum number of receivers supported by the device.
  2849. SupportedReceivers int32 `xml:"http://www.onvif.org/ver10/schema SupportedReceivers,omitempty"`
  2850. // The maximum allowed length for RTSP URIs.
  2851. MaximumRTSPURILength int32 `xml:"http://www.onvif.org/ver10/schema MaximumRTSPURILength,omitempty"`
  2852. }
  2853. // AnalyticsDeviceCapabilities type
  2854. type AnalyticsDeviceCapabilities struct {
  2855. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"`
  2856. // Obsolete property.
  2857. RuleSupport bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RuleSupport,omitempty"`
  2858. Extension AnalyticsDeviceExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2859. }
  2860. // AnalyticsDeviceExtension type
  2861. type AnalyticsDeviceExtension struct {
  2862. }
  2863. // BinaryData type
  2864. type BinaryData struct {
  2865. // base64 encoded binary data.
  2866. Data []byte `xml:"http://www.onvif.org/ver10/schema Data,omitempty"`
  2867. ContentType string `xml:"contentType,attr,omitempty"`
  2868. }
  2869. // SystemDateTime type
  2870. type SystemDateTime struct {
  2871. // Indicates if the time is set manully or through NTP.
  2872. DateTimeType SetDateTimeType `xml:"http://www.onvif.org/ver10/schema DateTimeType,omitempty"`
  2873. // Informative indicator whether daylight savings is currently on/off.
  2874. DaylightSavings bool `xml:"http://www.onvif.org/ver10/thermal/wsdl DaylightSavings,omitempty"`
  2875. // Timezone information in Posix format.
  2876. TimeZone TimeZone `xml:"http://www.onvif.org/ver10/schema TimeZone,omitempty"`
  2877. // Current system date and time in UTC format. This field is mandatory since version 2.0.
  2878. UTCDateTime string `xml:"http://www.onvif.org/ver10/schema UTCDateTime,omitempty"`
  2879. // Date and time in local format.
  2880. LocalDateTime string `xml:"http://www.onvif.org/ver10/schema LocalDateTime,omitempty"`
  2881. Extension SystemDateTimeExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2882. }
  2883. // SystemDateTimeExtension type
  2884. type SystemDateTimeExtension struct {
  2885. }
  2886. // DateTime type
  2887. type DateTime struct {
  2888. Time string `xml:"http://www.onvif.org/ver10/schema Time,omitempty"`
  2889. Date string `xml:"http://www.onvif.org/ver10/schema Date,omitempty"`
  2890. }
  2891. // Date type
  2892. type Date struct {
  2893. Year int32 `xml:"http://www.onvif.org/ver10/schema Year,omitempty"`
  2894. // Range is 1 to 12.
  2895. Month int32 `xml:"http://www.onvif.org/ver10/schema Month,omitempty"`
  2896. // Range is 1 to 31.
  2897. Day int32 `xml:"http://www.onvif.org/ver10/schema Day,omitempty"`
  2898. }
  2899. // Time type
  2900. type Time struct {
  2901. // Range is 0 to 23.
  2902. Hour int32 `xml:"http://www.onvif.org/ver10/schema Hour,omitempty"`
  2903. // Range is 0 to 59.
  2904. Minute int32 `xml:"http://www.onvif.org/ver10/schema Minute,omitempty"`
  2905. // Range is 0 to 61 (typically 59).
  2906. Second int32 `xml:"http://www.onvif.org/ver10/schema Second,omitempty"`
  2907. }
  2908. // TimeZone type
  2909. type TimeZone struct {
  2910. // Posix timezone string.
  2911. TZ string `xml:"http://www.onvif.org/ver10/thermal/wsdl TZ,omitempty"`
  2912. }
  2913. // User type
  2914. type User struct {
  2915. // Username string.
  2916. Username string `xml:"http://www.onvif.org/ver10/thermal/wsdl Username,omitempty"`
  2917. // Password string.
  2918. Password string `xml:"http://www.onvif.org/ver10/thermal/wsdl Password,omitempty"`
  2919. // User level string.
  2920. UserLevel UserLevel `xml:"http://www.onvif.org/ver10/schema UserLevel,omitempty"`
  2921. Extension UserExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2922. }
  2923. // UserExtension type
  2924. type UserExtension struct {
  2925. }
  2926. // CertificateGenerationParameters type
  2927. type CertificateGenerationParameters struct {
  2928. CertificateID string `xml:"http://www.onvif.org/ver10/thermal/wsdl CertificateID,omitempty"`
  2929. Subject string `xml:"http://www.onvif.org/ver10/thermal/wsdl Subject,omitempty"`
  2930. ValidNotBefore string `xml:"http://www.onvif.org/ver10/thermal/wsdl ValidNotBefore,omitempty"`
  2931. ValidNotAfter string `xml:"http://www.onvif.org/ver10/thermal/wsdl ValidNotAfter,omitempty"`
  2932. Extension CertificateGenerationParametersExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2933. }
  2934. // CertificateGenerationParametersExtension type
  2935. type CertificateGenerationParametersExtension struct {
  2936. }
  2937. // Certificate type
  2938. type Certificate struct {
  2939. // Certificate id.
  2940. CertificateID string `xml:"http://www.onvif.org/ver10/thermal/wsdl CertificateID,omitempty"`
  2941. // base64 encoded DER representation of certificate.
  2942. Certificate BinaryData `xml:"http://www.onvif.org/ver10/schema Certificate,omitempty"`
  2943. }
  2944. // CertificateInformation type
  2945. type CertificateInformation struct {
  2946. CertificateID string `xml:"http://www.onvif.org/ver10/thermal/wsdl CertificateID,omitempty"`
  2947. IssuerDN string `xml:"http://www.onvif.org/ver10/thermal/wsdl IssuerDN,omitempty"`
  2948. SubjectDN string `xml:"http://www.onvif.org/ver10/thermal/wsdl SubjectDN,omitempty"`
  2949. KeyUsage CertificateUsage `xml:"http://www.onvif.org/ver10/schema KeyUsage,omitempty"`
  2950. ExtendedKeyUsage CertificateUsage `xml:"http://www.onvif.org/ver10/schema ExtendedKeyUsage,omitempty"`
  2951. KeyLength int32 `xml:"http://www.onvif.org/ver10/schema KeyLength,omitempty"`
  2952. Version string `xml:"http://www.onvif.org/ver10/thermal/wsdl Version,omitempty"`
  2953. SerialNum string `xml:"http://www.onvif.org/ver10/thermal/wsdl SerialNum,omitempty"`
  2954. // Validity Range is from "NotBefore" to "NotAfter"; the corresponding DateTimeRange is from "From" to "Until"
  2955. SignatureAlgorithm string `xml:"http://www.onvif.org/ver10/thermal/wsdl SignatureAlgorithm,omitempty"`
  2956. Validity DateTimeRange `xml:"http://www.onvif.org/ver10/schema Validity,omitempty"`
  2957. Extension CertificateInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2958. }
  2959. // CertificateUsage type
  2960. type CertificateUsage struct {
  2961. Value string
  2962. Critical bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Critical,attr,omitempty"`
  2963. }
  2964. // CertificateInformationExtension type
  2965. type CertificateInformationExtension struct {
  2966. }
  2967. // Dot1XConfiguration type
  2968. type Dot1XConfiguration struct {
  2969. Dot1XConfigurationToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl Dot1XConfigurationToken,omitempty"`
  2970. Identity string `xml:"http://www.onvif.org/ver10/thermal/wsdl Identity,omitempty"`
  2971. AnonymousID string `xml:"http://www.onvif.org/ver10/thermal/wsdl AnonymousID,omitempty"`
  2972. //
  2973. // EAP Method type as defined in .
  2974. //
  2975. EAPMethod int32 `xml:"http://www.onvif.org/ver10/schema EAPMethod,omitempty"`
  2976. CACertificateID []string `xml:"http://www.onvif.org/ver10/thermal/wsdl CACertificateID,omitempty"`
  2977. EAPMethodConfiguration EAPMethodConfiguration `xml:"http://www.onvif.org/ver10/schema EAPMethodConfiguration,omitempty"`
  2978. Extension Dot1XConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2979. }
  2980. // Dot1XConfigurationExtension type
  2981. type Dot1XConfigurationExtension struct {
  2982. }
  2983. // EAPMethodConfiguration type
  2984. type EAPMethodConfiguration struct {
  2985. // Confgiuration information for TLS Method.
  2986. TLSConfiguration TLSConfiguration `xml:"http://www.onvif.org/ver10/schema TLSConfiguration,omitempty"`
  2987. // Password for those EAP Methods that require a password. The password shall never be returned on a get method.
  2988. Password string `xml:"http://www.onvif.org/ver10/thermal/wsdl Password,omitempty"`
  2989. Extension EapMethodExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  2990. }
  2991. // EapMethodExtension type
  2992. type EapMethodExtension struct {
  2993. }
  2994. // TLSConfiguration type
  2995. type TLSConfiguration struct {
  2996. CertificateID string `xml:"http://www.onvif.org/ver10/thermal/wsdl CertificateID,omitempty"`
  2997. }
  2998. // RelayOutputSettings type
  2999. type RelayOutputSettings struct {
  3000. //
  3001. // 'Bistable' or 'Monostable'
  3002. //
  3003. //
  3004. Mode RelayMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3005. // Time after which the relay returns to its idle state if it is in monostable mode. If the Mode field is set to bistable mode the value of the parameter can be ignored.
  3006. DelayTime Duration `xml:"http://www.onvif.org/ver10/schema DelayTime,omitempty"`
  3007. //
  3008. // 'open' or 'closed'
  3009. //
  3010. //
  3011. IdleState RelayIdleState `xml:"http://www.onvif.org/ver10/schema IdleState,omitempty"`
  3012. }
  3013. // RelayOutput type
  3014. type RelayOutput struct {
  3015. *DeviceEntity
  3016. Properties RelayOutputSettings `xml:"http://www.onvif.org/ver10/schema Properties,omitempty"`
  3017. }
  3018. // PTZNode type
  3019. type PTZNode struct {
  3020. *DeviceEntity
  3021. //
  3022. // A unique identifier that is used to reference PTZ Nodes.
  3023. //
  3024. Name Name `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,omitempty"`
  3025. //
  3026. // A list of Coordinate Systems available for the PTZ Node. For each Coordinate System, the PTZ Node MUST specify its allowed range.
  3027. //
  3028. SupportedPTZSpaces PTZSpaces `xml:"http://www.onvif.org/ver10/schema SupportedPTZSpaces,omitempty"`
  3029. //
  3030. // All preset operations MUST be available for this PTZ Node if one preset is supported.
  3031. //
  3032. MaximumNumberOfPresets int32 `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfPresets,omitempty"`
  3033. //
  3034. // A boolean operator specifying the availability of a home position. If set to true, the Home Position Operations MUST be available for this PTZ Node.
  3035. //
  3036. HomeSupported bool `xml:"http://www.onvif.org/ver10/thermal/wsdl HomeSupported,omitempty"`
  3037. //
  3038. // A list of supported Auxiliary commands. If the list is not empty, the Auxiliary Operations MUST be available for this PTZ Node.
  3039. //
  3040. AuxiliaryCommands []AuxiliaryData `xml:"http://www.onvif.org/ver10/schema AuxiliaryCommands,omitempty"`
  3041. Extension PTZNodeExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3042. //
  3043. // Indication whether the HomePosition of a Node is fixed or it can be changed via the SetHomePosition command.
  3044. //
  3045. FixedHomePosition bool `xml:"http://www.onvif.org/ver10/thermal/wsdl FixedHomePosition,attr,omitempty"`
  3046. //
  3047. // Indication whether the Node supports the geo-referenced move command.
  3048. //
  3049. GeoMove bool `xml:"http://www.onvif.org/ver10/thermal/wsdl GeoMove,attr,omitempty"`
  3050. }
  3051. // PTZNodeExtension type
  3052. type PTZNodeExtension struct {
  3053. //
  3054. // Detail of supported Preset Tour feature.
  3055. //
  3056. SupportedPresetTour PTZPresetTourSupported `xml:"http://www.onvif.org/ver10/schema SupportedPresetTour,omitempty"`
  3057. Extension PTZNodeExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3058. }
  3059. // PTZNodeExtension2 type
  3060. type PTZNodeExtension2 struct {
  3061. }
  3062. // PTZPresetTourSupported type
  3063. type PTZPresetTourSupported struct {
  3064. // Indicates number of preset tours that can be created. Required preset tour operations shall be available for this PTZ Node if one or more preset tour is supported.
  3065. MaximumNumberOfPresetTours int32 `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfPresetTours,omitempty"`
  3066. // Indicates which preset tour operations are available for this PTZ Node.
  3067. PTZPresetTourOperation []PTZPresetTourOperation `xml:"http://www.onvif.org/ver10/schema PTZPresetTourOperation,omitempty"`
  3068. Extension PTZPresetTourSupportedExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3069. }
  3070. // PTZPresetTourSupportedExtension type
  3071. type PTZPresetTourSupportedExtension struct {
  3072. }
  3073. // PTZConfiguration type
  3074. type PTZConfiguration struct {
  3075. *ConfigurationEntity
  3076. //
  3077. // A mandatory reference to the PTZ Node that the PTZ Configuration belongs to.
  3078. //
  3079. NodeToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl NodeToken,omitempty"`
  3080. //
  3081. // If the PTZ Node supports absolute Pan/Tilt movements, it shall specify one Absolute Pan/Tilt Position Space as default.
  3082. //
  3083. DefaultAbsolutePantTiltPositionSpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultAbsolutePantTiltPositionSpace,omitempty"`
  3084. //
  3085. // If the PTZ Node supports absolute zoom movements, it shall specify one Absolute Zoom Position Space as default.
  3086. //
  3087. DefaultAbsoluteZoomPositionSpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultAbsoluteZoomPositionSpace,omitempty"`
  3088. //
  3089. // If the PTZ Node supports relative Pan/Tilt movements, it shall specify one RelativePan/Tilt Translation Space as default.
  3090. //
  3091. DefaultRelativePanTiltTranslationSpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultRelativePanTiltTranslationSpace,omitempty"`
  3092. //
  3093. // If the PTZ Node supports relative zoom movements, it shall specify one Relative Zoom Translation Space as default.
  3094. //
  3095. DefaultRelativeZoomTranslationSpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultRelativeZoomTranslationSpace,omitempty"`
  3096. //
  3097. // If the PTZ Node supports continuous Pan/Tilt movements, it shall specify one Continuous Pan/Tilt Velocity Space as default.
  3098. //
  3099. DefaultContinuousPanTiltVelocitySpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultContinuousPanTiltVelocitySpace,omitempty"`
  3100. //
  3101. // If the PTZ Node supports continuous zoom movements, it shall specify one Continuous Zoom Velocity Space as default.
  3102. //
  3103. DefaultContinuousZoomVelocitySpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultContinuousZoomVelocitySpace,omitempty"`
  3104. //
  3105. // If the PTZ Node supports absolute or relative PTZ movements, it shall specify corresponding default Pan/Tilt and Zoom speeds.
  3106. //
  3107. DefaultPTZSpeed PTZSpeed `xml:"http://www.onvif.org/ver10/schema DefaultPTZSpeed,omitempty"`
  3108. //
  3109. // If the PTZ Node supports continuous movements, it shall specify a default timeout, after which the movement stops.
  3110. //
  3111. DefaultPTZTimeout Duration `xml:"http://www.onvif.org/ver10/schema DefaultPTZTimeout,omitempty"`
  3112. //
  3113. // The Pan/Tilt limits element should be present for a PTZ Node that supports an absolute Pan/Tilt. If the element is present it signals the support for configurable Pan/Tilt limits. If limits are enabled, the Pan/Tilt movements shall always stay within the specified range. The Pan/Tilt limits are disabled by setting the limits to –INF or +INF.
  3114. //
  3115. PanTiltLimits PanTiltLimits `xml:"http://www.onvif.org/ver10/schema PanTiltLimits,omitempty"`
  3116. //
  3117. // The Zoom limits element should be present for a PTZ Node that supports absolute zoom. If the element is present it signals the supports for configurable Zoom limits. If limits are enabled the zoom movements shall always stay within the specified range. The Zoom limits are disabled by settings the limits to -INF and +INF.
  3118. //
  3119. ZoomLimits ZoomLimits `xml:"http://www.onvif.org/ver10/schema ZoomLimits,omitempty"`
  3120. Extension PTZConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3121. // The optional acceleration ramp used by the device when moving.
  3122. MoveRamp int32 `xml:"http://www.onvif.org/ver10/schema MoveRamp,attr,omitempty"`
  3123. // The optional acceleration ramp used by the device when recalling presets.
  3124. PresetRamp int32 `xml:"http://www.onvif.org/ver10/schema PresetRamp,attr,omitempty"`
  3125. // The optional acceleration ramp used by the device when executing PresetTours.
  3126. PresetTourRamp int32 `xml:"http://www.onvif.org/ver10/schema PresetTourRamp,attr,omitempty"`
  3127. }
  3128. // PTZConfigurationExtension type
  3129. type PTZConfigurationExtension struct {
  3130. // Optional element to configure PT Control Direction related features.
  3131. PTControlDirection PTControlDirection `xml:"http://www.onvif.org/ver10/schema PTControlDirection,omitempty"`
  3132. Extension PTZConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3133. }
  3134. // PTZConfigurationExtension2 type
  3135. type PTZConfigurationExtension2 struct {
  3136. }
  3137. // PTControlDirection type
  3138. type PTControlDirection struct {
  3139. // Optional element to configure related parameters for E-Flip.
  3140. EFlip EFlip `xml:"http://www.onvif.org/ver10/schema EFlip,omitempty"`
  3141. // Optional element to configure related parameters for reversing of PT Control Direction.
  3142. Reverse Reverse `xml:"http://www.onvif.org/ver10/schema Reverse,omitempty"`
  3143. Extension PTControlDirectionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3144. }
  3145. // PTControlDirectionExtension type
  3146. type PTControlDirectionExtension struct {
  3147. }
  3148. // EFlip type
  3149. type EFlip struct {
  3150. // Parameter to enable/disable E-Flip feature.
  3151. Mode EFlipMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3152. }
  3153. // Reverse type
  3154. type Reverse struct {
  3155. // Parameter to enable/disable Reverse feature.
  3156. Mode ReverseMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3157. }
  3158. // PTZConfigurationOptions type
  3159. type PTZConfigurationOptions struct {
  3160. //
  3161. // A list of supported coordinate systems including their range limitations.
  3162. //
  3163. Spaces PTZSpaces `xml:"http://www.onvif.org/ver10/schema Spaces,omitempty"`
  3164. //
  3165. // A timeout Range within which Timeouts are accepted by the PTZ Node.
  3166. //
  3167. PTZTimeout DurationRange `xml:"http://www.onvif.org/ver10/schema PTZTimeout,omitempty"`
  3168. // Supported options for PT Direction Control.
  3169. PTControlDirection PTControlDirectionOptions `xml:"http://www.onvif.org/ver10/schema PTControlDirection,omitempty"`
  3170. Extension PTZConfigurationOptions2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3171. //
  3172. // The list of acceleration ramps supported by the device. The
  3173. // smallest acceleration value corresponds to the minimal index, the
  3174. // highest acceleration corresponds to the maximum index.
  3175. //
  3176. PTZRamps IntAttrList `xml:"http://www.onvif.org/ver10/schema PTZRamps,attr,omitempty"`
  3177. }
  3178. // PTZConfigurationOptions2 type
  3179. type PTZConfigurationOptions2 struct {
  3180. }
  3181. // PTControlDirectionOptions type
  3182. type PTControlDirectionOptions struct {
  3183. // Supported options for EFlip feature.
  3184. EFlip EFlipOptions `xml:"http://www.onvif.org/ver10/schema EFlip,omitempty"`
  3185. // Supported options for Reverse feature.
  3186. Reverse ReverseOptions `xml:"http://www.onvif.org/ver10/schema Reverse,omitempty"`
  3187. Extension PTControlDirectionOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3188. }
  3189. // PTControlDirectionOptionsExtension type
  3190. type PTControlDirectionOptionsExtension struct {
  3191. }
  3192. // EFlipOptions type
  3193. type EFlipOptions struct {
  3194. // Options of EFlip mode parameter.
  3195. Mode []EFlipMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3196. Extension EFlipOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3197. }
  3198. // EFlipOptionsExtension type
  3199. type EFlipOptionsExtension struct {
  3200. }
  3201. // ReverseOptions type
  3202. type ReverseOptions struct {
  3203. // Options of Reverse mode parameter.
  3204. Mode []ReverseMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3205. Extension ReverseOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3206. }
  3207. // ReverseOptionsExtension type
  3208. type ReverseOptionsExtension struct {
  3209. }
  3210. // PanTiltLimits type
  3211. type PanTiltLimits struct {
  3212. //
  3213. // A range of pan tilt limits.
  3214. //
  3215. Range Space2DDescription `xml:"http://www.onvif.org/ver10/schema Range,omitempty"`
  3216. }
  3217. // ZoomLimits type
  3218. type ZoomLimits struct {
  3219. //
  3220. // A range of zoom limit
  3221. //
  3222. Range Space1DDescription `xml:"http://www.onvif.org/ver10/schema Range,omitempty"`
  3223. }
  3224. // PTZSpaces type
  3225. type PTZSpaces struct {
  3226. //
  3227. // The Generic Pan/Tilt Position space is provided by every PTZ node that supports absolute Pan/Tilt, since it does not relate to a specific physical range.
  3228. // Instead, the range should be defined as the full range of the PTZ unit normalized to the range -1 to 1 resulting in the following space description.
  3229. //
  3230. AbsolutePanTiltPositionSpace []Space2DDescription `xml:"http://www.onvif.org/ver10/schema AbsolutePanTiltPositionSpace,omitempty"`
  3231. //
  3232. // The Generic Zoom Position Space is provided by every PTZ node that supports absolute Zoom, since it does not relate to a specific physical range.
  3233. // Instead, the range should be defined as the full range of the Zoom normalized to the range 0 (wide) to 1 (tele).
  3234. // There is no assumption about how the generic zoom range is mapped to magnification, FOV or other physical zoom dimension.
  3235. //
  3236. AbsoluteZoomPositionSpace []Space1DDescription `xml:"http://www.onvif.org/ver10/schema AbsoluteZoomPositionSpace,omitempty"`
  3237. //
  3238. // The Generic Pan/Tilt translation space is provided by every PTZ node that supports relative Pan/Tilt, since it does not relate to a specific physical range.
  3239. // Instead, the range should be defined as the full positive and negative translation range of the PTZ unit normalized to the range -1 to 1,
  3240. // where positive translation would mean clockwise rotation or movement in right/up direction resulting in the following space description.
  3241. //
  3242. RelativePanTiltTranslationSpace []Space2DDescription `xml:"http://www.onvif.org/ver10/schema RelativePanTiltTranslationSpace,omitempty"`
  3243. //
  3244. // The Generic Zoom Translation Space is provided by every PTZ node that supports relative Zoom, since it does not relate to a specific physical range.
  3245. // Instead, the corresponding absolute range should be defined as the full positive and negative translation range of the Zoom normalized to the range -1 to1,
  3246. // where a positive translation maps to a movement in TELE direction. The translation is signed to indicate direction (negative is to wide, positive is to tele).
  3247. // There is no assumption about how the generic zoom range is mapped to magnification, FOV or other physical zoom dimension. This results in the following space description.
  3248. //
  3249. RelativeZoomTranslationSpace []Space1DDescription `xml:"http://www.onvif.org/ver10/schema RelativeZoomTranslationSpace,omitempty"`
  3250. //
  3251. // The generic Pan/Tilt velocity space shall be provided by every PTZ node, since it does not relate to a specific physical range.
  3252. // Instead, the range should be defined as a range of the PTZ unit’s speed normalized to the range -1 to 1, where a positive velocity would map to clockwise
  3253. // rotation or movement in the right/up direction. A signed speed can be independently specified for the pan and tilt component resulting in the following space description.
  3254. //
  3255. ContinuousPanTiltVelocitySpace []Space2DDescription `xml:"http://www.onvif.org/ver10/schema ContinuousPanTiltVelocitySpace,omitempty"`
  3256. //
  3257. // The generic zoom velocity space specifies a zoom factor velocity without knowing the underlying physical model. The range should be normalized from -1 to 1,
  3258. // where a positive velocity would map to TELE direction. A generic zoom velocity space description resembles the following.
  3259. //
  3260. ContinuousZoomVelocitySpace []Space1DDescription `xml:"http://www.onvif.org/ver10/schema ContinuousZoomVelocitySpace,omitempty"`
  3261. //
  3262. // The speed space specifies the speed for a Pan/Tilt movement when moving to an absolute position or to a relative translation.
  3263. // In contrast to the velocity spaces, speed spaces do not contain any directional information. The speed of a combined Pan/Tilt
  3264. // movement is represented by a single non-negative scalar value.
  3265. //
  3266. PanTiltSpeedSpace []Space1DDescription `xml:"http://www.onvif.org/ver10/schema PanTiltSpeedSpace,omitempty"`
  3267. //
  3268. // The speed space specifies the speed for a Zoom movement when moving to an absolute position or to a relative translation.
  3269. // In contrast to the velocity spaces, speed spaces do not contain any directional information.
  3270. //
  3271. ZoomSpeedSpace []Space1DDescription `xml:"http://www.onvif.org/ver10/schema ZoomSpeedSpace,omitempty"`
  3272. Extension PTZSpacesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3273. }
  3274. // PTZSpacesExtension type
  3275. type PTZSpacesExtension struct {
  3276. }
  3277. // Space2DDescription type
  3278. type Space2DDescription struct {
  3279. //
  3280. // A URI of coordinate systems.
  3281. //
  3282. URI AnyURI `xml:"http://www.onvif.org/ver10/schema URI,omitempty"`
  3283. //
  3284. // A range of x-axis.
  3285. //
  3286. XRange FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl XRange,omitempty"`
  3287. //
  3288. // A range of y-axis.
  3289. //
  3290. YRange FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl YRange,omitempty"`
  3291. }
  3292. // Space1DDescription type
  3293. type Space1DDescription struct {
  3294. //
  3295. // A URI of coordinate systems.
  3296. //
  3297. URI AnyURI `xml:"http://www.onvif.org/ver10/schema URI,omitempty"`
  3298. //
  3299. // A range of x-axis.
  3300. //
  3301. XRange FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl XRange,omitempty"`
  3302. }
  3303. // PTZSpeed type
  3304. type PTZSpeed struct {
  3305. // Pan and tilt speed. The x component corresponds to pan and the y component to tilt. If omitted in a request, the current (if any) PanTilt movement should not be affected.
  3306. PanTilt Vector2D `xml:"http://www.onvif.org/ver10/schema PanTilt,omitempty"`
  3307. //
  3308. // A zoom speed. If omitted in a request, the current (if any) Zoom movement should not be affected.
  3309. //
  3310. Zoom Vector1D `xml:"http://www.onvif.org/ver10/schema Zoom,omitempty"`
  3311. }
  3312. // PTZPreset type
  3313. type PTZPreset struct {
  3314. //
  3315. // A list of preset position name.
  3316. //
  3317. Name Name `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,omitempty"`
  3318. //
  3319. // A list of preset position.
  3320. //
  3321. PTZPosition PTZVector `xml:"http://www.onvif.org/ver10/schema PTZPosition,omitempty"`
  3322. Token ReferenceToken `xml:"token,attr,omitempty"`
  3323. }
  3324. // PTZPresetTourSpot type
  3325. type PTZPresetTourSpot struct {
  3326. // Detail definition of preset position of the tour spot.
  3327. PresetDetail PTZPresetTourPresetDetail `xml:"http://www.onvif.org/ver10/schema PresetDetail,omitempty"`
  3328. // Optional parameter to specify Pan/Tilt and Zoom speed on moving toward this tour spot.
  3329. Speed PTZSpeed `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"`
  3330. // Optional parameter to specify time duration of staying on this tour sport.
  3331. StayTime Duration `xml:"http://www.onvif.org/ver10/schema StayTime,omitempty"`
  3332. Extension PTZPresetTourSpotExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3333. }
  3334. // PTZPresetTourSpotExtension type
  3335. type PTZPresetTourSpotExtension struct {
  3336. }
  3337. // PTZPresetTourPresetDetail type
  3338. type PTZPresetTourPresetDetail struct {
  3339. // Option to specify the preset position with Preset Token defined in advance.
  3340. PresetToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl PresetToken,omitempty"`
  3341. // Option to specify the preset position with the home position of this PTZ Node. "False" to this parameter shall be treated as an invalid argument.
  3342. Home bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Home,omitempty"`
  3343. // Option to specify the preset position with vector of PTZ node directly.
  3344. PTZPosition PTZVector `xml:"http://www.onvif.org/ver10/schema PTZPosition,omitempty"`
  3345. TypeExtension PTZPresetTourTypeExtension `xml:"http://www.onvif.org/ver10/schema TypeExtension,omitempty"`
  3346. }
  3347. // PTZPresetTourTypeExtension type
  3348. type PTZPresetTourTypeExtension struct {
  3349. }
  3350. // PTZPresetTourStatus type
  3351. type PTZPresetTourStatus struct {
  3352. // Indicates state of this preset tour by Idle/Touring/Paused.
  3353. State PTZPresetTourState `xml:"http://www.onvif.org/ver10/schema State,omitempty"`
  3354. // Indicates a tour spot currently staying.
  3355. CurrentTourSpot PTZPresetTourSpot `xml:"http://www.onvif.org/ver10/schema CurrentTourSpot,omitempty"`
  3356. Extension PTZPresetTourStatusExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3357. }
  3358. // PTZPresetTourStatusExtension type
  3359. type PTZPresetTourStatusExtension struct {
  3360. }
  3361. // PTZPresetTourStartingCondition type
  3362. type PTZPresetTourStartingCondition struct {
  3363. // Optional parameter to specify how many times the preset tour is recurred.
  3364. RecurringTime int32 `xml:"http://www.onvif.org/ver10/schema RecurringTime,omitempty"`
  3365. // Optional parameter to specify how long time duration the preset tour is recurred.
  3366. RecurringDuration Duration `xml:"http://www.onvif.org/ver10/schema RecurringDuration,omitempty"`
  3367. // Optional parameter to choose which direction the preset tour goes. Forward shall be chosen in case it is omitted.
  3368. Direction PTZPresetTourDirection `xml:"http://www.onvif.org/ver10/schema Direction,omitempty"`
  3369. Extension PTZPresetTourStartingConditionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3370. // Execute presets in random order. If set to true and Direction is also present, Direction will be ignored and presets of the Tour will be recalled randomly.
  3371. RandomPresetOrder bool `xml:"http://www.onvif.org/ver10/thermal/wsdl RandomPresetOrder,attr,omitempty"`
  3372. }
  3373. // PTZPresetTourStartingConditionExtension type
  3374. type PTZPresetTourStartingConditionExtension struct {
  3375. }
  3376. // PTZPresetTourPresetDetailOptions type
  3377. type PTZPresetTourPresetDetailOptions struct {
  3378. // A list of available Preset Tokens for tour spots.
  3379. PresetToken []ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl PresetToken,omitempty"`
  3380. // An option to indicate Home postion for tour spots.
  3381. Home bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Home,omitempty"`
  3382. // Supported range of Pan and Tilt for tour spots.
  3383. PanTiltPositionSpace Space2DDescription `xml:"http://www.onvif.org/ver10/schema PanTiltPositionSpace,omitempty"`
  3384. // Supported range of Zoom for a tour spot.
  3385. ZoomPositionSpace Space1DDescription `xml:"http://www.onvif.org/ver10/schema ZoomPositionSpace,omitempty"`
  3386. Extension PTZPresetTourPresetDetailOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3387. }
  3388. // PTZPresetTourPresetDetailOptionsExtension type
  3389. type PTZPresetTourPresetDetailOptionsExtension struct {
  3390. }
  3391. // PTZPresetTourStartingConditionOptions type
  3392. type PTZPresetTourStartingConditionOptions struct {
  3393. // Supported range of Recurring Time.
  3394. RecurringTime IntRange `xml:"http://www.onvif.org/ver10/schema RecurringTime,omitempty"`
  3395. // Supported range of Recurring Duration.
  3396. RecurringDuration DurationRange `xml:"http://www.onvif.org/ver10/schema RecurringDuration,omitempty"`
  3397. // Supported options for Direction of Preset Tour.
  3398. Direction []PTZPresetTourDirection `xml:"http://www.onvif.org/ver10/schema Direction,omitempty"`
  3399. Extension PTZPresetTourStartingConditionOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3400. }
  3401. // PTZPresetTourStartingConditionOptionsExtension type
  3402. type PTZPresetTourStartingConditionOptionsExtension struct {
  3403. }
  3404. // ImagingStatus type
  3405. type ImagingStatus struct {
  3406. FocusStatus FocusStatus `xml:"http://www.onvif.org/ver10/schema FocusStatus,omitempty"`
  3407. }
  3408. // FocusStatus type
  3409. type FocusStatus struct {
  3410. //
  3411. // Status of focus position.
  3412. //
  3413. Position float32 `xml:"http://www.onvif.org/ver10/schema Position,omitempty"`
  3414. //
  3415. // Status of focus MoveStatus.
  3416. //
  3417. MoveStatus MoveStatus `xml:"http://www.onvif.org/ver10/schema MoveStatus,omitempty"`
  3418. //
  3419. // Error status of focus.
  3420. //
  3421. Error string `xml:"http://www.onvif.org/ver10/thermal/wsdl Error,omitempty"`
  3422. }
  3423. // FocusConfiguration type
  3424. type FocusConfiguration struct {
  3425. AutoFocusMode AutoFocusMode `xml:"http://www.onvif.org/ver10/schema AutoFocusMode,omitempty"`
  3426. DefaultSpeed float32 `xml:"http://www.onvif.org/ver10/schema DefaultSpeed,omitempty"`
  3427. // Parameter to set autofocus near limit (unit: meter).
  3428. NearLimit float32 `xml:"http://www.onvif.org/ver10/schema NearLimit,omitempty"`
  3429. // Parameter to set autofocus far limit (unit: meter).
  3430. // If set to 0.0, infinity will be used.
  3431. FarLimit float32 `xml:"http://www.onvif.org/ver10/schema FarLimit,omitempty"`
  3432. }
  3433. // ImagingSettings type
  3434. type ImagingSettings struct {
  3435. // Enabled/disabled BLC mode (on/off).
  3436. BacklightCompensation BacklightCompensation `xml:"http://www.onvif.org/ver10/schema BacklightCompensation,omitempty"`
  3437. // Image brightness (unit unspecified).
  3438. Brightness float32 `xml:"http://www.onvif.org/ver10/schema Brightness,omitempty"`
  3439. // Color saturation of the image (unit unspecified).
  3440. ColorSaturation float32 `xml:"http://www.onvif.org/ver10/schema ColorSaturation,omitempty"`
  3441. // Contrast of the image (unit unspecified).
  3442. Contrast float32 `xml:"http://www.onvif.org/ver10/schema Contrast,omitempty"`
  3443. // Exposure mode of the device.
  3444. Exposure Exposure `xml:"http://www.onvif.org/ver10/schema Exposure,omitempty"`
  3445. // Focus configuration.
  3446. Focus FocusConfiguration `xml:"http://www.onvif.org/ver10/schema Focus,omitempty"`
  3447. // Infrared Cutoff Filter settings.
  3448. IrCutFilter IrCutFilterMode `xml:"http://www.onvif.org/ver10/schema IrCutFilter,omitempty"`
  3449. // Sharpness of the Video image.
  3450. Sharpness float32 `xml:"http://www.onvif.org/ver10/schema Sharpness,omitempty"`
  3451. // WDR settings.
  3452. WideDynamicRange WideDynamicRange `xml:"http://www.onvif.org/ver10/schema WideDynamicRange,omitempty"`
  3453. // White balance settings.
  3454. WhiteBalance WhiteBalance `xml:"http://www.onvif.org/ver10/schema WhiteBalance,omitempty"`
  3455. Extension ImagingSettingsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3456. }
  3457. // ImagingSettingsExtension type
  3458. type ImagingSettingsExtension struct {
  3459. }
  3460. // Exposure type
  3461. type Exposure struct {
  3462. //
  3463. // Exposure Mode
  3464. //
  3465. //
  3466. Mode ExposureMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3467. //
  3468. // The exposure priority mode (low noise/framerate).
  3469. //
  3470. Priority ExposurePriority `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"`
  3471. //
  3472. // Rectangular exposure mask.
  3473. //
  3474. Window Rectangle `xml:"http://www.onvif.org/ver10/schema Window,omitempty"`
  3475. //
  3476. // Minimum value of exposure time range allowed to be used by the algorithm.
  3477. //
  3478. MinExposureTime float32 `xml:"http://www.onvif.org/ver10/schema MinExposureTime,omitempty"`
  3479. //
  3480. // Maximum value of exposure time range allowed to be used by the algorithm.
  3481. //
  3482. MaxExposureTime float32 `xml:"http://www.onvif.org/ver10/schema MaxExposureTime,omitempty"`
  3483. //
  3484. // Minimum value of the sensor gain range that is allowed to be used by the algorithm.
  3485. //
  3486. MinGain float32 `xml:"http://www.onvif.org/ver10/schema MinGain,omitempty"`
  3487. //
  3488. // Maximum value of the sensor gain range that is allowed to be used by the algorithm.
  3489. //
  3490. MaxGain float32 `xml:"http://www.onvif.org/ver10/schema MaxGain,omitempty"`
  3491. //
  3492. // Minimum value of the iris range allowed to be used by the algorithm.
  3493. //
  3494. MinIris float32 `xml:"http://www.onvif.org/ver10/schema MinIris,omitempty"`
  3495. //
  3496. // Maximum value of the iris range allowed to be used by the algorithm.
  3497. //
  3498. MaxIris float32 `xml:"http://www.onvif.org/ver10/schema MaxIris,omitempty"`
  3499. //
  3500. // The fixed exposure time used by the image sensor (μs).
  3501. //
  3502. ExposureTime float32 `xml:"http://www.onvif.org/ver10/schema ExposureTime,omitempty"`
  3503. //
  3504. // The fixed gain used by the image sensor (dB).
  3505. //
  3506. Gain float32 `xml:"http://www.onvif.org/ver10/schema Gain,omitempty"`
  3507. //
  3508. // The fixed attenuation of input light affected by the iris (dB). 0dB maps to a fully opened iris.
  3509. //
  3510. Iris float32 `xml:"http://www.onvif.org/ver10/schema Iris,omitempty"`
  3511. }
  3512. // WideDynamicRange type
  3513. type WideDynamicRange struct {
  3514. //
  3515. // White dynamic range (on/off)
  3516. //
  3517. Mode WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3518. //
  3519. // Optional level parameter (unitless)
  3520. //
  3521. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"`
  3522. }
  3523. // BacklightCompensation type
  3524. type BacklightCompensation struct {
  3525. // Backlight compensation mode (on/off).
  3526. Mode BacklightCompensationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3527. // Optional level parameter (unit unspecified).
  3528. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"`
  3529. }
  3530. // ImagingOptions type
  3531. type ImagingOptions struct {
  3532. BacklightCompensation BacklightCompensationOptions `xml:"http://www.onvif.org/ver10/schema BacklightCompensation,omitempty"`
  3533. Brightness FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Brightness,omitempty"`
  3534. ColorSaturation FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl ColorSaturation,omitempty"`
  3535. Contrast FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Contrast,omitempty"`
  3536. Exposure ExposureOptions `xml:"http://www.onvif.org/ver10/schema Exposure,omitempty"`
  3537. Focus FocusOptions `xml:"http://www.onvif.org/ver10/schema Focus,omitempty"`
  3538. IrCutFilterModes []IrCutFilterMode `xml:"http://www.onvif.org/ver10/schema IrCutFilterModes,omitempty"`
  3539. Sharpness FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Sharpness,omitempty"`
  3540. WideDynamicRange WideDynamicRangeOptions `xml:"http://www.onvif.org/ver10/schema WideDynamicRange,omitempty"`
  3541. WhiteBalance WhiteBalanceOptions `xml:"http://www.onvif.org/ver10/schema WhiteBalance,omitempty"`
  3542. }
  3543. // WideDynamicRangeOptions type
  3544. type WideDynamicRangeOptions struct {
  3545. Mode []WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3546. Level FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Level,omitempty"`
  3547. }
  3548. // BacklightCompensationOptions type
  3549. type BacklightCompensationOptions struct {
  3550. Mode []WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3551. Level FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Level,omitempty"`
  3552. }
  3553. // FocusOptions type
  3554. type FocusOptions struct {
  3555. AutoFocusModes []AutoFocusMode `xml:"http://www.onvif.org/ver10/schema AutoFocusModes,omitempty"`
  3556. DefaultSpeed FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl DefaultSpeed,omitempty"`
  3557. NearLimit FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl NearLimit,omitempty"`
  3558. FarLimit FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl FarLimit,omitempty"`
  3559. }
  3560. // ExposureOptions type
  3561. type ExposureOptions struct {
  3562. Mode []ExposureMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3563. Priority []ExposurePriority `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"`
  3564. MinExposureTime FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MinExposureTime,omitempty"`
  3565. MaxExposureTime FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MaxExposureTime,omitempty"`
  3566. MinGain FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MinGain,omitempty"`
  3567. MaxGain FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MaxGain,omitempty"`
  3568. MinIris FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MinIris,omitempty"`
  3569. MaxIris FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MaxIris,omitempty"`
  3570. ExposureTime FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl ExposureTime,omitempty"`
  3571. Gain FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Gain,omitempty"`
  3572. Iris FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Iris,omitempty"`
  3573. }
  3574. // WhiteBalanceOptions type
  3575. type WhiteBalanceOptions struct {
  3576. Mode []WhiteBalanceMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3577. YrGain FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl YrGain,omitempty"`
  3578. YbGain FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl YbGain,omitempty"`
  3579. }
  3580. // WhiteBalance type
  3581. type WhiteBalance struct {
  3582. // Auto whitebalancing mode (auto/manual).
  3583. Mode WhiteBalanceMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3584. // Rgain (unitless).
  3585. CrGain float32 `xml:"http://www.onvif.org/ver10/schema CrGain,omitempty"`
  3586. // Bgain (unitless).
  3587. CbGain float32 `xml:"http://www.onvif.org/ver10/schema CbGain,omitempty"`
  3588. }
  3589. // ImagingStatus20 type
  3590. type ImagingStatus20 struct {
  3591. //
  3592. // Status of focus.
  3593. //
  3594. FocusStatus20 FocusStatus20 `xml:"http://www.onvif.org/ver10/schema FocusStatus20,omitempty"`
  3595. Extension ImagingStatus20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3596. }
  3597. // ImagingStatus20Extension type
  3598. type ImagingStatus20Extension struct {
  3599. }
  3600. // FocusStatus20 type
  3601. type FocusStatus20 struct {
  3602. //
  3603. // Status of focus position.
  3604. //
  3605. Position float32 `xml:"http://www.onvif.org/ver10/schema Position,omitempty"`
  3606. //
  3607. // Status of focus MoveStatus.
  3608. //
  3609. MoveStatus MoveStatus `xml:"http://www.onvif.org/ver10/schema MoveStatus,omitempty"`
  3610. //
  3611. // Error status of focus.
  3612. //
  3613. Error string `xml:"http://www.onvif.org/ver10/thermal/wsdl Error,omitempty"`
  3614. Extension FocusStatus20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3615. }
  3616. // FocusStatus20Extension type
  3617. type FocusStatus20Extension struct {
  3618. }
  3619. // ImagingSettings20 type
  3620. type ImagingSettings20 struct {
  3621. // Enabled/disabled BLC mode (on/off).
  3622. BacklightCompensation BacklightCompensation20 `xml:"http://www.onvif.org/ver10/schema BacklightCompensation,omitempty"`
  3623. // Image brightness (unit unspecified).
  3624. Brightness float32 `xml:"http://www.onvif.org/ver10/schema Brightness,omitempty"`
  3625. // Color saturation of the image (unit unspecified).
  3626. ColorSaturation float32 `xml:"http://www.onvif.org/ver10/schema ColorSaturation,omitempty"`
  3627. // Contrast of the image (unit unspecified).
  3628. Contrast float32 `xml:"http://www.onvif.org/ver10/schema Contrast,omitempty"`
  3629. // Exposure mode of the device.
  3630. Exposure Exposure20 `xml:"http://www.onvif.org/ver10/schema Exposure,omitempty"`
  3631. // Focus configuration.
  3632. Focus FocusConfiguration20 `xml:"http://www.onvif.org/ver10/schema Focus,omitempty"`
  3633. // Infrared Cutoff Filter settings.
  3634. IrCutFilter IrCutFilterMode `xml:"http://www.onvif.org/ver10/schema IrCutFilter,omitempty"`
  3635. // Sharpness of the Video image.
  3636. Sharpness float32 `xml:"http://www.onvif.org/ver10/schema Sharpness,omitempty"`
  3637. // WDR settings.
  3638. WideDynamicRange WideDynamicRange20 `xml:"http://www.onvif.org/ver10/schema WideDynamicRange,omitempty"`
  3639. // White balance settings.
  3640. WhiteBalance WhiteBalance20 `xml:"http://www.onvif.org/ver10/schema WhiteBalance,omitempty"`
  3641. Extension ImagingSettingsExtension20 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3642. }
  3643. // ImagingSettingsExtension20 type
  3644. type ImagingSettingsExtension20 struct {
  3645. // Optional element to configure Image Stabilization feature.
  3646. ImageStabilization ImageStabilization `xml:"http://www.onvif.org/ver10/schema ImageStabilization,omitempty"`
  3647. Extension ImagingSettingsExtension202 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3648. }
  3649. // ImagingSettingsExtension202 type
  3650. type ImagingSettingsExtension202 struct {
  3651. // An optional parameter applied to only auto mode to adjust timing of toggling Ir cut filter.
  3652. IrCutFilterAutoAdjustment []IrCutFilterAutoAdjustment `xml:"http://www.onvif.org/ver10/schema IrCutFilterAutoAdjustment,omitempty"`
  3653. Extension ImagingSettingsExtension203 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3654. }
  3655. // ImagingSettingsExtension203 type
  3656. type ImagingSettingsExtension203 struct {
  3657. // Optional element to configure Image Contrast Compensation.
  3658. ToneCompensation ToneCompensation `xml:"http://www.onvif.org/ver10/schema ToneCompensation,omitempty"`
  3659. // Optional element to configure Image Defogging.
  3660. Defogging Defogging `xml:"http://www.onvif.org/ver10/schema Defogging,omitempty"`
  3661. // Optional element to configure Image Noise Reduction.
  3662. NoiseReduction NoiseReduction `xml:"http://www.onvif.org/ver10/schema NoiseReduction,omitempty"`
  3663. Extension ImagingSettingsExtension204 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3664. }
  3665. // ImagingSettingsExtension204 type
  3666. type ImagingSettingsExtension204 struct {
  3667. }
  3668. // ImageStabilization type
  3669. type ImageStabilization struct {
  3670. // Parameter to enable/disable Image Stabilization feature.
  3671. Mode ImageStabilizationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3672. // Optional level parameter (unit unspecified)
  3673. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"`
  3674. Extension ImageStabilizationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3675. }
  3676. // ImageStabilizationExtension type
  3677. type ImageStabilizationExtension struct {
  3678. }
  3679. // IrCutFilterAutoAdjustment type
  3680. type IrCutFilterAutoAdjustment struct {
  3681. // Specifies which boundaries to automatically toggle Ir cut filter following parameters are applied to. Its options shall be chosen from tt:IrCutFilterAutoBoundaryType.
  3682. BoundaryType string `xml:"http://www.onvif.org/ver10/thermal/wsdl BoundaryType,omitempty"`
  3683. // Adjusts boundary exposure level for toggling Ir cut filter to on/off specified with unitless normalized value from +1.0 to -1.0. Zero is default and -1.0 is the darkest adjustment (Unitless).
  3684. BoundaryOffset float32 `xml:"http://www.onvif.org/ver10/schema BoundaryOffset,omitempty"`
  3685. // Delay time of toggling Ir cut filter to on/off after crossing of the boundary exposure levels.
  3686. ResponseTime Duration `xml:"http://www.onvif.org/ver10/schema ResponseTime,omitempty"`
  3687. Extension IrCutFilterAutoAdjustmentExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3688. }
  3689. // IrCutFilterAutoAdjustmentExtension type
  3690. type IrCutFilterAutoAdjustmentExtension struct {
  3691. }
  3692. // WideDynamicRange20 type
  3693. type WideDynamicRange20 struct {
  3694. // Wide dynamic range mode (on/off).
  3695. Mode WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3696. // Optional level parameter (unit unspecified).
  3697. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"`
  3698. }
  3699. // BacklightCompensation20 type
  3700. type BacklightCompensation20 struct {
  3701. // Backlight compensation mode (on/off).
  3702. Mode BacklightCompensationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3703. // Optional level parameter (unit unspecified).
  3704. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"`
  3705. }
  3706. // Exposure20 type
  3707. type Exposure20 struct {
  3708. //
  3709. // Exposure Mode
  3710. //
  3711. //
  3712. Mode ExposureMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3713. //
  3714. // The exposure priority mode (low noise/framerate).
  3715. //
  3716. Priority ExposurePriority `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"`
  3717. //
  3718. // Rectangular exposure mask.
  3719. //
  3720. Window Rectangle `xml:"http://www.onvif.org/ver10/schema Window,omitempty"`
  3721. //
  3722. // Minimum value of exposure time range allowed to be used by the algorithm.
  3723. //
  3724. MinExposureTime float32 `xml:"http://www.onvif.org/ver10/schema MinExposureTime,omitempty"`
  3725. //
  3726. // Maximum value of exposure time range allowed to be used by the algorithm.
  3727. //
  3728. MaxExposureTime float32 `xml:"http://www.onvif.org/ver10/schema MaxExposureTime,omitempty"`
  3729. //
  3730. // Minimum value of the sensor gain range that is allowed to be used by the algorithm.
  3731. //
  3732. MinGain float32 `xml:"http://www.onvif.org/ver10/schema MinGain,omitempty"`
  3733. //
  3734. // Maximum value of the sensor gain range that is allowed to be used by the algorithm.
  3735. //
  3736. MaxGain float32 `xml:"http://www.onvif.org/ver10/schema MaxGain,omitempty"`
  3737. //
  3738. // Minimum value of the iris range allowed to be used by the algorithm. 0dB maps to a fully opened iris and positive values map to higher attenuation.
  3739. //
  3740. MinIris float32 `xml:"http://www.onvif.org/ver10/schema MinIris,omitempty"`
  3741. //
  3742. // Maximum value of the iris range allowed to be used by the algorithm. 0dB maps to a fully opened iris and positive values map to higher attenuation.
  3743. //
  3744. MaxIris float32 `xml:"http://www.onvif.org/ver10/schema MaxIris,omitempty"`
  3745. //
  3746. // The fixed exposure time used by the image sensor (μs).
  3747. //
  3748. ExposureTime float32 `xml:"http://www.onvif.org/ver10/schema ExposureTime,omitempty"`
  3749. //
  3750. // The fixed gain used by the image sensor (dB).
  3751. //
  3752. Gain float32 `xml:"http://www.onvif.org/ver10/schema Gain,omitempty"`
  3753. //
  3754. // The fixed attenuation of input light affected by the iris (dB). 0dB maps to a fully opened iris and positive values map to higher attenuation.
  3755. //
  3756. Iris float32 `xml:"http://www.onvif.org/ver10/schema Iris,omitempty"`
  3757. }
  3758. // ToneCompensation type
  3759. type ToneCompensation struct {
  3760. // Parameter to enable/disable or automatic ToneCompensation feature. Its options shall be chosen from tt:ToneCompensationMode Type.
  3761. Mode string `xml:"http://www.onvif.org/ver10/thermal/wsdl Mode,omitempty"`
  3762. // Optional level parameter specified with unitless normalized value from 0.0 to +1.0.
  3763. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"`
  3764. Extension ToneCompensationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3765. }
  3766. // ToneCompensationExtension type
  3767. type ToneCompensationExtension struct {
  3768. }
  3769. // Defogging type
  3770. type Defogging struct {
  3771. // Parameter to enable/disable or automatic Defogging feature. Its options shall be chosen from tt:DefoggingMode Type.
  3772. Mode string `xml:"http://www.onvif.org/ver10/thermal/wsdl Mode,omitempty"`
  3773. // Optional level parameter specified with unitless normalized value from 0.0 to +1.0.
  3774. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"`
  3775. Extension DefoggingExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3776. }
  3777. // DefoggingExtension type
  3778. type DefoggingExtension struct {
  3779. }
  3780. // NoiseReduction type
  3781. type NoiseReduction struct {
  3782. // Level parameter specified with unitless normalized value from 0.0 to +1.0. Level=0 means no noise reduction or minimal noise reduction.
  3783. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"`
  3784. }
  3785. // ImagingOptions20 type
  3786. type ImagingOptions20 struct {
  3787. //
  3788. // Valid range of Backlight Compensation.
  3789. //
  3790. BacklightCompensation BacklightCompensationOptions20 `xml:"http://www.onvif.org/ver10/schema BacklightCompensation,omitempty"`
  3791. //
  3792. // Valid range of Brightness.
  3793. //
  3794. Brightness FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Brightness,omitempty"`
  3795. //
  3796. // Valid range of Color Saturation.
  3797. //
  3798. ColorSaturation FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl ColorSaturation,omitempty"`
  3799. //
  3800. // Valid range of Contrast.
  3801. //
  3802. Contrast FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Contrast,omitempty"`
  3803. //
  3804. // Valid range of Exposure.
  3805. //
  3806. Exposure ExposureOptions20 `xml:"http://www.onvif.org/ver10/schema Exposure,omitempty"`
  3807. //
  3808. // Valid range of Focus.
  3809. //
  3810. Focus FocusOptions20 `xml:"http://www.onvif.org/ver10/schema Focus,omitempty"`
  3811. //
  3812. // Valid range of IrCutFilterModes.
  3813. //
  3814. IrCutFilterModes []IrCutFilterMode `xml:"http://www.onvif.org/ver10/schema IrCutFilterModes,omitempty"`
  3815. //
  3816. // Valid range of Sharpness.
  3817. //
  3818. Sharpness FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Sharpness,omitempty"`
  3819. //
  3820. // Valid range of WideDynamicRange.
  3821. //
  3822. WideDynamicRange WideDynamicRangeOptions20 `xml:"http://www.onvif.org/ver10/schema WideDynamicRange,omitempty"`
  3823. //
  3824. // Valid range of WhiteBalance.
  3825. //
  3826. WhiteBalance WhiteBalanceOptions20 `xml:"http://www.onvif.org/ver10/schema WhiteBalance,omitempty"`
  3827. Extension ImagingOptions20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3828. }
  3829. // ImagingOptions20Extension type
  3830. type ImagingOptions20Extension struct {
  3831. // Options of parameters for Image Stabilization feature.
  3832. ImageStabilization ImageStabilizationOptions `xml:"http://www.onvif.org/ver10/schema ImageStabilization,omitempty"`
  3833. Extension ImagingOptions20Extension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3834. }
  3835. // ImagingOptions20Extension2 type
  3836. type ImagingOptions20Extension2 struct {
  3837. // Options of parameters for adjustment of Ir cut filter auto mode.
  3838. IrCutFilterAutoAdjustment IrCutFilterAutoAdjustmentOptions `xml:"http://www.onvif.org/ver10/schema IrCutFilterAutoAdjustment,omitempty"`
  3839. Extension ImagingOptions20Extension3 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3840. }
  3841. // ImagingOptions20Extension3 type
  3842. type ImagingOptions20Extension3 struct {
  3843. // Options of parameters for Tone Compensation feature.
  3844. ToneCompensationOptions ToneCompensationOptions `xml:"http://www.onvif.org/ver10/schema ToneCompensationOptions,omitempty"`
  3845. // Options of parameters for Defogging feature.
  3846. DefoggingOptions DefoggingOptions `xml:"http://www.onvif.org/ver10/schema DefoggingOptions,omitempty"`
  3847. // Options of parameter for Noise Reduction feature.
  3848. NoiseReductionOptions NoiseReductionOptions `xml:"http://www.onvif.org/ver10/schema NoiseReductionOptions,omitempty"`
  3849. Extension ImagingOptions20Extension4 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3850. }
  3851. // ImagingOptions20Extension4 type
  3852. type ImagingOptions20Extension4 struct {
  3853. }
  3854. // ImageStabilizationOptions type
  3855. type ImageStabilizationOptions struct {
  3856. // Supported options of Image Stabilization mode parameter.
  3857. Mode []ImageStabilizationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3858. // Valid range of the Image Stabilization.
  3859. Level FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Level,omitempty"`
  3860. Extension ImageStabilizationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3861. }
  3862. // ImageStabilizationOptionsExtension type
  3863. type ImageStabilizationOptionsExtension struct {
  3864. }
  3865. // IrCutFilterAutoAdjustmentOptions type
  3866. type IrCutFilterAutoAdjustmentOptions struct {
  3867. // Supported options of boundary types for adjustment of Ir cut filter auto mode. The opptions shall be chosen from tt:IrCutFilterAutoBoundaryType.
  3868. BoundaryType []string `xml:"http://www.onvif.org/ver10/thermal/wsdl BoundaryType,omitempty"`
  3869. // Indicates whether or not boundary offset for toggling Ir cut filter is supported.
  3870. BoundaryOffset bool `xml:"http://www.onvif.org/ver10/thermal/wsdl BoundaryOffset,omitempty"`
  3871. // Supported range of delay time for toggling Ir cut filter.
  3872. ResponseTimeRange DurationRange `xml:"http://www.onvif.org/ver10/schema ResponseTimeRange,omitempty"`
  3873. Extension IrCutFilterAutoAdjustmentOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3874. }
  3875. // IrCutFilterAutoAdjustmentOptionsExtension type
  3876. type IrCutFilterAutoAdjustmentOptionsExtension struct {
  3877. }
  3878. // WideDynamicRangeOptions20 type
  3879. type WideDynamicRangeOptions20 struct {
  3880. Mode []WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3881. Level FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Level,omitempty"`
  3882. }
  3883. // BacklightCompensationOptions20 type
  3884. type BacklightCompensationOptions20 struct {
  3885. //
  3886. // 'ON' or 'OFF'
  3887. //
  3888. Mode []BacklightCompensationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3889. //
  3890. // Level range of BacklightCompensation.
  3891. //
  3892. Level FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Level,omitempty"`
  3893. }
  3894. // ExposureOptions20 type
  3895. type ExposureOptions20 struct {
  3896. //
  3897. // Exposure Mode
  3898. //
  3899. //
  3900. Mode []ExposureMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3901. //
  3902. // The exposure priority mode (low noise/framerate).
  3903. //
  3904. Priority []ExposurePriority `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"`
  3905. //
  3906. // Valid range of the Minimum ExposureTime.
  3907. //
  3908. MinExposureTime FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MinExposureTime,omitempty"`
  3909. //
  3910. // Valid range of the Maximum ExposureTime.
  3911. //
  3912. MaxExposureTime FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MaxExposureTime,omitempty"`
  3913. //
  3914. // Valid range of the Minimum Gain.
  3915. //
  3916. MinGain FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MinGain,omitempty"`
  3917. //
  3918. // Valid range of the Maximum Gain.
  3919. //
  3920. MaxGain FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MaxGain,omitempty"`
  3921. //
  3922. // Valid range of the Minimum Iris.
  3923. //
  3924. MinIris FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MinIris,omitempty"`
  3925. //
  3926. // Valid range of the Maximum Iris.
  3927. //
  3928. MaxIris FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl MaxIris,omitempty"`
  3929. //
  3930. // Valid range of the ExposureTime.
  3931. //
  3932. ExposureTime FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl ExposureTime,omitempty"`
  3933. //
  3934. // Valid range of the Gain.
  3935. //
  3936. Gain FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Gain,omitempty"`
  3937. //
  3938. // Valid range of the Iris.
  3939. //
  3940. Iris FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Iris,omitempty"`
  3941. }
  3942. // WhiteBalance20 type
  3943. type WhiteBalance20 struct {
  3944. //
  3945. // 'AUTO' or 'MANUAL'
  3946. //
  3947. Mode WhiteBalanceMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3948. //
  3949. // Rgain (unitless).
  3950. //
  3951. CrGain float32 `xml:"http://www.onvif.org/ver10/schema CrGain,omitempty"`
  3952. //
  3953. // Bgain (unitless).
  3954. //
  3955. CbGain float32 `xml:"http://www.onvif.org/ver10/schema CbGain,omitempty"`
  3956. Extension WhiteBalance20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3957. }
  3958. // WhiteBalance20Extension type
  3959. type WhiteBalance20Extension struct {
  3960. }
  3961. // FocusConfiguration20 type
  3962. type FocusConfiguration20 struct {
  3963. //
  3964. // Mode of auto focus.
  3965. //
  3966. // Note: for devices supporting both manual and auto operation at the same time manual operation may be supported even if the Mode parameter is set to Auto.
  3967. //
  3968. AutoFocusMode AutoFocusMode `xml:"http://www.onvif.org/ver10/schema AutoFocusMode,omitempty"`
  3969. DefaultSpeed float32 `xml:"http://www.onvif.org/ver10/schema DefaultSpeed,omitempty"`
  3970. // Parameter to set autofocus near limit (unit: meter).
  3971. NearLimit float32 `xml:"http://www.onvif.org/ver10/schema NearLimit,omitempty"`
  3972. // Parameter to set autofocus far limit (unit: meter).
  3973. FarLimit float32 `xml:"http://www.onvif.org/ver10/schema FarLimit,omitempty"`
  3974. Extension FocusConfiguration20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3975. // Zero or more modes as defined in enumeration tt:AFModes.
  3976. AFMode StringAttrList `xml:"http://www.onvif.org/ver10/schema AFMode,attr,omitempty"`
  3977. }
  3978. // FocusConfiguration20Extension type
  3979. type FocusConfiguration20Extension struct {
  3980. }
  3981. // WhiteBalanceOptions20 type
  3982. type WhiteBalanceOptions20 struct {
  3983. //
  3984. // Mode of WhiteBalance.
  3985. //
  3986. //
  3987. Mode []WhiteBalanceMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  3988. YrGain FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl YrGain,omitempty"`
  3989. YbGain FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl YbGain,omitempty"`
  3990. Extension WhiteBalanceOptions20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  3991. }
  3992. // WhiteBalanceOptions20Extension type
  3993. type WhiteBalanceOptions20Extension struct {
  3994. }
  3995. // FocusOptions20 type
  3996. type FocusOptions20 struct {
  3997. //
  3998. // Supported modes for auto focus.
  3999. //
  4000. //
  4001. AutoFocusModes []AutoFocusMode `xml:"http://www.onvif.org/ver10/schema AutoFocusModes,omitempty"`
  4002. //
  4003. // Valid range of DefaultSpeed.
  4004. //
  4005. DefaultSpeed FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl DefaultSpeed,omitempty"`
  4006. //
  4007. // Valid range of NearLimit.
  4008. //
  4009. NearLimit FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl NearLimit,omitempty"`
  4010. //
  4011. // Valid range of FarLimit.
  4012. //
  4013. FarLimit FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl FarLimit,omitempty"`
  4014. Extension FocusOptions20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4015. }
  4016. // FocusOptions20Extension type
  4017. type FocusOptions20Extension struct {
  4018. // Supported options for auto focus. Options shall be chosen from tt:AFModes.
  4019. AFModes StringAttrList `xml:"http://www.onvif.org/ver10/schema AFModes,omitempty"`
  4020. }
  4021. // ToneCompensationOptions type
  4022. type ToneCompensationOptions struct {
  4023. // Supported options for Tone Compensation mode. Its options shall be chosen from tt:ToneCompensationMode Type.
  4024. Mode []string `xml:"http://www.onvif.org/ver10/thermal/wsdl Mode,omitempty"`
  4025. // Indicates whether or not support Level parameter for Tone Compensation.
  4026. Level bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Level,omitempty"`
  4027. }
  4028. // DefoggingOptions type
  4029. type DefoggingOptions struct {
  4030. // Supported options for Defogging mode. Its options shall be chosen from tt:DefoggingMode Type.
  4031. Mode []string `xml:"http://www.onvif.org/ver10/thermal/wsdl Mode,omitempty"`
  4032. // Indicates whether or not support Level parameter for Defogging.
  4033. Level bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Level,omitempty"`
  4034. }
  4035. // NoiseReductionOptions type
  4036. type NoiseReductionOptions struct {
  4037. // Indicates whether or not support Level parameter for NoiseReduction.
  4038. Level bool `xml:"http://www.onvif.org/ver10/thermal/wsdl Level,omitempty"`
  4039. }
  4040. // MessageExtension type
  4041. type MessageExtension struct {
  4042. }
  4043. // ItemList type
  4044. type ItemList struct {
  4045. SimpleItem []struct {
  4046. // Item name.
  4047. Name string `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,attr,omitempty"`
  4048. // Item value. The type is defined in the corresponding description.
  4049. Value AnySimpleType `xml:"Value,attr,omitempty"`
  4050. } `xml:"SimpleItem,omitempty"`
  4051. ElementItem []struct {
  4052. // Item name.
  4053. Name string `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,attr,omitempty"`
  4054. } `xml:"ElementItem,omitempty"`
  4055. Extension ItemListExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4056. }
  4057. // ItemListExtension type
  4058. type ItemListExtension struct {
  4059. }
  4060. // MessageDescription type
  4061. type MessageDescription struct {
  4062. // Set of tokens producing this message. The list may only contain SimpleItemDescription items.
  4063. // The set of tokens identify the component within the WS-Endpoint, which is responsible for the producing the message.
  4064. // For analytics events the token set shall include the VideoSourceConfigurationToken, the VideoAnalyticsConfigurationToken
  4065. // and the name of the analytics module or rule.
  4066. //
  4067. Source ItemListDescription `xml:"http://www.onvif.org/ver10/schema Source,omitempty"`
  4068. // Describes optional message payload parameters that may be used as key. E.g. object IDs of tracked objects are conveyed as key.
  4069. Key ItemListDescription `xml:"http://www.onvif.org/ver10/schema Key,omitempty"`
  4070. // Describes the payload of the message.
  4071. Data ItemListDescription `xml:"http://www.onvif.org/ver10/schema Data,omitempty"`
  4072. Extension MessageDescriptionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4073. // Must be set to true when the described Message relates to a property. An alternative term of "property" is a "state" in contrast to a pure event, which contains relevant information for only a single point in time.Default is false.
  4074. IsProperty bool `xml:"http://www.onvif.org/ver10/thermal/wsdl IsProperty,attr,omitempty"`
  4075. }
  4076. // MessageDescriptionExtension type
  4077. type MessageDescriptionExtension struct {
  4078. }
  4079. // ItemListDescription type
  4080. type ItemListDescription struct {
  4081. SimpleItemDescription []struct {
  4082. // Item name. Must be unique within a list.
  4083. Name string `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,attr,omitempty"`
  4084. Type QName `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty"`
  4085. } `xml:"SimpleItemDescription,omitempty"`
  4086. ElementItemDescription []struct {
  4087. // Item name. Must be unique within a list.
  4088. Name string `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,attr,omitempty"`
  4089. // The type of the item. The Type must reference a defined type.
  4090. Type QName `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty"`
  4091. } `xml:"ElementItemDescription,omitempty"`
  4092. Extension ItemListDescriptionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4093. }
  4094. // ItemListDescriptionExtension type
  4095. type ItemListDescriptionExtension struct {
  4096. }
  4097. // Polyline type
  4098. type Polyline struct {
  4099. Point []Vector `xml:"http://www.onvif.org/ver10/schema Point,omitempty"`
  4100. }
  4101. // AnalyticsEngineConfiguration type
  4102. type AnalyticsEngineConfiguration struct {
  4103. AnalyticsModule []Config `xml:"http://www.onvif.org/ver10/thermal/wsdl AnalyticsModule,omitempty"`
  4104. Extension AnalyticsEngineConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4105. }
  4106. // AnalyticsEngineConfigurationExtension type
  4107. type AnalyticsEngineConfigurationExtension struct {
  4108. }
  4109. // RuleEngineConfiguration type
  4110. type RuleEngineConfiguration struct {
  4111. Rule []Config `xml:"http://www.onvif.org/ver10/thermal/wsdl Rule,omitempty"`
  4112. Extension RuleEngineConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4113. }
  4114. // RuleEngineConfigurationExtension type
  4115. type RuleEngineConfigurationExtension struct {
  4116. }
  4117. // Config type
  4118. type Config struct {
  4119. // List of configuration parameters as defined in the correspding description.
  4120. Parameters ItemList `xml:"http://www.onvif.org/ver10/schema Parameters,omitempty"`
  4121. // Name of the configuration.
  4122. Name string `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,attr,omitempty"`
  4123. // The Type attribute specifies the type of rule and shall be equal to value of one of Name attributes of ConfigDescription elements returned by GetSupportedRules and GetSupportedAnalyticsModules command.
  4124. Type QName `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty"`
  4125. }
  4126. // ConfigDescription type
  4127. type ConfigDescription struct {
  4128. //
  4129. // List describing the configuration parameters. The names of the parameters must be unique. If possible SimpleItems
  4130. // should be used to transport the information to ease parsing of dynamically defined messages by a client
  4131. // application.
  4132. //
  4133. Parameters ItemListDescription `xml:"http://www.onvif.org/ver10/schema Parameters,omitempty"`
  4134. Messages []struct {
  4135. *MessageDescription
  4136. //
  4137. // The ParentTopic labels the message (e.g. "nn:RuleEngine/LineCrossing"). The real message can extend the ParentTopic
  4138. // by for example the name of the instaniated rule (e.g. "nn:RuleEngine/LineCrossing/corssMyFirstLine").
  4139. // Even without knowing the complete topic name, the subscriber will be able to distiguish the
  4140. // messages produced by different rule instances of the same type via the Source fields of the message.
  4141. // There the name of the rule instance, which produced the message, must be listed.
  4142. //
  4143. ParentTopic string `xml:"http://www.onvif.org/ver10/thermal/wsdl ParentTopic,omitempty"`
  4144. } `xml:"Messages,omitempty"`
  4145. Extension ConfigDescriptionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4146. // The Name attribute (e.g. "tt::LineDetector") uniquely identifies the type of rule, not a type definition in a schema.
  4147. Name QName `xml:"http://www.onvif.org/ver10/schema Name,attr,omitempty"`
  4148. // The fixed attribute signals that it is not allowed to add or remove this type of configuration.
  4149. Fixed bool `xml:"fixed,attr,omitempty"`
  4150. // The maxInstances attribute signals the maximum number of instances per configuration.
  4151. MaxInstances int32 `xml:"maxInstances,attr,omitempty"`
  4152. }
  4153. // ConfigDescriptionExtension type
  4154. type ConfigDescriptionExtension struct {
  4155. }
  4156. // SupportedRules type
  4157. type SupportedRules struct {
  4158. // Lists the location of all schemas that are referenced in the rules.
  4159. RuleContentSchemaLocation []AnyURI `xml:"http://www.onvif.org/ver10/schema RuleContentSchemaLocation,omitempty"`
  4160. // List of rules supported by the Video Analytics configuration..
  4161. RuleDescription []ConfigDescription `xml:"http://www.onvif.org/ver10/schema RuleDescription,omitempty"`
  4162. Extension SupportedRulesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4163. }
  4164. // SupportedRulesExtension type
  4165. type SupportedRulesExtension struct {
  4166. }
  4167. // SupportedAnalyticsModules type
  4168. type SupportedAnalyticsModules struct {
  4169. // It optionally contains a list of URLs that provide the location of schema files.
  4170. // These schema files describe the types and elements used in the analytics module descriptions.
  4171. // Analytics module descriptions that reference types or elements imported from any ONVIF defined schema files
  4172. // need not explicitly list those schema files.
  4173. AnalyticsModuleContentSchemaLocation []AnyURI `xml:"http://www.onvif.org/ver10/schema AnalyticsModuleContentSchemaLocation,omitempty"`
  4174. AnalyticsModuleDescription []ConfigDescription `xml:"http://www.onvif.org/ver10/schema AnalyticsModuleDescription,omitempty"`
  4175. Extension SupportedAnalyticsModulesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4176. }
  4177. // SupportedAnalyticsModulesExtension type
  4178. type SupportedAnalyticsModulesExtension struct {
  4179. }
  4180. // PolylineArray type
  4181. type PolylineArray struct {
  4182. // Contains array of Polyline
  4183. Segment []Polyline `xml:"http://www.onvif.org/ver10/schema Segment,omitempty"`
  4184. Extension PolylineArrayExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4185. }
  4186. // PolylineArrayExtension type
  4187. type PolylineArrayExtension struct {
  4188. }
  4189. // PaneLayout type
  4190. type PaneLayout struct {
  4191. // Reference to the configuration of the streaming and coding parameters.
  4192. Pane ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl Pane,omitempty"`
  4193. // Describes the location and size of the area on the monitor. The area coordinate values are espressed in normalized units [-1.0, 1.0].
  4194. Area Rectangle `xml:"http://www.onvif.org/ver10/schema Area,omitempty"`
  4195. }
  4196. // Layout type
  4197. type Layout struct {
  4198. // List of panes assembling the display layout.
  4199. PaneLayout []PaneLayout `xml:"http://www.onvif.org/ver10/schema PaneLayout,omitempty"`
  4200. Extension LayoutExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4201. }
  4202. // LayoutExtension type
  4203. type LayoutExtension struct {
  4204. }
  4205. // LayoutOptions type
  4206. type LayoutOptions struct {
  4207. // Lists the possible Pane Layouts of the Video Output
  4208. PaneLayoutOptions []PaneLayoutOptions `xml:"http://www.onvif.org/ver10/schema PaneLayoutOptions,omitempty"`
  4209. Extension LayoutOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4210. }
  4211. // LayoutOptionsExtension type
  4212. type LayoutOptionsExtension struct {
  4213. }
  4214. // PaneLayoutOptions type
  4215. type PaneLayoutOptions struct {
  4216. // List of areas assembling a layout. Coordinate values are in the range [-1.0, 1.0].
  4217. Area []Rectangle `xml:"http://www.onvif.org/ver10/schema Area,omitempty"`
  4218. Extension PaneOptionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4219. }
  4220. // PaneOptionExtension type
  4221. type PaneOptionExtension struct {
  4222. }
  4223. // Receiver type
  4224. type Receiver struct {
  4225. // Unique identifier of the receiver.
  4226. Token ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl Token,omitempty"`
  4227. // Describes the configuration of the receiver.
  4228. Configuration ReceiverConfiguration `xml:"http://www.onvif.org/ver10/schema Configuration,omitempty"`
  4229. }
  4230. // ReceiverConfiguration type
  4231. type ReceiverConfiguration struct {
  4232. // The following connection modes are defined:
  4233. Mode ReceiverMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  4234. // Details of the URI to which the receiver should connect.
  4235. MediaUri AnyURI `xml:"http://www.onvif.org/ver10/schema MediaUri,omitempty"`
  4236. // Stream connection parameters.
  4237. StreamSetup StreamSetup `xml:"http://www.onvif.org/ver10/schema StreamSetup,omitempty"`
  4238. }
  4239. // SourceReference type
  4240. type SourceReference struct {
  4241. Token ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl Token,omitempty"`
  4242. Type AnyURI `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty"`
  4243. }
  4244. // DateTimeRange type
  4245. type DateTimeRange struct {
  4246. From string `xml:"http://www.onvif.org/ver10/schema From,omitempty"`
  4247. Until string `xml:"http://www.onvif.org/ver10/schema Until,omitempty"`
  4248. }
  4249. // SearchScope type
  4250. type SearchScope struct {
  4251. // A list of sources that are included in the scope. If this list is included, only data from one of these sources shall be searched.
  4252. IncludedSources []SourceReference `xml:"http://www.onvif.org/ver10/schema IncludedSources,omitempty"`
  4253. // A list of recordings that are included in the scope. If this list is included, only data from one of these recordings shall be searched.
  4254. IncludedRecordings []RecordingReference `xml:"http://www.onvif.org/ver10/schema IncludedRecordings,omitempty"`
  4255. // An xpath expression used to specify what recordings to search. Only those recordings with an RecordingInformation structure that matches the filter shall be searched.
  4256. RecordingInformationFilter XPathExpression `xml:"http://www.onvif.org/ver10/schema RecordingInformationFilter,omitempty"`
  4257. // Extension point
  4258. Extension SearchScopeExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4259. }
  4260. // SearchScopeExtension type
  4261. type SearchScopeExtension struct {
  4262. }
  4263. // RecordingSourceInformation type
  4264. type RecordingSourceInformation struct {
  4265. //
  4266. // Identifier for the source chosen by the client that creates the structure.
  4267. // This identifier is opaque to the device. Clients may use any type of URI for this field. A device shall support at least 128 characters.
  4268. SourceId AnyURI `xml:"http://www.onvif.org/ver10/schema SourceId,omitempty"`
  4269. // Informative user readable name of the source, e.g. "Camera23". A device shall support at least 20 characters.
  4270. Name Name `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,omitempty"`
  4271. // Informative description of the physical location of the source, e.g. the coordinates on a map.
  4272. Location Description `xml:"http://www.onvif.org/ver10/schema Location,omitempty"`
  4273. // Informative description of the source.
  4274. Description Description `xml:"http://www.onvif.org/ver10/schema Description,omitempty"`
  4275. // URI provided by the service supplying data to be recorded. A device shall support at least 128 characters.
  4276. Address AnyURI `xml:"http://www.onvif.org/ver10/schema Address,omitempty"`
  4277. }
  4278. // TrackInformation type
  4279. type TrackInformation struct {
  4280. TrackToken TrackReference `xml:"http://www.onvif.org/ver10/schema TrackToken,omitempty"`
  4281. // Type of the track: "Video", "Audio" or "Metadata".
  4282. // The track shall only be able to hold data of that type.
  4283. TrackType TrackType `xml:"http://www.onvif.org/ver10/schema TrackType,omitempty"`
  4284. // Informative description of the contents of the track.
  4285. Description Description `xml:"http://www.onvif.org/ver10/schema Description,omitempty"`
  4286. // The start date and time of the oldest recorded data in the track.
  4287. DataFrom string `xml:"http://www.onvif.org/ver10/schema DataFrom,omitempty"`
  4288. // The stop date and time of the newest recorded data in the track.
  4289. DataTo string `xml:"http://www.onvif.org/ver10/schema DataTo,omitempty"`
  4290. }
  4291. // TrackAttributes type
  4292. type TrackAttributes struct {
  4293. // The basic information about the track. Note that a track may represent a single contiguous time span or consist of multiple slices.
  4294. TrackInformation TrackInformation `xml:"http://www.onvif.org/ver10/schema TrackInformation,omitempty"`
  4295. // If the track is a video track, exactly one of this structure shall be present and contain the video attributes.
  4296. VideoAttributes VideoAttributes `xml:"http://www.onvif.org/ver10/schema VideoAttributes,omitempty"`
  4297. // If the track is an audio track, exactly one of this structure shall be present and contain the audio attributes.
  4298. AudioAttributes AudioAttributes `xml:"http://www.onvif.org/ver10/schema AudioAttributes,omitempty"`
  4299. // If the track is an metadata track, exactly one of this structure shall be present and contain the metadata attributes.
  4300. MetadataAttributes MetadataAttributes `xml:"http://www.onvif.org/ver10/schema MetadataAttributes,omitempty"`
  4301. Extension TrackAttributesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4302. }
  4303. // TrackAttributesExtension type
  4304. type TrackAttributesExtension struct {
  4305. }
  4306. // VideoAttributes type
  4307. type VideoAttributes struct {
  4308. // Average bitrate in kbps.
  4309. Bitrate int32 `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"`
  4310. // The width of the video in pixels.
  4311. Width int32 `xml:"http://www.onvif.org/ver10/schema Width,omitempty"`
  4312. // The height of the video in pixels.
  4313. Height int32 `xml:"http://www.onvif.org/ver10/schema Height,omitempty"`
  4314. // Video encoding of the track. Use value from tt:VideoEncoding for MPEG4. Otherwise use values from tt:VideoEncodingMimeNames and .
  4315. Encoding string `xml:"http://www.onvif.org/ver10/thermal/wsdl Encoding,omitempty"`
  4316. // Average framerate in frames per second.
  4317. Framerate float32 `xml:"http://www.onvif.org/ver10/schema Framerate,omitempty"`
  4318. }
  4319. // AudioAttributes type
  4320. type AudioAttributes struct {
  4321. // The bitrate in kbps.
  4322. Bitrate int32 `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"`
  4323. // Audio encoding of the track. Use values from tt:AudioEncoding for G711 and AAC. Otherwise use values from tt:AudioEncodingMimeNames and .
  4324. Encoding string `xml:"http://www.onvif.org/ver10/thermal/wsdl Encoding,omitempty"`
  4325. // The sample rate in kHz.
  4326. Samplerate int32 `xml:"http://www.onvif.org/ver10/schema Samplerate,omitempty"`
  4327. }
  4328. // MetadataAttributes type
  4329. type MetadataAttributes struct {
  4330. // Indicates that there can be PTZ data in the metadata track in the specified time interval.
  4331. CanContainPTZ bool `xml:"http://www.onvif.org/ver10/thermal/wsdl CanContainPTZ,omitempty"`
  4332. // Indicates that there can be analytics data in the metadata track in the specified time interval.
  4333. CanContainAnalytics bool `xml:"http://www.onvif.org/ver10/thermal/wsdl CanContainAnalytics,omitempty"`
  4334. // Indicates that there can be notifications in the metadata track in the specified time interval.
  4335. CanContainNotifications bool `xml:"http://www.onvif.org/ver10/thermal/wsdl CanContainNotifications,omitempty"`
  4336. // List of all PTZ spaces active for recording. Note that events are only recorded on position changes and the actual point of recording may not necessarily contain an event of the specified type.
  4337. PtzSpaces StringAttrList `xml:"http://www.onvif.org/ver10/schema PtzSpaces,attr,omitempty"`
  4338. }
  4339. // RecordingJobConfiguration type
  4340. type RecordingJobConfiguration struct {
  4341. // Identifies the recording to which this job shall store the received data.
  4342. RecordingToken RecordingReference `xml:"http://www.onvif.org/ver10/schema RecordingToken,omitempty"`
  4343. // The mode of the job. If it is idle, nothing shall happen. If it is active, the device shall try
  4344. // to obtain data from the receivers. A client shall use GetRecordingJobState to determine if data transfer is really taking place.
  4345. // The only valid values for Mode shall be “Idle” and “Active”.
  4346. Mode RecordingJobMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"`
  4347. // This shall be a non-negative number. If there are multiple recording jobs that store data to
  4348. // the same track, the device will only store the data for the recording job with the highest
  4349. // priority. The priority is specified per recording job, but the device shall determine the priority
  4350. // of each track individually. If there are two recording jobs with the same priority, the device
  4351. // shall record the data corresponding to the recording job that was activated the latest.
  4352. Priority int32 `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"`
  4353. // Source of the recording.
  4354. Source []RecordingJobSource `xml:"http://www.onvif.org/ver10/schema Source,omitempty"`
  4355. Extension RecordingJobConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4356. // This attribute adds an additional requirement for activating the recording job.
  4357. // If this optional field is provided the job shall only record if the schedule exists and is active.
  4358. //
  4359. ScheduleToken string `xml:"http://www.onvif.org/ver10/thermal/wsdl ScheduleToken,attr,omitempty"`
  4360. }
  4361. // RecordingJobConfigurationExtension type
  4362. type RecordingJobConfigurationExtension struct {
  4363. }
  4364. // RecordingJobSource type
  4365. type RecordingJobSource struct {
  4366. // This field shall be a reference to the source of the data. The type of the source
  4367. // is determined by the attribute Type in the SourceToken structure. If Type is
  4368. // http://www.onvif.org/ver10/schema/Receiver, the token is a ReceiverReference. In this case
  4369. // the device shall receive the data over the network. If Type is
  4370. // http://www.onvif.org/ver10/schema/Profile, the token identifies a media profile, instructing the
  4371. // device to obtain data from a profile that exists on the local device.
  4372. SourceToken SourceReference `xml:"http://www.onvif.org/ver10/schema SourceToken,omitempty"`
  4373. // If this field is TRUE, and if the SourceToken is omitted, the device
  4374. // shall create a receiver object (through the receiver service) and assign the
  4375. // ReceiverReference to the SourceToken field. When retrieving the RecordingJobConfiguration
  4376. // from the device, the AutoCreateReceiver field shall never be present.
  4377. AutoCreateReceiver bool `xml:"http://www.onvif.org/ver10/thermal/wsdl AutoCreateReceiver,omitempty"`
  4378. // List of tracks associated with the recording.
  4379. Tracks []RecordingJobTrack `xml:"http://www.onvif.org/ver10/schema Tracks,omitempty"`
  4380. Extension RecordingJobSourceExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4381. }
  4382. // RecordingJobSourceExtension type
  4383. type RecordingJobSourceExtension struct {
  4384. }
  4385. // RecordingJobTrack type
  4386. type RecordingJobTrack struct {
  4387. // If the received RTSP stream contains multiple tracks of the same type, the
  4388. // SourceTag differentiates between those Tracks. This field can be ignored in case of recording a local source.
  4389. SourceTag string `xml:"http://www.onvif.org/ver10/thermal/wsdl SourceTag,omitempty"`
  4390. // The destination is the tracktoken of the track to which the device shall store the
  4391. // received data.
  4392. Destination TrackReference `xml:"http://www.onvif.org/ver10/schema Destination,omitempty"`
  4393. }
  4394. // RecordingJobStateInformation type
  4395. type RecordingJobStateInformation struct {
  4396. // Identification of the recording that the recording job records to.
  4397. RecordingToken RecordingReference `xml:"http://www.onvif.org/ver10/schema RecordingToken,omitempty"`
  4398. // Holds the aggregated state over the whole RecordingJobInformation structure.
  4399. State RecordingJobState `xml:"http://www.onvif.org/ver10/schema State,omitempty"`
  4400. // Identifies the data source of the recording job.
  4401. Sources []RecordingJobStateSource `xml:"http://www.onvif.org/ver10/schema Sources,omitempty"`
  4402. Extension RecordingJobStateInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4403. }
  4404. // RecordingJobStateInformationExtension type
  4405. type RecordingJobStateInformationExtension struct {
  4406. }
  4407. // RecordingJobStateSource type
  4408. type RecordingJobStateSource struct {
  4409. // Identifies the data source of the recording job.
  4410. SourceToken SourceReference `xml:"http://www.onvif.org/ver10/schema SourceToken,omitempty"`
  4411. // Holds the aggregated state over all substructures of RecordingJobStateSource.
  4412. State RecordingJobState `xml:"http://www.onvif.org/ver10/schema State,omitempty"`
  4413. // List of track items.
  4414. Tracks RecordingJobStateTracks `xml:"http://www.onvif.org/ver10/schema Tracks,omitempty"`
  4415. }
  4416. // RecordingJobStateTracks type
  4417. type RecordingJobStateTracks struct {
  4418. Track []RecordingJobStateTrack `xml:"http://www.onvif.org/ver10/schema Track,omitempty"`
  4419. }
  4420. // RecordingJobStateTrack type
  4421. type RecordingJobStateTrack struct {
  4422. // Identifies the track of the data source that provides the data.
  4423. SourceTag string `xml:"http://www.onvif.org/ver10/thermal/wsdl SourceTag,omitempty"`
  4424. // Indicates the destination track.
  4425. Destination TrackReference `xml:"http://www.onvif.org/ver10/schema Destination,omitempty"`
  4426. // Optionally holds an implementation defined string value that describes the error.
  4427. // The string should be in the English language.
  4428. Error string `xml:"http://www.onvif.org/ver10/thermal/wsdl Error,omitempty"`
  4429. // Provides the job state of the track. The valid
  4430. // values of state shall be “Idle”, “Active” and “Error”. If state equals “Error”, the Error field may be filled in with an implementation defined value.
  4431. State RecordingJobState `xml:"http://www.onvif.org/ver10/schema State,omitempty"`
  4432. }
  4433. // AnalyticsEngine type
  4434. type AnalyticsEngine struct {
  4435. *ConfigurationEntity
  4436. AnalyticsEngineConfiguration AnalyticsDeviceEngineConfiguration `xml:"http://www.onvif.org/ver10/schema AnalyticsEngineConfiguration,omitempty"`
  4437. }
  4438. // AnalyticsDeviceEngineConfiguration type
  4439. type AnalyticsDeviceEngineConfiguration struct {
  4440. EngineConfiguration []EngineConfiguration `xml:"http://www.onvif.org/ver10/schema EngineConfiguration,omitempty"`
  4441. Extension AnalyticsDeviceEngineConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4442. }
  4443. // AnalyticsDeviceEngineConfigurationExtension type
  4444. type AnalyticsDeviceEngineConfigurationExtension struct {
  4445. }
  4446. // EngineConfiguration type
  4447. type EngineConfiguration struct {
  4448. VideoAnalyticsConfiguration VideoAnalyticsConfiguration `xml:"http://www.onvif.org/ver10/schema VideoAnalyticsConfiguration,omitempty"`
  4449. AnalyticsEngineInputInfo AnalyticsEngineInputInfo `xml:"http://www.onvif.org/ver10/schema AnalyticsEngineInputInfo,omitempty"`
  4450. }
  4451. // AnalyticsEngineInputInfo type
  4452. type AnalyticsEngineInputInfo struct {
  4453. InputInfo Config `xml:"http://www.onvif.org/ver10/thermal/wsdl InputInfo,omitempty"`
  4454. Extension AnalyticsEngineInputInfoExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4455. }
  4456. // AnalyticsEngineInputInfoExtension type
  4457. type AnalyticsEngineInputInfoExtension struct {
  4458. }
  4459. // AnalyticsEngineInput type
  4460. type AnalyticsEngineInput struct {
  4461. *ConfigurationEntity
  4462. SourceIdentification SourceIdentification `xml:"http://www.onvif.org/ver10/schema SourceIdentification,omitempty"`
  4463. VideoInput VideoEncoderConfiguration `xml:"http://www.onvif.org/ver10/schema VideoInput,omitempty"`
  4464. MetadataInput MetadataInput `xml:"http://www.onvif.org/ver10/schema MetadataInput,omitempty"`
  4465. }
  4466. // SourceIdentification type
  4467. type SourceIdentification struct {
  4468. Name string `xml:"http://www.onvif.org/ver10/thermal/wsdl Name,omitempty"`
  4469. Token []ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl Token,omitempty"`
  4470. Extension SourceIdentificationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4471. }
  4472. // SourceIdentificationExtension type
  4473. type SourceIdentificationExtension struct {
  4474. }
  4475. // MetadataInput type
  4476. type MetadataInput struct {
  4477. MetadataConfig []Config `xml:"http://www.onvif.org/ver10/thermal/wsdl MetadataConfig,omitempty"`
  4478. Extension MetadataInputExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4479. }
  4480. // MetadataInputExtension type
  4481. type MetadataInputExtension struct {
  4482. }
  4483. // ActionEngineEventPayload type
  4484. type ActionEngineEventPayload struct {
  4485. // Request Message
  4486. RequestInfo Envelope `xml:"RequestInfo,omitempty"`
  4487. // Response Message
  4488. ResponseInfo Envelope `xml:"ResponseInfo,omitempty"`
  4489. // Fault Message
  4490. Fault Fault `xml:"Fault,omitempty"`
  4491. Extension ActionEngineEventPayloadExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4492. }
  4493. // ActionEngineEventPayloadExtension type
  4494. type ActionEngineEventPayloadExtension struct {
  4495. }
  4496. // AudioClassCandidate type
  4497. type AudioClassCandidate struct {
  4498. // Indicates audio class label
  4499. Type AudioClassType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"`
  4500. // A likelihood/probability that the corresponding audio event belongs to this class. The sum of the likelihoods shall NOT exceed 1
  4501. Likelihood float32 `xml:"http://www.onvif.org/ver10/schema Likelihood,omitempty"`
  4502. }
  4503. // AudioClassDescriptor type
  4504. type AudioClassDescriptor struct {
  4505. // Array of audio class label and class probability
  4506. ClassCandidate []AudioClassCandidate `xml:"http://www.onvif.org/ver10/schema ClassCandidate,omitempty"`
  4507. Extension AudioClassDescriptorExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4508. }
  4509. // AudioClassDescriptorExtension type
  4510. type AudioClassDescriptorExtension struct {
  4511. }
  4512. // ActiveConnection type
  4513. type ActiveConnection struct {
  4514. CurrentBitrate float32 `xml:"http://www.onvif.org/ver10/schema CurrentBitrate,omitempty"`
  4515. CurrentFps float32 `xml:"http://www.onvif.org/ver10/schema CurrentFps,omitempty"`
  4516. }
  4517. // ProfileStatus type
  4518. type ProfileStatus struct {
  4519. ActiveConnections []ActiveConnection `xml:"http://www.onvif.org/ver10/schema ActiveConnections,omitempty"`
  4520. Extension ProfileStatusExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4521. }
  4522. // ProfileStatusExtension type
  4523. type ProfileStatusExtension struct {
  4524. }
  4525. // OSDReference type
  4526. type OSDReference struct {
  4527. Value ReferenceToken
  4528. }
  4529. // OSDPosConfiguration type
  4530. type OSDPosConfiguration struct {
  4531. // For OSD position type, following are the pre-defined:
  4532. //
  4533. Type string `xml:"http://www.onvif.org/ver10/thermal/wsdl Type,omitempty"`
  4534. Pos Vector `xml:"http://www.onvif.org/ver10/schema Pos,omitempty"`
  4535. Extension OSDPosConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4536. }
  4537. // OSDPosConfigurationExtension type
  4538. type OSDPosConfigurationExtension struct {
  4539. }
  4540. // OSDColor type
  4541. type OSDColor struct {
  4542. Color Color `xml:"http://www.onvif.org/ver10/thermal/wsdl Color,omitempty"`
  4543. Transparent int32 `xml:"http://www.onvif.org/ver10/schema Transparent,attr,omitempty"`
  4544. }
  4545. // OSDTextConfiguration type
  4546. type OSDTextConfiguration struct {
  4547. //
  4548. // The following OSD Text Type are defined:
  4549. //
  4550. Type string `xml:"http://www.onvif.org/ver10/thermal/wsdl Type,omitempty"`
  4551. //
  4552. // List of supported OSD date formats. This element shall be present when the value of Type field has Date or DateAndTime. The following DateFormat are defined:
  4553. //
  4554. DateFormat string `xml:"http://www.onvif.org/ver10/thermal/wsdl DateFormat,omitempty"`
  4555. //
  4556. // List of supported OSD time formats. This element shall be present when the value of Type field has Time or DateAndTime. The following TimeFormat are defined:
  4557. //
  4558. TimeFormat string `xml:"http://www.onvif.org/ver10/thermal/wsdl TimeFormat,omitempty"`
  4559. // Font size of the text in pt.
  4560. FontSize int32 `xml:"http://www.onvif.org/ver10/schema FontSize,omitempty"`
  4561. // Font color of the text.
  4562. FontColor OSDColor `xml:"http://www.onvif.org/ver10/schema FontColor,omitempty"`
  4563. // Background color of the text.
  4564. BackgroundColor OSDColor `xml:"http://www.onvif.org/ver10/schema BackgroundColor,omitempty"`
  4565. // The content of text to be displayed.
  4566. PlainText string `xml:"http://www.onvif.org/ver10/thermal/wsdl PlainText,omitempty"`
  4567. Extension OSDTextConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4568. // This flag is applicable for Type Plain and defaults to true. When set to false the PlainText content will not be persistent across device reboots.
  4569. IsPersistentText bool `xml:"http://www.onvif.org/ver10/thermal/wsdl IsPersistentText,attr,omitempty"`
  4570. }
  4571. // OSDTextConfigurationExtension type
  4572. type OSDTextConfigurationExtension struct {
  4573. }
  4574. // OSDImgConfiguration type
  4575. type OSDImgConfiguration struct {
  4576. // The URI of the image which to be displayed.
  4577. ImgPath AnyURI `xml:"http://www.onvif.org/ver10/schema ImgPath,omitempty"`
  4578. Extension OSDImgConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4579. }
  4580. // OSDImgConfigurationExtension type
  4581. type OSDImgConfigurationExtension struct {
  4582. }
  4583. // ColorspaceRange type
  4584. type ColorspaceRange struct {
  4585. X FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl X,omitempty"`
  4586. Y FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Y,omitempty"`
  4587. Z FloatRange `xml:"http://www.onvif.org/ver10/thermal/wsdl Z,omitempty"`
  4588. //
  4589. // Acceptable values are the same as in tt:Color.
  4590. //
  4591. Colorspace AnyURI `xml:"http://www.onvif.org/ver10/schema Colorspace,omitempty"`
  4592. }
  4593. // ColorOptions type
  4594. type ColorOptions struct {
  4595. // List the supported color.
  4596. ColorList []Color `xml:"http://www.onvif.org/ver10/thermal/wsdl ColorList,omitempty"`
  4597. // Define the range of color supported.
  4598. ColorspaceRange []ColorspaceRange `xml:"http://www.onvif.org/ver10/schema ColorspaceRange,omitempty"`
  4599. }
  4600. // OSDColorOptions type
  4601. type OSDColorOptions struct {
  4602. // Optional list of supported colors.
  4603. Color ColorOptions `xml:"http://www.onvif.org/ver10/schema Color,omitempty"`
  4604. // Range of the transparent level. Larger means more tranparent.
  4605. Transparent IntRange `xml:"http://www.onvif.org/ver10/schema Transparent,omitempty"`
  4606. Extension OSDColorOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4607. }
  4608. // OSDColorOptionsExtension type
  4609. type OSDColorOptionsExtension struct {
  4610. }
  4611. // OSDTextOptions type
  4612. type OSDTextOptions struct {
  4613. // List of supported OSD text type. When a device indicates the supported number relating to Text type in MaximumNumberOfOSDs, the type shall be presented.
  4614. Type []string `xml:"http://www.onvif.org/ver10/thermal/wsdl Type,omitempty"`
  4615. // Range of the font size value.
  4616. FontSizeRange IntRange `xml:"http://www.onvif.org/ver10/schema FontSizeRange,omitempty"`
  4617. // List of supported date format.
  4618. DateFormat []string `xml:"http://www.onvif.org/ver10/thermal/wsdl DateFormat,omitempty"`
  4619. // List of supported time format.
  4620. TimeFormat []string `xml:"http://www.onvif.org/ver10/thermal/wsdl TimeFormat,omitempty"`
  4621. // List of supported font color.
  4622. FontColor OSDColorOptions `xml:"http://www.onvif.org/ver10/schema FontColor,omitempty"`
  4623. // List of supported background color.
  4624. BackgroundColor OSDColorOptions `xml:"http://www.onvif.org/ver10/schema BackgroundColor,omitempty"`
  4625. Extension OSDTextOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4626. }
  4627. // OSDTextOptionsExtension type
  4628. type OSDTextOptionsExtension struct {
  4629. }
  4630. // OSDImgOptions type
  4631. type OSDImgOptions struct {
  4632. // List of available image URIs.
  4633. ImagePath []AnyURI `xml:"http://www.onvif.org/ver10/schema ImagePath,omitempty"`
  4634. Extension OSDImgOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4635. // List of supported image MIME types, such as "image/png".
  4636. FormatsSupported StringAttrList `xml:"http://www.onvif.org/ver10/schema FormatsSupported,attr,omitempty"`
  4637. // The maximum size (in bytes) of the image that can be uploaded.
  4638. MaxSize int32 `xml:"http://www.onvif.org/ver10/schema MaxSize,attr,omitempty"`
  4639. // The maximum width (in pixels) of the image that can be uploaded.
  4640. MaxWidth int32 `xml:"http://www.onvif.org/ver10/schema MaxWidth,attr,omitempty"`
  4641. // The maximum height (in pixels) of the image that can be uploaded.
  4642. MaxHeight int32 `xml:"http://www.onvif.org/ver10/schema MaxHeight,attr,omitempty"`
  4643. }
  4644. // OSDImgOptionsExtension type
  4645. type OSDImgOptionsExtension struct {
  4646. }
  4647. // OSDConfiguration type
  4648. type OSDConfiguration struct {
  4649. *DeviceEntity
  4650. // Reference to the video source configuration.
  4651. VideoSourceConfigurationToken OSDReference `xml:"http://www.onvif.org/ver10/schema VideoSourceConfigurationToken,omitempty"`
  4652. // Type of OSD.
  4653. Type OSDType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"`
  4654. // Position configuration of OSD.
  4655. Position OSDPosConfiguration `xml:"http://www.onvif.org/ver10/schema Position,omitempty"`
  4656. // Text configuration of OSD. It shall be present when the value of Type field is Text.
  4657. TextString OSDTextConfiguration `xml:"http://www.onvif.org/ver10/schema TextString,omitempty"`
  4658. // Image configuration of OSD. It shall be present when the value of Type field is Image
  4659. Image OSDImgConfiguration `xml:"http://www.onvif.org/ver10/schema Image,omitempty"`
  4660. Extension OSDConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4661. }
  4662. // OSDConfigurationExtension type
  4663. type OSDConfigurationExtension struct {
  4664. }
  4665. // MaximumNumberOfOSDs type
  4666. type MaximumNumberOfOSDs struct {
  4667. Total int32 `xml:"http://www.onvif.org/ver10/schema Total,attr,omitempty"`
  4668. Image int32 `xml:"http://www.onvif.org/ver10/schema Image,attr,omitempty"`
  4669. PlainText int32 `xml:"http://www.onvif.org/ver10/schema PlainText,attr,omitempty"`
  4670. Date int32 `xml:"http://www.onvif.org/ver10/schema Date,attr,omitempty"`
  4671. Time int32 `xml:"http://www.onvif.org/ver10/schema Time,attr,omitempty"`
  4672. DateAndTime int32 `xml:"http://www.onvif.org/ver10/schema DateAndTime,attr,omitempty"`
  4673. }
  4674. // OSDConfigurationOptions type
  4675. type OSDConfigurationOptions struct {
  4676. // The maximum number of OSD configurations supported for the specified video source configuration. If the configuration does not support OSDs, this value shall be zero and the Type and PositionOption elements are ignored. If a device limits the number of instances by OSDType, it shall indicate the supported number for each type via the related attribute.
  4677. MaximumNumberOfOSDs MaximumNumberOfOSDs `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfOSDs,omitempty"`
  4678. // List supported type of OSD configuration. When a device indicates the supported number for each types in MaximumNumberOfOSDs, related type shall be presented. A device shall return Option element relating to listed type.
  4679. Type []OSDType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"`
  4680. // List available OSD position type. Following are the pre-defined:
  4681. //
  4682. PositionOption []string `xml:"http://www.onvif.org/ver10/thermal/wsdl PositionOption,omitempty"`
  4683. // Option of the OSD text configuration. This element shall be returned if the device is signaling the support for Text.
  4684. TextOption OSDTextOptions `xml:"http://www.onvif.org/ver10/schema TextOption,omitempty"`
  4685. // Option of the OSD image configuration. This element shall be returned if the device is signaling the support for Image.
  4686. ImageOption OSDImgOptions `xml:"http://www.onvif.org/ver10/schema ImageOption,omitempty"`
  4687. Extension OSDConfigurationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4688. }
  4689. // OSDConfigurationOptionsExtension type
  4690. type OSDConfigurationOptionsExtension struct {
  4691. }
  4692. // FileProgress type
  4693. type FileProgress struct {
  4694. // Exported file name
  4695. FileName string `xml:"http://www.onvif.org/ver10/thermal/wsdl FileName,omitempty"`
  4696. // Normalized percentage completion for uploading the exported file
  4697. Progress float32 `xml:"http://www.onvif.org/ver10/schema Progress,omitempty"`
  4698. }
  4699. // ArrayOfFileProgress type
  4700. type ArrayOfFileProgress struct {
  4701. // Exported file name and export progress information
  4702. FileProgress []FileProgress `xml:"http://www.onvif.org/ver10/schema FileProgress,omitempty"`
  4703. Extension ArrayOfFileProgressExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4704. }
  4705. // ArrayOfFileProgressExtension type
  4706. type ArrayOfFileProgressExtension struct {
  4707. }
  4708. // StorageReferencePath type
  4709. type StorageReferencePath struct {
  4710. // identifier of an existing Storage Configuration.
  4711. StorageToken ReferenceToken `xml:"http://www.onvif.org/ver10/thermal/wsdl StorageToken,omitempty"`
  4712. // gives the relative directory path on the storage
  4713. RelativePath string `xml:"http://www.onvif.org/ver10/thermal/wsdl RelativePath,omitempty"`
  4714. Extension StorageReferencePathExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"`
  4715. }
  4716. // StorageReferencePathExtension type
  4717. type StorageReferencePathExtension struct {
  4718. }
  4719. // ThermalPort type
  4720. type ThermalPort interface {
  4721. /* Returns the capabilities of the thermal service. The result is returned in a typed answer. */
  4722. GetServiceCapabilities(request *GetServiceCapabilities) (*GetServiceCapabilitiesResponse, error)
  4723. GetServiceCapabilitiesContext(ctx context.Context, request *GetServiceCapabilities) (*GetServiceCapabilitiesResponse, error)
  4724. /* Gets the valid ranges for the Thermal parameters that have device specific ranges.
  4725. This command is mandatory for all devices implementing the Thermal service. The command shall return all supported parameters
  4726. and their ranges, such that these can be applied to the SetConfiguration command.
  4727. */
  4728. GetConfigurationOptions(request *GetConfigurationOptions) (*GetConfigurationOptionsResponse, error)
  4729. GetConfigurationOptionsContext(ctx context.Context, request *GetConfigurationOptions) (*GetConfigurationOptionsResponse, error)
  4730. /* Gets the Thermal Configuration for the requested VideoSource. */
  4731. GetConfiguration(request *GetConfiguration) (*GetConfigurationResponse, error)
  4732. GetConfigurationContext(ctx context.Context, request *GetConfiguration) (*GetConfigurationResponse, error)
  4733. /* Gets the Thermal Configuration for all thermal VideoSources of the Device. */
  4734. GetConfigurations(request *GetConfigurations) (*GetConfigurationsResponse, error)
  4735. GetConfigurationsContext(ctx context.Context, request *GetConfigurations) (*GetConfigurationsResponse, error)
  4736. /* Sets the Thermal Configuration for the requested VideoSource. */
  4737. SetConfiguration(request *SetConfiguration) (*SetConfigurationResponse, error)
  4738. SetConfigurationContext(ctx context.Context, request *SetConfiguration) (*SetConfigurationResponse, error)
  4739. /* Gets the valid ranges for the Radiometry parameters that have device specific ranges.
  4740. The command shall return all supported parameters and their ranges, such that these can be applied
  4741. to the SetRadiometryConfiguration command.
  4742. */
  4743. GetRadiometryConfigurationOptions(request *GetRadiometryConfigurationOptions) (*GetRadiometryConfigurationOptionsResponse, error)
  4744. GetRadiometryConfigurationOptionsContext(ctx context.Context, request *GetRadiometryConfigurationOptions) (*GetRadiometryConfigurationOptionsResponse, error)
  4745. /* Gets the Radiometry Configuration for the requested VideoSource. */
  4746. GetRadiometryConfiguration(request *GetRadiometryConfiguration) (*GetRadiometryConfigurationResponse, error)
  4747. GetRadiometryConfigurationContext(ctx context.Context, request *GetRadiometryConfiguration) (*GetRadiometryConfigurationResponse, error)
  4748. /* Sets the Radiometry Configuration for the requested VideoSource. */
  4749. SetRadiometryConfiguration(request *SetRadiometryConfiguration) (*SetRadiometryConfigurationResponse, error)
  4750. SetRadiometryConfigurationContext(ctx context.Context, request *SetRadiometryConfiguration) (*SetRadiometryConfigurationResponse, error)
  4751. }
  4752. // thermalPort type
  4753. type thermalPort struct {
  4754. client *soap.Client
  4755. xaddr string
  4756. }
  4757. func NewThermalPort(client *soap.Client, xaddr string) ThermalPort {
  4758. return &thermalPort{
  4759. client: client,
  4760. xaddr: xaddr,
  4761. }
  4762. }
  4763. func (service *thermalPort) GetServiceCapabilitiesContext(ctx context.Context, request *GetServiceCapabilities) (*GetServiceCapabilitiesResponse, error) {
  4764. response := new(GetServiceCapabilitiesResponse)
  4765. err := service.client.CallContext(ctx, service.xaddr, "http://www.onvif.org/ver10/thermal/wsdl/GetServiceCapabilities", request, response)
  4766. if err != nil {
  4767. return nil, err
  4768. }
  4769. return response, nil
  4770. }
  4771. func (service *thermalPort) GetServiceCapabilities(request *GetServiceCapabilities) (*GetServiceCapabilitiesResponse, error) {
  4772. return service.GetServiceCapabilitiesContext(
  4773. context.Background(),
  4774. request,
  4775. )
  4776. }
  4777. func (service *thermalPort) GetConfigurationOptionsContext(ctx context.Context, request *GetConfigurationOptions) (*GetConfigurationOptionsResponse, error) {
  4778. response := new(GetConfigurationOptionsResponse)
  4779. err := service.client.CallContext(ctx, service.xaddr, "http://www.onvif.org/ver10/thermal/wsdl/GetConfigurationOptions", request, response)
  4780. if err != nil {
  4781. return nil, err
  4782. }
  4783. return response, nil
  4784. }
  4785. func (service *thermalPort) GetConfigurationOptions(request *GetConfigurationOptions) (*GetConfigurationOptionsResponse, error) {
  4786. return service.GetConfigurationOptionsContext(
  4787. context.Background(),
  4788. request,
  4789. )
  4790. }
  4791. func (service *thermalPort) GetConfigurationContext(ctx context.Context, request *GetConfiguration) (*GetConfigurationResponse, error) {
  4792. response := new(GetConfigurationResponse)
  4793. err := service.client.CallContext(ctx, service.xaddr, "http://www.onvif.org/ver10/thermal/wsdl/GetConfiguration", request, response)
  4794. if err != nil {
  4795. return nil, err
  4796. }
  4797. return response, nil
  4798. }
  4799. func (service *thermalPort) GetConfiguration(request *GetConfiguration) (*GetConfigurationResponse, error) {
  4800. return service.GetConfigurationContext(
  4801. context.Background(),
  4802. request,
  4803. )
  4804. }
  4805. func (service *thermalPort) GetConfigurationsContext(ctx context.Context, request *GetConfigurations) (*GetConfigurationsResponse, error) {
  4806. response := new(GetConfigurationsResponse)
  4807. err := service.client.CallContext(ctx, service.xaddr, "http://www.onvif.org/ver10/thermal/wsdl/GetConfigurations", request, response)
  4808. if err != nil {
  4809. return nil, err
  4810. }
  4811. return response, nil
  4812. }
  4813. func (service *thermalPort) GetConfigurations(request *GetConfigurations) (*GetConfigurationsResponse, error) {
  4814. return service.GetConfigurationsContext(
  4815. context.Background(),
  4816. request,
  4817. )
  4818. }
  4819. func (service *thermalPort) SetConfigurationContext(ctx context.Context, request *SetConfiguration) (*SetConfigurationResponse, error) {
  4820. response := new(SetConfigurationResponse)
  4821. err := service.client.CallContext(ctx, service.xaddr, "http://www.onvif.org/ver10/thermal/wsdl/SetConfiguration", request, response)
  4822. if err != nil {
  4823. return nil, err
  4824. }
  4825. return response, nil
  4826. }
  4827. func (service *thermalPort) SetConfiguration(request *SetConfiguration) (*SetConfigurationResponse, error) {
  4828. return service.SetConfigurationContext(
  4829. context.Background(),
  4830. request,
  4831. )
  4832. }
  4833. func (service *thermalPort) GetRadiometryConfigurationOptionsContext(ctx context.Context, request *GetRadiometryConfigurationOptions) (*GetRadiometryConfigurationOptionsResponse, error) {
  4834. response := new(GetRadiometryConfigurationOptionsResponse)
  4835. err := service.client.CallContext(ctx, service.xaddr, "http://www.onvif.org/ver10/thermal/wsdl/GetRadiometryConfigurationOptions", request, response)
  4836. if err != nil {
  4837. return nil, err
  4838. }
  4839. return response, nil
  4840. }
  4841. func (service *thermalPort) GetRadiometryConfigurationOptions(request *GetRadiometryConfigurationOptions) (*GetRadiometryConfigurationOptionsResponse, error) {
  4842. return service.GetRadiometryConfigurationOptionsContext(
  4843. context.Background(),
  4844. request,
  4845. )
  4846. }
  4847. func (service *thermalPort) GetRadiometryConfigurationContext(ctx context.Context, request *GetRadiometryConfiguration) (*GetRadiometryConfigurationResponse, error) {
  4848. response := new(GetRadiometryConfigurationResponse)
  4849. err := service.client.CallContext(ctx, service.xaddr, "http://www.onvif.org/ver10/thermal/wsdl/GetRadiometryConfiguration", request, response)
  4850. if err != nil {
  4851. return nil, err
  4852. }
  4853. return response, nil
  4854. }
  4855. func (service *thermalPort) GetRadiometryConfiguration(request *GetRadiometryConfiguration) (*GetRadiometryConfigurationResponse, error) {
  4856. return service.GetRadiometryConfigurationContext(
  4857. context.Background(),
  4858. request,
  4859. )
  4860. }
  4861. func (service *thermalPort) SetRadiometryConfigurationContext(ctx context.Context, request *SetRadiometryConfiguration) (*SetRadiometryConfigurationResponse, error) {
  4862. response := new(SetRadiometryConfigurationResponse)
  4863. err := service.client.CallContext(ctx, service.xaddr, "http://www.onvif.org/ver10/thermal/wsdl/SetRadiometryConfiguration", request, response)
  4864. if err != nil {
  4865. return nil, err
  4866. }
  4867. return response, nil
  4868. }
  4869. func (service *thermalPort) SetRadiometryConfiguration(request *SetRadiometryConfiguration) (*SetRadiometryConfigurationResponse, error) {
  4870. return service.SetRadiometryConfigurationContext(
  4871. context.Background(),
  4872. request,
  4873. )
  4874. }
  4875. // AnyURI type
  4876. type AnyURI string
  4877. // Duration type
  4878. type Duration string
  4879. // QName type
  4880. type QName string
  4881. // NCName type
  4882. type NCName string
  4883. // AnySimpleType type
  4884. type AnySimpleType string
  4885. // String type
  4886. type String string