Onvif firmware bug(?) in IPC-HDW5231R-ZE (latest firmware)

drhaller

n3wb
Joined
Jul 30, 2019
Messages
16
Reaction score
9
Location
CANADA
Hi Arisobrat,

I am not saying that my camera is dead in the water - for now, I've added my primary and secondary RTSP stream URL's into NxWitness and my cameras are functioning. BUT, the Dahua in-camera analytics capabilities will not work with NxWitness 4.0 unless the camera properly reports its streams and other capabilities and properly responds to the Onvif API requests.

The issue is that the XML data returned in the massive 16kb response to the following request is "not proper" - I am not an expert to understand why both ODM and NxWitness both don't like it. I captured this with Wireshark (NOTE: I masked my security details below :) and formatted it for readability):

Code:
POST /onvif/media_service HTTP/1.1
Content-Type: application/soap+xml; charset=utf-8; action="http://www.onvif.org/ver10/media/wsdl/GetProfiles"
Host: 192.168.1.140
Content-Length: 906
Accept-Encoding: gzip, deflate
Connection: Close

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
<s:Header>
<Security s:mustUnderstand="1" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <UsernameToken><Username>admin</Username>
        <Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">XXXXXXXXXXXXXX/XXXX/X/XXXXX=</Password>
        <Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==</Nonce>
        <Created xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2019-09-13T15:01:03.931Z</Created>
    </UsernameToken>
</Security>
</s:Header><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetProfiles xmlns="http://www.onvif.org/ver10/media/wsdl"/></s:Body></s:Envelope>

HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Connection: close
Content-Length: 16731

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:sc="http://www.w3.org/2003/05/soap-encoding" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tt="http://www.onvif.org/ver10/schema">
<s:Header/>
<s:Body>
   <trt:GetProfilesResponse>
       <trt:Profiles token="MediaProfile000" fixed="true">
           <tt:Name>MediaProfile_Channel1_MainStream</tt:Name>
           <tt:VideoSourceConfiguration token="000">
               <tt:Name>VideoSourceConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:SourceToken>000</tt:SourceToken>
               <tt:Bounds x="0" y="0" width="2048" height="1536"/>
           </tt:VideoSourceConfiguration>
           <tt:AudioSourceConfiguration token="000">
               <tt:Name>AudioSourceConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:SourceToken>000</tt:SourceToken>
           </tt:AudioSourceConfiguration>
           <tt:VideoEncoderConfiguration token="000">
               <tt:Name>VideoEncoderConfig_Channel1_MainStream</tt:Name>
               <tt:UseCount>1</tt:UseCount>
               <tt:Encoding>H264</tt:Encoding>
               <tt:Resolution>
                   <tt:Width>1920</tt:Width>
                   <tt:Height>1080</tt:Height>
               </tt:Resolution>
               <tt:Quality>3.000000</tt:Quality>
               <tt:RateControl>
                   <tt:FrameRateLimit>60</tt:FrameRateLimit>
                   <tt:EncodingInterval>1</tt:EncodingInterval>
                   <tt:BitrateLimit>7842</tt:BitrateLimit>
               </tt:RateControl>
               <tt:H264>
                   <tt:GovLength>120</tt:GovLength>
                   <tt:H264Profile>Main</tt:H264Profile>
               </tt:H264>
               <tt:Multicast>
                   <tt:Address>
                       <tt:Type>IPv4</tt:Type>
                       <tt:IPv4Address>224.1.0.0</tt:IPv4Address>
                   </tt:Address>
                   <tt:Port>40000</tt:Port>
                   <tt:TTL>64</tt:TTL>
                   <tt:AutoStart>false</tt:AutoStart>
               </tt:Multicast>
               <tt:SessionTimeout>PT60S</tt:SessionTimeout>
           </tt:VideoEncoderConfiguration>
           <tt:AudioEncoderConfiguration token="000">
               <tt:Name>AudioEncoderConfig_Channel1_MainStream</tt:Name>
               <tt:UseCount>2</tt:UseCount>
               <tt:Encoding>AAC</tt:Encoding>
               <tt:Bitrate>128</tt:Bitrate>
               <tt:SampleRate>32</tt:SampleRate>
               <tt:Multicast>
                   <tt:Address>
                       <tt:Type>IPv4</tt:Type>
                       <tt:IPv4Address>224.1.0.0</tt:IPv4Address>
                   </tt:Address>
                   <tt:Port>40002</tt:Port>
                   <tt:TTL>64</tt:TTL>
                   <tt:AutoStart>false</tt:AutoStart>
               </tt:Multicast>
               <tt:SessionTimeout>PT00H01M00S</tt:SessionTimeout>
           </tt:AudioEncoderConfiguration>
           <tt:VideoAnalyticsConfiguration token="000">
               <tt:Name>AnalyticsConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:AnalyticsEngineConfiguration>
                   <tt:AnalyticsModule Name="MyCellMotion" Type="tt:CellMotionEngine">
                       <tt:Parameters>
                           <tt:SimpleItem Name="Sensitivity" Value="60"/>
                           <tt:ElementItem Name="Layout">
                               <tt:CellLayout Columns="22" Rows="18">
                                   <tt:Transformation>
                                       <tt:Translate x="-1.000000" y="-1.000000"/>
                                       <tt:Scale x="0.006250" y="0.008340"/>
                                   </tt:Transformation>
                               </tt:CellLayout>
                           </tt:ElementItem>
                       </tt:Parameters>
                   </tt:AnalyticsModule>
                   <tt:AnalyticsModule Name="MyTamper" Type="tt:TamperEngine">
                       <tt:Parameters>
                           <tt:SimpleItem Name="Sensitivity" Value="48"/>
                           <tt:ElementItem Name="Field">
                               <tt:PolygonConfiguration>
                                   <tt:Polygon>
                                       <tt:Point x="0" y="240"/>
                                       <tt:Point x="0" y="0"/>
                                       <tt:Point x="320" y="0"/>
                                       <tt:Point x="320" y="240"/>
                                   </tt:Polygon>
                               </tt:PolygonConfiguration>
                           </tt:ElementItem>
                           <tt:ElementItem Name="Transformation">
                               <tt:Transformation>
                                   <tt:Translate x="-1.000000" y="-1.000000"/>
                                   <tt:Scale x="0.006250" y="0.008340"/>
                               </tt:Transformation>
                           </tt:ElementItem>
                       </tt:Parameters>
                   </tt:AnalyticsModule>
               </tt:AnalyticsEngineConfiguration>
               <tt:RuleEngineConfiguration>
                   <tt:Rule Name="Region1" Type="tt:CellMotionDetector">
                       <tt:Parameters>
                           <tt:SimpleItem Name="MinCount" Value="19"/>
                           <tt:SimpleItem Name="AlarmOnDelay" Value="1000"/>
                           <tt:SimpleItem Name="AlarmOffDelay" Value="1000"/>
                           <tt:SimpleItem Name="ActiveCells" Value="0P8A8A=="/>
                       </tt:Parameters>
                   </tt:Rule>
                   <tt:Rule Name="MyTamperDetector" Type="tt:TamperDetector">
                       <tt:Parameters>
                           <tt:ElementItem Name="Field">
                               <tt:PolygonConfiguration>
                                   <tt:Polygon>
                                       <tt:Point x="0" y="240"/>
                                       <tt:Point x="0" y="0"/>
                                       <tt:Point x="320" y="0"/>
                                       <tt:Point x="320" y="240"/>
                                   </tt:Polygon>
                               </tt:PolygonConfiguration>
                           </tt:ElementItem>
                       </tt:Parameters>
                   </tt:Rule>
               </tt:RuleEngineConfiguration>
           </tt:VideoAnalyticsConfiguration>
           <tt:PTZConfiguration token="000" MoveRamp="0" PresetRamp="0" PresetTourRamp="0">
               <tt:Name>PTZConfig_Channel1</tt:Name>
               <tt:UseCount>111</tt:UseCount>
               <tt:NodeToken>000</tt:NodeToken>
               <tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
               <tt:DefaultRelativeZoomTranslationSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace</tt:DefaultRelativeZoomTranslationSpace>
               <tt:DefaultContinuousZoomVelocitySpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace</tt:DefaultContinuousZoomVelocitySpace>
               <tt:DefaultPTZSpeed>
                   <tt:Zoom space="http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace" x="0.800000"/>
               </tt:DefaultPTZSpeed>
               <tt:DefaultPTZTimeout>PT10S</tt:DefaultPTZTimeout>
               <tt:ZoomLimits>
                   <tt:Range>
                       <tt:URI>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:URI>
                       <tt:XRange>
                           <tt:Min>0.000000</tt:Min>
                           <tt:Max>1.000000</tt:Max>
                       </tt:XRange>
                   </tt:Range>
               </tt:ZoomLimits>
           </tt:PTZConfiguration>
           <tt:MetadataConfiguration token="000" CompressionType="">
               <tt:Name>MetadataConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:PTZStatus>
                   <tt:Status>false</tt:Status>
                   <tt:Position>false</tt:Position>
               </tt:PTZStatus>
               <tt:Events>
                   <tt:Filter>
                       <wsnt:TopicExpression xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tns1="http://www.onvif.org/ver10/topics" Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/CellMotionDetector/Motion</wsnt:TopicExpression>
                   </tt:Filter>
               </tt:Events>
               <tt:Analytics>true</tt:Analytics>
               <tt:Multicast>
                   <tt:Address>
                       <tt:Type>IPv4</tt:Type>
                       <tt:IPv4Address>224.2.0.0</tt:IPv4Address>
                   </tt:Address>
                   <tt:Port>40020</tt:Port>
                   <tt:TTL>64</tt:TTL>
                   <tt:AutoStart>false</tt:AutoStart>
               </tt:Multicast>
               <tt:SessionTimeout>PT60S</tt:SessionTimeout>
           </tt:MetadataConfiguration>
       </trt:Profiles>
       <trt:Profiles token="MediaProfile001" fixed="true">
           <tt:Name>MediaProfile_Channel1_SubStream1</tt:Name>
           <tt:VideoSourceConfiguration token="000">
               <tt:Name>VideoSourceConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:SourceToken>000</tt:SourceToken>
               <tt:Bounds x="0" y="0" width="2048" height="1536"/>
           </tt:VideoSourceConfiguration>
           <tt:AudioSourceConfiguration token="000">
               <tt:Name>AudioSourceConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:SourceToken>000</tt:SourceToken>
           </tt:AudioSourceConfiguration>
           <tt:VideoEncoderConfiguration token="001">
               <tt:Name>VideoEncoderConfig_Channel1_SubStream1</tt:Name>
               <tt:UseCount>1</tt:UseCount>
               <tt:Encoding>H264</tt:Encoding>
               <tt:Resolution>
                   <tt:Width>640</tt:Width>
                   <tt:Height>480</tt:Height>
               </tt:Resolution>
               <tt:Quality>6.000000</tt:Quality>
               <tt:RateControl>
                   <tt:FrameRateLimit>7</tt:FrameRateLimit>
                   <tt:EncodingInterval>1</tt:EncodingInterval>
                   <tt:BitrateLimit>240</tt:BitrateLimit>
               </tt:RateControl>
               <tt:H264>
                   <tt:GovLength>20</tt:GovLength>
                   <tt:H264Profile>Main</tt:H264Profile>
               </tt:H264>
               <tt:Multicast>
                   <tt:Address>
                       <tt:Type>IPv4</tt:Type>
                       <tt:IPv4Address>224.1.0.1</tt:IPv4Address>
                   </tt:Address>
                   <tt:Port>40008</tt:Port>
                   <tt:TTL>64</tt:TTL>
                   <tt:AutoStart>false</tt:AutoStart>
               </tt:Multicast>
               <tt:SessionTimeout>PT60S</tt:SessionTimeout>
           </tt:VideoEncoderConfiguration>
           <tt:AudioEncoderConfiguration token="001">
               <tt:Name>AudioEncoderConfig_Channel1_SubStream1</tt:Name>
               <tt:UseCount>1</tt:UseCount>
               <tt:Encoding>G711</tt:Encoding>
               <tt:Bitrate>32</tt:Bitrate>
               <tt:SampleRate>8</tt:SampleRate>
               <tt:Multicast>
                   <tt:Address>
                       <tt:Type>IPv4</tt:Type>
                       <tt:IPv4Address>224.1.0.1</tt:IPv4Address>
                   </tt:Address>
                   <tt:Port>40010</tt:Port>
                   <tt:TTL>64</tt:TTL>
                   <tt:AutoStart>false</tt:AutoStart>
               </tt:Multicast>
               <tt:SessionTimeout>PT60S</tt:SessionTimeout>
           </tt:AudioEncoderConfiguration>
           <tt:VideoAnalyticsConfiguration token="000">
               <tt:Name>AnalyticsConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:AnalyticsEngineConfiguration>
                   <tt:AnalyticsModule Name="MyCellMotion" Type="tt:CellMotionEngine">
                       <tt:Parameters>
                           <tt:SimpleItem Name="Sensitivity" Value="60"/>
                           <tt:ElementItem Name="Layout">
                               <tt:CellLayout Columns="22" Rows="18">
                                   <tt:Transformation>
                                       <tt:Translate x="-1.000000" y="-1.000000"/>
                                       <tt:Scale x="0.006250" y="0.008340"/>
                                   </tt:Transformation>
                               </tt:CellLayout>
                           </tt:ElementItem>
                       </tt:Parameters>
                   </tt:AnalyticsModule>
                   <tt:AnalyticsModule Name="MyTamper" Type="tt:TamperEngine">
                       <tt:Parameters>
                           <tt:SimpleItem Name="Sensitivity" Value="48"/>
                           <tt:ElementItem Name="Field">
                               <tt:PolygonConfiguration>
                                   <tt:Polygon>
                                       <tt:Point x="0" y="240"/>
                                       <tt:Point x="0" y="0"/>
                                       <tt:Point x="320" y="0"/>
                                       <tt:Point x="320" y="240"/>
                                   </tt:Polygon>
                               </tt:PolygonConfiguration>
                           </tt:ElementItem>
                           <tt:ElementItem Name="Transformation">
                               <tt:Transformation>
                                   <tt:Translate x="-1.000000" y="-1.000000"/>
                                   <tt:Scale x="0.006250" y="0.008340"/>
                               </tt:Transformation>
                           </tt:ElementItem>
                       </tt:Parameters>
                   </tt:AnalyticsModule>
               </tt:AnalyticsEngineConfiguration>
               <tt:RuleEngineConfiguration>
                   <tt:Rule Name="Region1" Type="tt:CellMotionDetector">
                       <tt:Parameters>
                           <tt:SimpleItem Name="MinCount" Value="19"/>
                           <tt:SimpleItem Name="AlarmOnDelay" Value="1000"/>
                           <tt:SimpleItem Name="AlarmOffDelay" Value="1000"/>
                           <tt:SimpleItem Name="ActiveCells" Value="0P8A8A=="/>
                       </tt:Parameters>
                   </tt:Rule>
                   <tt:Rule Name="MyTamperDetector" Type="tt:TamperDetector">
                       <tt:Parameters>
                           <tt:ElementItem Name="Field">
                               <tt:PolygonConfiguration>
                                   <tt:Polygon>
                                       <tt:Point x="0" y="240"/>
                                       <tt:Point x="0" y="0"/>
                                       <tt:Point x="320" y="0"/>
                                       <tt:Point x="320" y="240"/>
                                   </tt:Polygon>
                               </tt:PolygonConfiguration>
                           </tt:ElementItem>
                       </tt:Parameters>
                   </tt:Rule>
               </tt:RuleEngineConfiguration>
           </tt:VideoAnalyticsConfiguration>
           <tt:PTZConfiguration token="000" MoveRamp="0" PresetRamp="0" PresetTourRamp="0">
               <tt:Name>PTZConfig_Channel1</tt:Name>
               <tt:UseCount>111</tt:UseCount>
               <tt:NodeToken>000</tt:NodeToken>
               <tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
               <tt:DefaultRelativeZoomTranslationSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace</tt:DefaultRelativeZoomTranslationSpace>
               <tt:DefaultContinuousZoomVelocitySpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace</tt:DefaultContinuousZoomVelocitySpace>
               <tt:DefaultPTZSpeed>
                   <tt:Zoom space="http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace" x="0.800000"/>
               </tt:DefaultPTZSpeed>
               <tt:DefaultPTZTimeout>PT10S</tt:DefaultPTZTimeout>
               <tt:ZoomLimits>
                   <tt:Range>
                       <tt:URI>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:URI>
                       <tt:XRange>
                           <tt:Min>0.000000</tt:Min>
                           <tt:Max>1.000000</tt:Max>
                       </tt:XRange>
                   </tt:Range>
               </tt:ZoomLimits>
           </tt:PTZConfiguration>
           <tt:MetadataConfiguration token="000" CompressionType="">
               <tt:Name>MetadataConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:PTZStatus>
                   <tt:Status>false</tt:Status>
                   <tt:Position>false</tt:Position>
               </tt:PTZStatus>
               <tt:Events>
                   <tt:Filter>
                       <wsnt:TopicExpression xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tns1="http://www.onvif.org/ver10/topics" Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/CellMotionDetector/Motion</wsnt:TopicExpression>
                   </tt:Filter>
               </tt:Events>
               <tt:Analytics>true</tt:Analytics>
               <tt:Multicast>
                   <tt:Address>
                       <tt:Type>IPv4</tt:Type>
                       <tt:IPv4Address>224.2.0.0</tt:IPv4Address>
                   </tt:Address>
                   <tt:Port>40020</tt:Port>
                   <tt:TTL>64</tt:TTL>
                   <tt:AutoStart>false</tt:AutoStart>
               </tt:Multicast>
               <tt:SessionTimeout>PT60S</tt:SessionTimeout>
           </tt:MetadataConfiguration>
       </trt:Profiles>
       <trt:Profiles token="MediaProfile002" fixed="true">
           <tt:Name>MediaProfile_Channel1_SubStream2</tt:Name>
           <tt:VideoSourceConfiguration token="000">
               <tt:Name>VideoSourceConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:SourceToken>000</tt:SourceToken>
               <tt:Bounds x="0" y="0" width="2048" height="1536"/>
           </tt:VideoSourceConfiguration>
           <tt:AudioSourceConfiguration token="000">
               <tt:Name>AudioSourceConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:SourceToken>000</tt:SourceToken>
           </tt:AudioSourceConfiguration>
           <tt:VideoEncoderConfiguration token="002">
               <tt:Name>VideoEncoderConfig_Channel1_SubStream2</tt:Name>
               <tt:UseCount>1</tt:UseCount>
               <tt:Encoding>H264</tt:Encoding>
               <tt:Resolution>
                   <tt:Width>704</tt:Width>
                   <tt:Height>480</tt:Height>
               </tt:Resolution>
               <tt:Quality>6.000000</tt:Quality>
               <tt:RateControl>
                   <tt:FrameRateLimit>7</tt:FrameRateLimit>
                   <tt:EncodingInterval>1</tt:EncodingInterval>
                   <tt:BitrateLimit>256</tt:BitrateLimit>
               </tt:RateControl>
               <tt:H264>
                   <tt:GovLength>20</tt:GovLength>
                   <tt:H264Profile>Main</tt:H264Profile>
               </tt:H264>
               <tt:Multicast>
                   <tt:Address>
                       <tt:Type>IPv4</tt:Type>
                       <tt:IPv4Address>224.1.0.2</tt:IPv4Address>
                   </tt:Address>
                   <tt:Port>40016</tt:Port>
                   <tt:TTL>64</tt:TTL>
                   <tt:AutoStart>false</tt:AutoStart>
               </tt:Multicast>
               <tt:SessionTimeout>PT60S</tt:SessionTimeout>
           </tt:VideoEncoderConfiguration>
           <tt:AudioEncoderConfiguration token="000">
               <tt:Name>AudioEncoderConfig_Channel1_MainStream</tt:Name>
               <tt:UseCount>2</tt:UseCount>
               <tt:Encoding>AAC</tt:Encoding>
               <tt:Bitrate>128</tt:Bitrate>
               <tt:SampleRate>32</tt:SampleRate>
               <tt:Multicast>
                   <tt:Address>
                       <tt:Type>IPv4</tt:Type>
                       <tt:IPv4Address>224.1.0.0</tt:IPv4Address>
                   </tt:Address>
                   <tt:Port>40002</tt:Port>
                   <tt:TTL>64</tt:TTL>
                   <tt:AutoStart>false</tt:AutoStart>
               </tt:Multicast>
               <tt:SessionTimeout>PT00H01M00S</tt:SessionTimeout>
           </tt:AudioEncoderConfiguration>
           <tt:VideoAnalyticsConfiguration token="000">
               <tt:Name>AnalyticsConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:AnalyticsEngineConfiguration>
                   <tt:AnalyticsModule Name="MyCellMotion" Type="tt:CellMotionEngine">
                       <tt:Parameters>
                           <tt:SimpleItem Name="Sensitivity" Value="60"/>
                           <tt:ElementItem Name="Layout">
                               <tt:CellLayout Columns="22" Rows="18">
                                   <tt:Transformation>
                                       <tt:Translate x="-1.000000" y="-1.000000"/>
                                       <tt:Scale x="0.006250" y="0.008340"/>
                                   </tt:Transformation>
                               </tt:CellLayout>
                           </tt:ElementItem>
                       </tt:Parameters>
                   </tt:AnalyticsModule>
                   <tt:AnalyticsModule Name="MyTamper" Type="tt:TamperEngine">
                       <tt:Parameters>
                           <tt:SimpleItem Name="Sensitivity" Value="48"/>
                           <tt:ElementItem Name="Field">
                               <tt:PolygonConfiguration>
                                   <tt:Polygon>
                                       <tt:Point x="0" y="240"/>
                                       <tt:Point x="0" y="0"/>
                                       <tt:Point x="320" y="0"/>
                                       <tt:Point x="320" y="240"/>
                                   </tt:Polygon>
                               </tt:PolygonConfiguration>
                           </tt:ElementItem>
                           <tt:ElementItem Name="Transformation">
                               <tt:Transformation>
                                   <tt:Translate x="-1.000000" y="-1.000000"/>
                                   <tt:Scale x="0.006250" y="0.008340"/>
                               </tt:Transformation>
                           </tt:ElementItem>
                       </tt:Parameters>
                   </tt:AnalyticsModule>
               </tt:AnalyticsEngineConfiguration>
               <tt:RuleEngineConfiguration>
                   <tt:Rule Name="Region1" Type="tt:CellMotionDetector">
                       <tt:Parameters>
                           <tt:SimpleItem Name="MinCount" Value="19"/>
                           <tt:SimpleItem Name="AlarmOnDelay" Value="1000"/>
                           <tt:SimpleItem Name="AlarmOffDelay" Value="1000"/>
                           <tt:SimpleItem Name="ActiveCells" Value="0P8A8A=="/>
                       </tt:Parameters>
                   </tt:Rule>
                   <tt:Rule Name="MyTamperDetector" Type="tt:TamperDetector">
                       <tt:Parameters>
                           <tt:ElementItem Name="Field">
                               <tt:PolygonConfiguration>
                                   <tt:Polygon>
                                       <tt:Point x="0" y="240"/>
                                       <tt:Point x="0" y="0"/>
                                       <tt:Point x="320" y="0"/>
                                       <tt:Point x="320" y="240"/>
                                   </tt:Polygon>
                               </tt:PolygonConfiguration>
                           </tt:ElementItem>
                       </tt:Parameters>
                   </tt:Rule>
               </tt:RuleEngineConfiguration>
           </tt:VideoAnalyticsConfiguration>
           <tt:PTZConfiguration token="000" MoveRamp="0" PresetRamp="0" PresetTourRamp="0">
               <tt:Name>PTZConfig_Channel1</tt:Name>
               <tt:UseCount>111</tt:UseCount>
               <tt:NodeToken>000</tt:NodeToken>
               <tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
               <tt:DefaultRelativeZoomTranslationSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace</tt:DefaultRelativeZoomTranslationSpace>
               <tt:DefaultContinuousZoomVelocitySpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace</tt:DefaultContinuousZoomVelocitySpace>
               <tt:DefaultPTZSpeed>
                   <tt:Zoom space="http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace" x="0.800000"/>
               </tt:DefaultPTZSpeed>
               <tt:DefaultPTZTimeout>PT10S</tt:DefaultPTZTimeout>
               <tt:ZoomLimits>
                   <tt:Range>
                       <tt:URI>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:URI>
                       <tt:XRange>
                           <tt:Min>0.000000</tt:Min>
                           <tt:Max>1.000000</tt:Max>
                       </tt:XRange>
                   </tt:Range>
               </tt:ZoomLimits>
           </tt:PTZConfiguration>
           <tt:MetadataConfiguration token="000" CompressionType="">
               <tt:Name>MetadataConfig_Channel1</tt:Name>
               <tt:UseCount>3</tt:UseCount>
               <tt:PTZStatus>
                   <tt:Status>false</tt:Status>
                   <tt:Position>false</tt:Position>
               </tt:PTZStatus>
               <tt:Events>
                   <tt:Filter>
                       <wsnt:TopicExpression xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tns1="http://www.onvif.org/ver10/topics" Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/CellMotionDetector/Motion</wsnt:TopicExpression>
                   </tt:Filter>
               </tt:Events>
               <tt:Analytics>true</tt:Analytics>
               <tt:Multicast>
                   <tt:Address>
                       <tt:Type>IPv4</tt:Type>
                       <tt:IPv4Address>224.2.0.0</tt:IPv4Address>
                   </tt:Address>
                   <tt:Port>40020</tt:Port>
                   <tt:TTL>64</tt:TTL>
                   <tt:AutoStart>false</tt:AutoStart>
               </tt:Multicast>
               <tt:SessionTimeout>PT60S</tt:SessionTimeout>
           </tt:MetadataConfiguration>
       </trt:Profiles>
   </trt:GetProfilesResponse>
</s:Body>
</s:Envelope>
/dan
 

RainerT

Young grasshopper
Joined
Apr 6, 2018
Messages
32
Reaction score
6
I had the same issue and disconnections in BI5. It was only when h265 is selected. I downgraded my driver and now it is fine.
 
Top