<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
    xmlns:soapenc="http://www.w3.org/2003/05/soap-encoding"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tt="http://www.onvif.org/ver10/schema"
    xmlns:tds="http://www.onvif.org/ver10/device/wsdl"
    xmlns:trt="http://www.onvif.org/ver10/media/wsdl"
    xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl"
    xmlns:tev="http://www.onvif.org/ver10/events/wsdl"
    xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl"
    xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl"
    xmlns:tst="http://www.onvif.org/ver10/storage/wsdl" xmlns:ter="http://www.onvif.org/ver10/error"
    xmlns:dn="http://www.onvif.org/ver10/network/wsdl"
    xmlns:tns1="http://www.onvif.org/ver10/topics"
    xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl"
    xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http"
    xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery"
    xmlns:wsadis="http://schemas.xmlsoap.org/ws/2004/08/addressing"
    xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa="http://www.w3.org/2005/08/addressing"
    xmlns:wstop="http://docs.oasis-open.org/wsn/t-1"
    xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
    xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
    xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2"
    xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
    xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
    xmlns:trc="http://www.onvif.org/ver10/recording/wsdl"
    xmlns:tse="http://www.onvif.org/ver10/search/wsdl"
    xmlns:trp="http://www.onvif.org/ver10/replay/wsdl"
    xmlns:tnshik="http://www.hikvision.com/2011/event/topics"
    xmlns:hikwsd="http://www.onvifext.com/onvif/ext/ver10/wsdl"
    xmlns:hikxsd="http://www.onvifext.com/onvif/ext/ver10/schema"
    xmlns:tas="http://www.onvif.org/ver10/advancedsecurity/wsdl"
    xmlns:tr2="http://www.onvif.org/ver20/media/wsdl"
    xmlns:axt="http://www.onvif.org/ver20/analytics">
    <env:Body>
        <trt:GetProfilesResponse>
            <trt:Profiles token="Profile_1" fixed="true">
                <tt:Name>mainStream</tt:Name>
                <tt:VideoSourceConfiguration token="VideoSourceToken">
                    <tt:Name>VideoSource_1</tt:Name>
                    <tt:UseCount>2</tt:UseCount>
                    <tt:SourceToken>VideoSource_1</tt:SourceToken>
                    <tt:Bounds x="0" y="0" width="1920" height="1080" />
                </tt:VideoSourceConfiguration>
                <tt:AudioSourceConfiguration token="AudioSourceConfigToken">
                    <tt:Name>AudioSourceConfig</tt:Name>
                    <tt:UseCount>2</tt:UseCount>
                    <tt:SourceToken>AudioSourceChannel</tt:SourceToken>
                </tt:AudioSourceConfiguration>
                <tt:VideoEncoderConfiguration token="VideoEncoderToken_1">
                    <tt:Name>VideoEncoder_1</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>5.000000</tt:Quality>
                    <tt:RateControl>
                        <tt:FrameRateLimit>15</tt:FrameRateLimit>
                        <tt:EncodingInterval>1</tt:EncodingInterval>
                        <tt:BitrateLimit>256</tt:BitrateLimit>
                    </tt:RateControl>
                    <tt:H264>
                        <tt:GovLength>25</tt:GovLength>
                        <tt:H264Profile>Main</tt:H264Profile>
                    </tt:H264>
                    <tt:Multicast>
                        <tt:Address>
                            <tt:Type>IPv4</tt:Type>
                            <tt:IPv4Address>0.0.0.0</tt:IPv4Address>
                        </tt:Address>
                        <tt:Port>8600</tt:Port>
                        <tt:TTL>128</tt:TTL>
                        <tt:AutoStart>false</tt:AutoStart>
                    </tt:Multicast>
                    <tt:SessionTimeout>PT5S</tt:SessionTimeout>
                </tt:VideoEncoderConfiguration>
                <tt:AudioEncoderConfiguration token="MainAudioEncoderToken">
                    <tt:Name>AudioEncoderConfig</tt:Name>
                    <tt:UseCount>2</tt:UseCount>
                    <tt:Encoding>G711</tt:Encoding>
                    <tt:Bitrate>64</tt:Bitrate>
                    <tt:SampleRate>8</tt:SampleRate>
                    <tt:Multicast>
                        <tt:Address>
                            <tt:Type>IPv4</tt:Type>
                            <tt:IPv4Address>0.0.0.0</tt:IPv4Address>
                        </tt:Address>
                        <tt:Port>8602</tt:Port>
                        <tt:TTL>128</tt:TTL>
                        <tt:AutoStart>false</tt:AutoStart>
                    </tt:Multicast>
                    <tt:SessionTimeout>PT5S</tt:SessionTimeout>
                </tt:AudioEncoderConfiguration>
                <tt:VideoAnalyticsConfiguration token="VideoAnalyticsToken">
                    <tt:Name>VideoAnalyticsName</tt:Name>
                    <tt:UseCount>2</tt:UseCount>
                    <tt:AnalyticsEngineConfiguration>
                        <tt:AnalyticsModule Name="MyCellMotionModule" Type="tt:CellMotionEngine">
                            <tt:Parameters>
                                <tt:SimpleItem Name="Sensitivity" Value="100" />
                                <tt:ElementItem Name="Layout">
                                    <tt:CellLayout Columns="22" Rows="18">
                                        <tt:Transformation>
                                            <tt:Translate x="-1.000000" y="-1.000000" />
                                            <tt:Scale x="0.090909" y="0.111111" />
                                        </tt:Transformation>
                                    </tt:CellLayout>
                                </tt:ElementItem>
                            </tt:Parameters>
                        </tt:AnalyticsModule>
                    </tt:AnalyticsEngineConfiguration>
                    <tt:RuleEngineConfiguration>
                        <tt:Rule Name="MyMotionDetectorRule" Type="tt:CellMotionDetector">
                            <tt:Parameters>
                                <tt:SimpleItem Name="MinCount" Value="5" />
                                <tt:SimpleItem Name="AlarmOnDelay" Value="1000" />
                                <tt:SimpleItem Name="AlarmOffDelay" Value="1000" />
                                <tt:SimpleItem Name="ActiveCells"
                                    Value="7gAeB///H//8f//x///H//8f//x///H//8f//x///H//wA==" />
                            </tt:Parameters>
                        </tt:Rule>
                    </tt:RuleEngineConfiguration>
                </tt:VideoAnalyticsConfiguration>
                <tt:PTZConfiguration token="PTZToken">
                    <tt:Name>PTZ</tt:Name>
                    <tt:UseCount>2</tt:UseCount>
                    <tt:NodeToken>PTZNODETOKEN</tt:NodeToken>
                    <tt:DefaultContinuousPanTiltVelocitySpace>
                        http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace</tt:DefaultContinuousPanTiltVelocitySpace>
                    <tt:DefaultContinuousZoomVelocitySpace>
                        http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace</tt:DefaultContinuousZoomVelocitySpace>
                    <tt:DefaultPTZTimeout>PT300S</tt:DefaultPTZTimeout>
                </tt:PTZConfiguration>
                <tt:Extension>
                    <tt:AudioOutputConfiguration token="AudioOutputConfigToken">
                        <tt:Name>AudioOutputConfigName</tt:Name>
                        <tt:UseCount>2</tt:UseCount>
                        <tt:OutputToken>AudioOutputToken</tt:OutputToken>
                        <tt:SendPrimacy>www.onvif.org/ver20/HalfDuplex/Auto</tt:SendPrimacy>
                        <tt:OutputLevel>10</tt:OutputLevel>
                    </tt:AudioOutputConfiguration>
                    <tt:AudioDecoderConfiguration token="AudioDecoderConfigToken">
                        <tt:Name>AudioDecoderConfig</tt:Name>
                        <tt:UseCount>2</tt:UseCount>
                    </tt:AudioDecoderConfiguration>
                </tt:Extension>
            </trt:Profiles>
            <trt:Profiles token="Profile_2" fixed="true">
                <tt:Name>subStream</tt:Name>
                <tt:VideoSourceConfiguration token="VideoSourceToken">
                    <tt:Name>VideoSource_1</tt:Name>
                    <tt:UseCount>2</tt:UseCount>
                    <tt:SourceToken>VideoSource_1</tt:SourceToken>
                    <tt:Bounds x="0" y="0" width="1920" height="1080" />
                </tt:VideoSourceConfiguration>
                <tt:AudioSourceConfiguration token="AudioSourceConfigToken">
                    <tt:Name>AudioSourceConfig</tt:Name>
                    <tt:UseCount>2</tt:UseCount>
                    <tt:SourceToken>AudioSourceChannel</tt:SourceToken>
                </tt:AudioSourceConfiguration>
                <tt:VideoEncoderConfiguration token="VideoEncoderToken_2" encoding="H265">
                    <tt:Name>VideoEncoder_2</tt:Name>
                    <tt:UseCount>1</tt:UseCount>
                    <tt:Encoding>H264</tt:Encoding>
                    <tt:Resolution>
                        <tt:Width>640</tt:Width>
                        <tt:Height>360</tt:Height>
                    </tt:Resolution>
                    <tt:Quality>3.000000</tt:Quality>
                    <tt:RateControl>
                        <tt:FrameRateLimit>18</tt:FrameRateLimit>
                        <tt:EncodingInterval>1</tt:EncodingInterval>
                        <tt:BitrateLimit>128</tt:BitrateLimit>
                    </tt:RateControl>
                    <tt:H264>
                        <tt:GovLength>50</tt:GovLength>
                        <tt:H264Profile>Main</tt:H264Profile>
                    </tt:H264>
                    <tt:Multicast>
                        <tt:Address>
                            <tt:Type>IPv4</tt:Type>
                            <tt:IPv4Address>0.0.0.0</tt:IPv4Address>
                        </tt:Address>
                        <tt:Port>8606</tt:Port>
                        <tt:TTL>128</tt:TTL>
                        <tt:AutoStart>false</tt:AutoStart>
                    </tt:Multicast>
                    <tt:SessionTimeout>PT5S</tt:SessionTimeout>
                </tt:VideoEncoderConfiguration>
                <tt:AudioEncoderConfiguration token="MainAudioEncoderToken">
                    <tt:Name>AudioEncoderConfig</tt:Name>
                    <tt:UseCount>2</tt:UseCount>
                    <tt:Encoding>G711</tt:Encoding>
                    <tt:Bitrate>64</tt:Bitrate>
                    <tt:SampleRate>8</tt:SampleRate>
                    <tt:Multicast>
                        <tt:Address>
                            <tt:Type>IPv4</tt:Type>
                            <tt:IPv4Address>0.0.0.0</tt:IPv4Address>
                        </tt:Address>
                        <tt:Port>8602</tt:Port>
                        <tt:TTL>128</tt:TTL>
                        <tt:AutoStart>false</tt:AutoStart>
                    </tt:Multicast>
                    <tt:SessionTimeout>PT5S</tt:SessionTimeout>
                </tt:AudioEncoderConfiguration>
                <tt:VideoAnalyticsConfiguration token="VideoAnalyticsToken">
                    <tt:Name>VideoAnalyticsName</tt:Name>
                    <tt:UseCount>2</tt:UseCount>
                    <tt:AnalyticsEngineConfiguration>
                        <tt:AnalyticsModule Name="MyCellMotionModule" Type="tt:CellMotionEngine">
                            <tt:Parameters>
                                <tt:SimpleItem Name="Sensitivity" Value="100" />
                                <tt:ElementItem Name="Layout">
                                    <tt:CellLayout Columns="22" Rows="18">
                                        <tt:Transformation>
                                            <tt:Translate x="-1.000000" y="-1.000000" />
                                            <tt:Scale x="0.090909" y="0.111111" />
                                        </tt:Transformation>
                                    </tt:CellLayout>
                                </tt:ElementItem>
                            </tt:Parameters>
                        </tt:AnalyticsModule>
                    </tt:AnalyticsEngineConfiguration>
                    <tt:RuleEngineConfiguration>
                        <tt:Rule Name="MyMotionDetectorRule" Type="tt:CellMotionDetector">
                            <tt:Parameters>
                                <tt:SimpleItem Name="MinCount" Value="5" />
                                <tt:SimpleItem Name="AlarmOnDelay" Value="1000" />
                                <tt:SimpleItem Name="AlarmOffDelay" Value="1000" />
                                <tt:SimpleItem Name="ActiveCells"
                                    Value="7gAeB///H//8f//x///H//8f//x///H//8f//x///H//wA==" />
                            </tt:Parameters>
                        </tt:Rule>
                    </tt:RuleEngineConfiguration>
                </tt:VideoAnalyticsConfiguration>
                <tt:PTZConfiguration token="PTZToken">
                    <tt:Name>PTZ</tt:Name>
                    <tt:UseCount>2</tt:UseCount>
                    <tt:NodeToken>PTZNODETOKEN</tt:NodeToken>
                    <tt:DefaultContinuousPanTiltVelocitySpace>
                        http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace</tt:DefaultContinuousPanTiltVelocitySpace>
                    <tt:DefaultContinuousZoomVelocitySpace>
                        http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace</tt:DefaultContinuousZoomVelocitySpace>
                    <tt:DefaultPTZTimeout>PT300S</tt:DefaultPTZTimeout>
                </tt:PTZConfiguration>
                <tt:Extension>
                    <tt:AudioOutputConfiguration token="AudioOutputConfigToken">
                        <tt:Name>AudioOutputConfigName</tt:Name>
                        <tt:UseCount>2</tt:UseCount>
                        <tt:OutputToken>AudioOutputToken</tt:OutputToken>
                        <tt:SendPrimacy>www.onvif.org/ver20/HalfDuplex/Auto</tt:SendPrimacy>
                        <tt:OutputLevel>10</tt:OutputLevel>
                    </tt:AudioOutputConfiguration>
                    <tt:AudioDecoderConfiguration token="AudioDecoderConfigToken">
                        <tt:Name>AudioDecoderConfig</tt:Name>
                        <tt:UseCount>2</tt:UseCount>
                    </tt:AudioDecoderConfiguration>
                </tt:Extension>
            </trt:Profiles>
        </trt:GetProfilesResponse>
    </env:Body>
</env:Envelope>