diff --git a/onvif/services/devicemgmt.py b/onvif/services/devicemgmt.py index c520e01..8a91175 100644 --- a/onvif/services/devicemgmt.py +++ b/onvif/services/devicemgmt.py @@ -411,3 +411,6 @@ def DeleteGeoLocation(self, Location): def SetHashingAlgorithm(self, Algorithm): return self.operator.call("SetHashingAlgorithm", Algorithm=Algorithm) + + def UpgradeFirmware(self, Version): + return self.operator.call("UpgradeFirmware", Version=Version) diff --git a/onvif/services/media2.py b/onvif/services/media2.py index 854ce33..c5a0868 100644 --- a/onvif/services/media2.py +++ b/onvif/services/media2.py @@ -313,3 +313,20 @@ def PlayAudioClip(self, Token, Play, AudioOutputToken=None, RepeatCycles=None): def GetPlayingAudioClips(self): return self.operator.call("GetPlayingAudioClips") + + def GetMulticastAudioDecoderConfigurationOptions(self, ConfigurationToken=None): + return self.operator.call( + "GetMulticastAudioDecoderConfigurationOptions", + ConfigurationToken=ConfigurationToken, + ) + + def GetMulticastAudioDecoderConfigurations(self, ConfigurationToken=None): + return self.operator.call( + "GetMulticastAudioDecoderConfigurations", + ConfigurationToken=ConfigurationToken, + ) + + def SetMulticastAudioDecoderConfiguration(self, Configuration): + return self.operator.call( + "SetMulticastAudioDecoderConfiguration", Configuration=Configuration + ) diff --git a/onvif/wsdl/ver10/advancedsecurity/wsdl/advancedsecurity.wsdl b/onvif/wsdl/ver10/advancedsecurity/wsdl/advancedsecurity.wsdl index 3575be9..a03000a 100644 --- a/onvif/wsdl/ver10/advancedsecurity/wsdl/advancedsecurity.wsdl +++ b/onvif/wsdl/ver10/advancedsecurity/wsdl/advancedsecurity.wsdl @@ -82,7 +82,7 @@ - + @@ -740,12 +740,12 @@ - Indication that the device supports on-board RSA key pair generation. + Deprecated - Indication that the device supports on-board ECC key pair generation. - Indication that the device supports on-board ECC key pair generation. + Deprecated - Indication that the device supports on-board ECC key pair generation. @@ -760,12 +760,12 @@ - Indicates which elliptic curves are supported by the device. + Indicates which elliptic curves are supported by the device. Supported curve names can be found in the IANA TLS Supported Groups section, under the Description field. - Indicates support for creating PKCS#10 requests for RSA keys and uploading the certificate obtained from a CA.. + Deprecated - Indicates support for creating PKCS#10 requests for RSA keys and uploading the certificate obtained from a CA.. @@ -775,7 +775,7 @@ - Indicates support for creating self-signed certificates for RSA keys. + Deprecated - Indicates support for creating self-signed certificates for RSA keys. @@ -795,7 +795,7 @@ - Indicates support for uploading an RSA key pair in a PKCS#8 data structure. + Deprecated - Indicates support for uploading an RSA key pair in a PKCS#8 data structure. @@ -805,7 +805,7 @@ - Indicates support for uploading a certificate along with an RSA private key in a PKCS#12 data structure. + Deprecated - Indicates support for uploading a certificate along with an RSA private key in a PKCS#12 data structure. @@ -2967,7 +2967,7 @@ - This operation uploads a key pair in a PKCS#8 data structure as specified in [RFC 5958, RFC 5959].
+ Deprecated method for uploading a key pair in a PKCS#8 data structure as specified in [RFC 5958, RFC 5959].
If an encryption passphrase ID is supplied in the request, the device shall assume that the KeyPair parameter contains an EncryptedPrivateKeyInfo ASN.1 structure that is encrypted under the passphrase in the keystore that corresponds to the supplied ID, where the EncryptedPrivateKeyInfo structure contains both the private key and the corresponding public key. If no encryption passphrase ID is supplied, the device shall assume that the KeyPair parameter contains a diff --git a/onvif/wsdl/ver10/device/wsdl/devicemgmt.wsdl b/onvif/wsdl/ver10/device/wsdl/devicemgmt.wsdl index 736c2d0..4f2904a 100644 --- a/onvif/wsdl/ver10/device/wsdl/devicemgmt.wsdl +++ b/onvif/wsdl/ver10/device/wsdl/devicemgmt.wsdl @@ -306,6 +306,11 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO Indicates support for firmware upgrade through MTOM.
+ + + Indicates support for firmware upgrade through the cloud. + + Indicates support for firmware upgrade through HTTP. @@ -2118,6 +2123,21 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO + + + + + + + + + + + + + + + @@ -2959,6 +2979,12 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO + + + + + + @@ -3553,6 +3579,24 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO + + This operation initiates a firmware upgrade using between the device + and the MCS, without further actions from the client. Cloud firmware upgrade may be + achieved using the following steps: +
    +
  1. Client retrieves the list of available firmware versions from the MCS.
  2. +
  3. Client calls UpgradeFirmware, selecting the desired FW version.
  4. +
  5. Device service responds with a downtime value.
  6. +
  7. Device and MCS perform the firmware upgrade procedure without further interaction from the Client
  8. +
  9. Device notifies the Client of the result by emitting the appropriate CloudFirmwareUpgrade event
  10. +
+ After applying a firmware upgrade the device shall keep the basic network configuration + like IP address, subnet mask and gateway or DHCP settings, as well as all the parameters + of the Uplink and Security service unchanged, so that it can connect to the cloud. + Additionally a firmware upgrade shall not change user credentials.
+ + +
This operation initiates a system restore from backed up configuration data using the HTTP POST mechanism. The response to the command includes an HTTP URL to which the backup @@ -4523,6 +4567,15 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO
+ + + + + + + + + diff --git a/onvif/wsdl/ver10/schema/metadatastream.xsd b/onvif/wsdl/ver10/schema/metadatastream.xsd index 8397362..6808568 100644 --- a/onvif/wsdl/ver10/schema/metadatastream.xsd +++ b/onvif/wsdl/ver10/schema/metadatastream.xsd @@ -194,6 +194,8 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO + +
diff --git a/onvif/wsdl/ver10/schema/onvif.xsd b/onvif/wsdl/ver10/schema/onvif.xsd index bed4197..bad3047 100644 --- a/onvif/wsdl/ver10/schema/onvif.xsd +++ b/onvif/wsdl/ver10/schema/onvif.xsd @@ -2042,6 +2042,230 @@ decoding .A decoder shall decode every data it receives (according to its capabi + + + + + + Configuration for the Multicast Audio Decoder. + + + + + + + + + Indicates whether the Multicast Audio Decoder is enabled or disabled. + + + + + + + Token of the physical Audio output. This element is optional and can occur multiple times. + + + + + + + Specifies the encoding type according to IANA media types. + + + + + + + The bitrate of the audio stream in bits per second. + + + + + + + The sampling rate of the audio stream in kHz. + + + + + + + Contains configuration details for multicast settings. + + + + + + + Defines the RTP payload type used for the audio stream. + To ensure compatibility, it is recommended to use dynamic payload types (96 and above), as specified in RFC 3551. + Standard payload types (0-95) should only be used for predefined audio formats matching the audio encoding as defined in + IANA RTP Payload Types, + as using them for non-standard media may lead to unexpected errors or interoperability issues. + + + + + + + Indicates the priority level when multiple configurations are active. + A higher value signifies a higher priority. If several configurations have the same priority value the order between those configurations is undefined. + + + + + + + Optional media format parameters as specified in SDP, such as: + a=fmtp:101 stereo=1; sprop-stereo=1. + + + + + + + Optional configuration parameters for SRTP pre-shared key usage, applicable when SRTP is supported. When this configuration is present, RTP packets shall be encrypted. + + + + + + + + + + + + + + + + An optional SRTP Pre-Shared Key (PSK) represented as a hexadecimal string. + This includes both the SRTP master key, followed by the master salt. + The sizes of the key and salt depend on the specified SRTPCryptoPolicy. + When this element is specified, RTP packets shall be encrypted. + The SRTPPSK shall never be returned on a get method. + + + + + + + Specifies the cryptographic algorithm when using SRTP, + selecting from predefined values provided in the GetMulticastAudioDecoderConfigurationOptions response. + + + + + + + The RTP header extension ID (ExtMapID) used to identify the ROC extension, as defined in RFC 8285. + Valid values are 1 to 14 for one-byte header extensions. + + + + + + + + + + + + + The multicast address (if this address is set to 0 no multicast streaming is enabled) + + + + + The RTP multicast 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. + + + + + 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. + + + + + Unique identifier of the network interface on the device. If not specified, all available interfaces will be used for listening. + + + + + When a source-specific multicast address is configured, the device will process multicast data only from the specified source, in accordance with SSM principles defined in RFC 4607. + + + + + + + + + + + + Supported encoding options for the multicast audio decoder. + + + + + + Specifies the priority range as an integer. This indicates the priority level for audio configuration. + + + + + + + An optional parameter specifies the list of supported cryptographic algorithms when SRTP support is signaled as 'true' in the GetServiceCapabilitiesResponse. + Refer to tt:SrtpSecurityAlgorithms for the acceptable values. + + + + + + + Optional list of physical Audio output tokens. This element is used when only certain audio outputs can be configured for this token. + + + + + + + + + + + + + Audio Media Subtype for the audio format. For definitions see tt:AudioEncodingMimeNames and IANA Media Types. + + + + + List of supported bitrates in kbps for the specified Encoding + + + + + List of supported Sample Rates in kHz for the specified Encoding + + + + + + Optional element for specifying the RTP payload type, + particularly when it is fixed for a specific audio encoding as defined in IANA RTP Payload Types. + + + + + + + + diff --git a/onvif/wsdl/ver20/media/wsdl/media.wsdl b/onvif/wsdl/ver20/media/wsdl/media.wsdl index 3a97295..8212b02 100644 --- a/onvif/wsdl/ver20/media/wsdl/media.wsdl +++ b/onvif/wsdl/ver20/media/wsdl/media.wsdl @@ -53,6 +53,11 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO Audio clip capabilities. + + + MulticastAudioDecoder capabilities. + + @@ -159,6 +164,29 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO + + + + + + + + + Indicates support for multicast audio decoder. + + + + + Indicates whether the SRTP is supported in MulticastAudioDecoder or not. + + + + + Indicates whether the IPv6 is supported in MulticastAudioDecoder or not. + + + + @@ -1621,6 +1649,62 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO + + + + + + + Unique token of the multicast audio decoder configuration. If not passed, device shall respond with all configurations. + + + + + + + + + + + This message contains the list of multicast audio decoder configurations. + + + + + + + + + + + + This response contains the available MulticastAudioDecoderConfigurationOptions. If a multicast audio decoder configuration is specified, the options shall concern that particular configuration. + + + + + + + + + + + + + + + + + + + Contains the modified multicast audio decoder configuration. The configuration shall exist in the device. + + + + + + + @@ -1958,6 +2042,24 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO + + + + + + + + + + + + + + + + + + @@ -2331,6 +2433,23 @@ image will be updated automatically and independent from calls to GetSnapshotUri + + + This operation gets the list of multicast audio decoder configurations. + + + + + This operation gets the available options for the MulticastAudioDecoder configuration. + + + + + This operation sets the MulticastAudioDecoderConfiguration. + + + + @@ -2858,5 +2977,34 @@ image will be updated automatically and independent from calls to GetSnapshotUri + + + + + + + + + + + + + + + + + + + + + + + + + + + + +