You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<para>If libsrtp is used for SRTP implementation, proper alignment is required for packet data. The libsrtp library documentation specifies the following alignment assumptions:</para>
2141
+
<itemizedlist>
2142
+
<listitem>
2143
+
<para>The <code>srtp_protect</code> method assumes that the RTP packet is aligned on a 32-bit boundary.</para>
2144
+
</listitem>
2145
+
<listitem>
2146
+
<para>The <code>srtp_protect_rtcp</code> method assumes that the RTCP packet is aligned on a 32-bit boundary.</para>
2147
+
</listitem>
2148
+
<listitem>
2149
+
<para>The <code>srtp_unprotect</code> method assumes that the SRTP packet is aligned on a 32-bit boundary.</para>
2150
+
</listitem>
2151
+
<listitem>
2152
+
<para>The <code>srtp_unprotect_rtcp</code> method assumes that the SRTCP packet is aligned on a 32-bit boundary.</para>
2153
+
</listitem>
2154
+
</itemizedlist>
2155
+
<para>Implementers should ensure that packet buffers are properly aligned on 32-bit boundaries before passing them to libsrtp functions. Failure to maintain proper alignment may result in performance degradation or runtime errors on some platforms. It is recommended to consult the libsrtp documentation for specific alignment requirements of the version being used.</para>
Copy file name to clipboardExpand all lines: wsdl/ver10/schema/onvif.xsd
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1019,6 +1019,14 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO
1019
1019
<!--===============================-->
1020
1020
<!-- VideoEncoder2Configuration -->
1021
1021
<!--===============================-->
1022
+
<xs:simpleTypename="SrtpSecurityAlgorithms">
1023
+
<xs:restrictionbase="xs:string">
1024
+
<xs:enumerationvalue="NONE"/>
1025
+
<xs:enumerationvalue="AES_CM_128_HMAC_SHA1_80"/>
1026
+
<xs:enumerationvalue="AEAD_AES_128_GCM"/>
1027
+
<xs:enumerationvalue="AEAD_AES_256_GCM"/>
1028
+
</xs:restriction>
1029
+
</xs:simpleType>
1022
1030
<xs:simpleTypename="VideoEncodingMimeNames">
1023
1031
<xs:annotation>
1024
1032
<xs:documentation>Video Media Subtypes as referenced by IANA (without the leading "video/" Video Media Type). See also <ahref="https://www.iana.org/assignments/media-types/media-types.xhtml#video"> IANA Media Types</a>.</xs:documentation>
@@ -2153,11 +2161,11 @@ decoding .A decoder shall decode every data it receives (according to its capabi
2153
2161
<xs:elementname="SRTPPSK"type="xs:string">
2154
2162
<xs:annotation>
2155
2163
<xs:documentation>
2156
-
An optional SRTP Pre-Shared Key (PSK) represented as a hexadecimal string.
2164
+
SRTP Pre-Shared Key (PSK) represented as a hexadecimal string.
2157
2165
This includes both the SRTP master key, followed by the master salt.
2158
-
The sizes of the key and salt depend on the specified SRTPCryptoPolicy.
2159
-
When this element is specified, RTP packets shall be encrypted.
2160
-
The SRTPPSK shall never be returned on a get method.
2166
+
The sizes of the key and salt depend on the specified SecureStreamingProtocolAlgorithm.
2167
+
When this element contains a non-empty value, RTP packets shall be encrypted.
2168
+
The SRTPPSK shall be returned as an empty string on a get method.
0 commit comments