Jazea / Onvif.Core

A lightweight ONVIF Discovery and Client library.
MIT License
71 stars 26 forks source link

Onvif.Core.Client.CameraExtensions.MoveAsync timeout should be a ISO8601 Duration string #9

Closed JMHornberg closed 4 months ago

JMHornberg commented 1 year ago

The Timeout field used for ContinuousMove should be a ISO8601 Duration string (e.g PT1M30S) as specified in the Onvif ptz.wsdl:

[...]
<xs:element name="Timeout" type="xs:duration" minOccurs="0">
    <xs:annotation>  
        <xs:documentation>An optional Timeout parameter.  
        </xs:documentation>  
    </xs:annotation>  
</xs:element>
[...]

xs:duration points to the standard XSD definition for ISO8601 Duration format