Skip to content

Instantly share code, notes, and snippets.

@erwinchang
Last active March 7, 2017 01:16
Show Gist options
  • Save erwinchang/af2615a2ad381222f5f914754a37c74a to your computer and use it in GitHub Desktop.
Save erwinchang/af2615a2ad381222f5f914754a37c74a to your computer and use it in GitHub Desktop.
  • Onvif GetProfile Response
  • 由trt:GetProfilesResponse的tt:SourceToken決定VideoServer頻道(每個頻道內會有大小碼流)
<ONVIF> OnvifDoGetProfiles ---> DeviceType=[VIDEO SERVER], channelNumber=[4], profileCount=[8]
<ONVIF> OnvifDoGetProfiles ---> ch=[0], pToken=[h264], Res=[1920x1080]
<ONVIF> OnvifDoGetProfiles ---> ch=[0], pToken=[h264_2], Res=[640x480]
<ONVIF> OnvifDoGetProfiles ---> ch=[1], pToken=[h264_3], Res=[1920x1080]
<ONVIF> OnvifDoGetProfiles ---> ch=[1], pToken=[h264_4], Res=[640x360]
<ONVIF> OnvifDoGetProfiles ---> ch=[2], pToken=[h264_5], Res=[1920x1080]
<ONVIF> OnvifDoGetProfiles ---> ch=[2], pToken=[h264_6], Res=[640x360]
<ONVIF> OnvifDoGetProfiles ---> ch=[3], pToken=[h264_7], Res=[1920x1080]
<ONVIF> OnvifDoGetProfiles ---> ch=[3], pToken=[h264_8], Res=[640x360]
		<trt:GetProfilesResponse>
			<trt:Profiles fixed="true" token="h264">
				<tt:Name>H.264</tt:Name>
				<tt:VideoSourceConfiguration token="0">
					<tt:Name>0</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>0</tt:SourceToken>
				</tt:VideoSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_1">
					<tt:Name>h264_1</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>1920</tt:Width>
						<tt:Height>1080</tt:Height>
					</tt:Resolution>
				</tt:VideoEncoderConfiguration>
			</trt:Profiles>

			<trt:Profiles fixed="true" token="h264_2">
				<tt:Name>H.264-2</tt:Name>
				<tt:VideoSourceConfiguration token="0">
					<tt:Name>0</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>0</tt:SourceToken>
				</tt:VideoSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_2">
					<tt:Name>h264_2</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>640</tt:Width>
						<tt:Height>480</tt:Height>
					</tt:Resolution>
				</tt:VideoEncoderConfiguration>
			</trt:Profiles>

			<trt:Profiles fixed="true" token="h264_3">
				<tt:Name>H.264-3</tt:Name>
				<tt:VideoSourceConfiguration token="1">
					<tt:Name>1</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>1</tt:SourceToken>
				</tt:VideoSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_3">
					<tt:Name>h264_3</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>1920</tt:Width>
						<tt:Height>1080</tt:Height>
					</tt:Resolution>
				</tt:VideoEncoderConfiguration>
			</trt:Profiles>

			<trt:Profiles fixed="true" token="h264_4">
				<tt:Name>H.264-4</tt:Name>
				<tt:VideoSourceConfiguration token="1">
					<tt:Name>1</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>1</tt:SourceToken>
				</tt:VideoSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_4">
					<tt:Name>h264_4</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>640</tt:Width>
						<tt:Height>360</tt:Height>
					</tt:Resolution>
				</tt:VideoEncoderConfiguration>
			</trt:Profiles>
  • Onvif-GetProfile-Response
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
	xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
	xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xmime="http://tempuri.org/xmime.xsd"
	xmlns:xop="http://www.w3.org/2004/08/xop/include"
	xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
	xmlns:wsa5="http://www.w3.org/2005/08/addressing"
	xmlns:tt="http://www.onvif.org/ver10/schema"
	xmlns:wstop="http://docs.oasis-open.org/wsn/t-1"
	xmlns:wsdd="http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01"
	xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
	xmlns:tanae="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding"
	xmlns:tanre="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding"
	xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl"
	xmlns:tds="http://www.onvif.org/ver10/device/wsdl"
	xmlns:tetcp="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding"
	xmlns:tetnc="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding"
	xmlns:tetpp="http://www.onvif.org/ver10/events/wsdl/PullPointBinding"
	xmlns:tetps="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding"
	xmlns:tev1="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding"
	xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
	xmlns:tev2="http://www.onvif.org/ver10/events/wsdl/EventBinding"
	xmlns:tev3="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding"
	xmlns:tev4="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding"
	xmlns:tev="http://www.onvif.org/ver10/events/wsdl"
	xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl"
	xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl"
	xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl"
	xmlns:trt="http://www.onvif.org/ver10/media/wsdl"
	xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#"
	xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
	xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
	xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
	xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
	xmlns:ter="http://www.onvif.org/ver10/error">
	<SOAP-ENV:Body>
		<trt:GetProfilesResponse>
			<trt:Profiles fixed="true" token="h264">
				<tt:Name>H.264</tt:Name>
				<tt:VideoSourceConfiguration token="0">
					<tt:Name>0</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>0</tt:SourceToken>
					<tt:Bounds height="1080" width="1920" y="0" x="0"></tt:Bounds>
				</tt:VideoSourceConfiguration>
				<tt:AudioSourceConfiguration token="Audio_Source_0">
					<tt:Name>Audio_Source_0</tt:Name>
					<tt:UseCount>8</tt:UseCount>
					<tt:SourceToken>Audio_Source_0</tt:SourceToken>
				</tt:AudioSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_1">
					<tt:Name>h264_1</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>1920</tt:Width>
						<tt:Height>1080</tt:Height>
					</tt:Resolution>
					<tt:Quality>24</tt:Quality>
					<tt:RateControl>
						<tt:FrameRateLimit>30</tt:FrameRateLimit>
						<tt:EncodingInterval>1</tt:EncodingInterval>
						<tt:BitrateLimit>5120</tt:BitrateLimit>
					</tt:RateControl>
					<tt:H264>
						<tt:GovLength>30</tt:GovLength>
						<tt:H264Profile>Baseline</tt:H264Profile>
					</tt:H264>
					<tt:Multicast>
						<tt:Address>
							<tt:Type>IPv4</tt:Type>
							<tt:IPv4Address>239.224.2.67</tt:IPv4Address>
						</tt:Address>
						<tt:Port>6044</tt:Port>
						<tt:TTL>5</tt:TTL>
						<tt:AutoStart>false</tt:AutoStart>
					</tt:Multicast>
					<tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout>
				</tt:VideoEncoderConfiguration>
				<tt:PTZConfiguration token="PTZToken">
					<tt:Name>PTZ</tt:Name>
					<tt:UseCount>1</tt:UseCount>
					<tt:NodeToken>PTZNODETOKEN</tt:NodeToken>
					<tt:DefaultAbsolutePantTiltPositionSpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace</tt:DefaultAbsolutePantTiltPositionSpace>
					<tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
					<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>PT1S</tt:DefaultPTZTimeout>
				</tt:PTZConfiguration>
			</trt:Profiles>
			<trt:Profiles fixed="true" token="h264_2">
				<tt:Name>H.264-2</tt:Name>
				<tt:VideoSourceConfiguration token="0">
					<tt:Name>0</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>0</tt:SourceToken>
					<tt:Bounds height="1080" width="1920" y="0" x="0"></tt:Bounds>
				</tt:VideoSourceConfiguration>
				<tt:AudioSourceConfiguration token="Audio_Source_0">
					<tt:Name>Audio_Source_0</tt:Name>
					<tt:UseCount>8</tt:UseCount>
					<tt:SourceToken>Audio_Source_0</tt:SourceToken>
				</tt:AudioSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_2">
					<tt:Name>h264_2</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>640</tt:Width>
						<tt:Height>480</tt:Height>
					</tt:Resolution>
					<tt:Quality>24</tt:Quality>
					<tt:RateControl>
						<tt:FrameRateLimit>30</tt:FrameRateLimit>
						<tt:EncodingInterval>1</tt:EncodingInterval>
						<tt:BitrateLimit>512</tt:BitrateLimit>
					</tt:RateControl>
					<tt:H264>
						<tt:GovLength>30</tt:GovLength>
						<tt:H264Profile>Baseline</tt:H264Profile>
					</tt:H264>
					<tt:Multicast>
						<tt:Address>
							<tt:Type>IPv4</tt:Type>
							<tt:IPv4Address>239.224.2.67</tt:IPv4Address>
						</tt:Address>
						<tt:Port>6044</tt:Port>
						<tt:TTL>5</tt:TTL>
						<tt:AutoStart>false</tt:AutoStart>
					</tt:Multicast>
					<tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout>
				</tt:VideoEncoderConfiguration>
				<tt:PTZConfiguration token="PTZToken">
					<tt:Name>PTZ</tt:Name>
					<tt:UseCount>1</tt:UseCount>
					<tt:NodeToken>PTZNODETOKEN</tt:NodeToken>
					<tt:DefaultAbsolutePantTiltPositionSpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace</tt:DefaultAbsolutePantTiltPositionSpace>
					<tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
					<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>PT1S</tt:DefaultPTZTimeout>
				</tt:PTZConfiguration>
			</trt:Profiles>
			<trt:Profiles fixed="true" token="h264_3">
				<tt:Name>H.264-3</tt:Name>
				<tt:VideoSourceConfiguration token="1">
					<tt:Name>1</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>1</tt:SourceToken>
					<tt:Bounds height="1080" width="1920" y="0" x="0"></tt:Bounds>
				</tt:VideoSourceConfiguration>
				<tt:AudioSourceConfiguration token="Audio_Source_0">
					<tt:Name>Audio_Source_0</tt:Name>
					<tt:UseCount>8</tt:UseCount>
					<tt:SourceToken>Audio_Source_0</tt:SourceToken>
				</tt:AudioSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_3">
					<tt:Name>h264_3</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>1920</tt:Width>
						<tt:Height>1080</tt:Height>
					</tt:Resolution>
					<tt:Quality>80</tt:Quality>
					<tt:RateControl>
						<tt:FrameRateLimit>25</tt:FrameRateLimit>
						<tt:EncodingInterval>1</tt:EncodingInterval>
						<tt:BitrateLimit>6144</tt:BitrateLimit>
					</tt:RateControl>
					<tt:H264>
						<tt:GovLength>25</tt:GovLength>
						<tt:H264Profile>Baseline</tt:H264Profile>
					</tt:H264>
					<tt:Multicast>
						<tt:Address>
							<tt:Type>IPv4</tt:Type>
							<tt:IPv4Address>239.224.2.67</tt:IPv4Address>
						</tt:Address>
						<tt:Port>6044</tt:Port>
						<tt:TTL>5</tt:TTL>
						<tt:AutoStart>false</tt:AutoStart>
					</tt:Multicast>
					<tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout>
				</tt:VideoEncoderConfiguration>
				<tt:PTZConfiguration token="PTZToken">
					<tt:Name>PTZ</tt:Name>
					<tt:UseCount>1</tt:UseCount>
					<tt:NodeToken>PTZNODETOKEN</tt:NodeToken>
					<tt:DefaultAbsolutePantTiltPositionSpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace</tt:DefaultAbsolutePantTiltPositionSpace>
					<tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
					<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>PT1S</tt:DefaultPTZTimeout>
				</tt:PTZConfiguration>
			</trt:Profiles>
			<trt:Profiles fixed="true" token="h264_4">
				<tt:Name>H.264-4</tt:Name>
				<tt:VideoSourceConfiguration token="1">
					<tt:Name>1</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>1</tt:SourceToken>
					<tt:Bounds height="1080" width="1920" y="0" x="0"></tt:Bounds>
				</tt:VideoSourceConfiguration>
				<tt:AudioSourceConfiguration token="Audio_Source_0">
					<tt:Name>Audio_Source_0</tt:Name>
					<tt:UseCount>8</tt:UseCount>
					<tt:SourceToken>Audio_Source_0</tt:SourceToken>
				</tt:AudioSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_4">
					<tt:Name>h264_4</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>640</tt:Width>
						<tt:Height>360</tt:Height>
					</tt:Resolution>
					<tt:Quality>80</tt:Quality>
					<tt:RateControl>
						<tt:FrameRateLimit>25</tt:FrameRateLimit>
						<tt:EncodingInterval>1</tt:EncodingInterval>
						<tt:BitrateLimit>1024</tt:BitrateLimit>
					</tt:RateControl>
					<tt:H264>
						<tt:GovLength>25</tt:GovLength>
						<tt:H264Profile>Baseline</tt:H264Profile>
					</tt:H264>
					<tt:Multicast>
						<tt:Address>
							<tt:Type>IPv4</tt:Type>
							<tt:IPv4Address>239.224.2.67</tt:IPv4Address>
						</tt:Address>
						<tt:Port>6044</tt:Port>
						<tt:TTL>5</tt:TTL>
						<tt:AutoStart>false</tt:AutoStart>
					</tt:Multicast>
					<tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout>
				</tt:VideoEncoderConfiguration>
				<tt:PTZConfiguration token="PTZToken">
					<tt:Name>PTZ</tt:Name>
					<tt:UseCount>1</tt:UseCount>
					<tt:NodeToken>PTZNODETOKEN</tt:NodeToken>
					<tt:DefaultAbsolutePantTiltPositionSpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace</tt:DefaultAbsolutePantTiltPositionSpace>
					<tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
					<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>PT1S</tt:DefaultPTZTimeout>
				</tt:PTZConfiguration>
			</trt:Profiles>
			<trt:Profiles fixed="true" token="h264_5">
				<tt:Name>H.264-5</tt:Name>
				<tt:VideoSourceConfiguration token="2">
					<tt:Name>2</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>2</tt:SourceToken>
					<tt:Bounds height="1080" width="1920" y="0" x="0"></tt:Bounds>
				</tt:VideoSourceConfiguration>
				<tt:AudioSourceConfiguration token="Audio_Source_0">
					<tt:Name>Audio_Source_0</tt:Name>
					<tt:UseCount>8</tt:UseCount>
					<tt:SourceToken>Audio_Source_0</tt:SourceToken>
				</tt:AudioSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_5">
					<tt:Name>h264_5</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>1920</tt:Width>
						<tt:Height>1080</tt:Height>
					</tt:Resolution>
					<tt:Quality>80</tt:Quality>
					<tt:RateControl>
						<tt:FrameRateLimit>25</tt:FrameRateLimit>
						<tt:EncodingInterval>1</tt:EncodingInterval>
						<tt:BitrateLimit>6144</tt:BitrateLimit>
					</tt:RateControl>
					<tt:H264>
						<tt:GovLength>25</tt:GovLength>
						<tt:H264Profile>Baseline</tt:H264Profile>
					</tt:H264>
					<tt:Multicast>
						<tt:Address>
							<tt:Type>IPv4</tt:Type>
							<tt:IPv4Address>239.224.2.67</tt:IPv4Address>
						</tt:Address>
						<tt:Port>6044</tt:Port>
						<tt:TTL>5</tt:TTL>
						<tt:AutoStart>false</tt:AutoStart>
					</tt:Multicast>
					<tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout>
				</tt:VideoEncoderConfiguration>
				<tt:PTZConfiguration token="PTZToken">
					<tt:Name>PTZ</tt:Name>
					<tt:UseCount>1</tt:UseCount>
					<tt:NodeToken>PTZNODETOKEN</tt:NodeToken>
					<tt:DefaultAbsolutePantTiltPositionSpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace</tt:DefaultAbsolutePantTiltPositionSpace>
					<tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
					<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>PT1S</tt:DefaultPTZTimeout>
				</tt:PTZConfiguration>
			</trt:Profiles>
			<trt:Profiles fixed="true" token="h264_6">
				<tt:Name>H.264-6</tt:Name>
				<tt:VideoSourceConfiguration token="2">
					<tt:Name>2</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>2</tt:SourceToken>
					<tt:Bounds height="1080" width="1920" y="0" x="0"></tt:Bounds>
				</tt:VideoSourceConfiguration>
				<tt:AudioSourceConfiguration token="Audio_Source_0">
					<tt:Name>Audio_Source_0</tt:Name>
					<tt:UseCount>8</tt:UseCount>
					<tt:SourceToken>Audio_Source_0</tt:SourceToken>
				</tt:AudioSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_6">
					<tt:Name>h264_6</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>640</tt:Width>
						<tt:Height>360</tt:Height>
					</tt:Resolution>
					<tt:Quality>80</tt:Quality>
					<tt:RateControl>
						<tt:FrameRateLimit>25</tt:FrameRateLimit>
						<tt:EncodingInterval>1</tt:EncodingInterval>
						<tt:BitrateLimit>1024</tt:BitrateLimit>
					</tt:RateControl>
					<tt:H264>
						<tt:GovLength>25</tt:GovLength>
						<tt:H264Profile>Baseline</tt:H264Profile>
					</tt:H264>
					<tt:Multicast>
						<tt:Address>
							<tt:Type>IPv4</tt:Type>
							<tt:IPv4Address>239.224.2.67</tt:IPv4Address>
						</tt:Address>
						<tt:Port>6044</tt:Port>
						<tt:TTL>5</tt:TTL>
						<tt:AutoStart>false</tt:AutoStart>
					</tt:Multicast>
					<tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout>
				</tt:VideoEncoderConfiguration>
				<tt:PTZConfiguration token="PTZToken">
					<tt:Name>PTZ</tt:Name>
					<tt:UseCount>1</tt:UseCount>
					<tt:NodeToken>PTZNODETOKEN</tt:NodeToken>
					<tt:DefaultAbsolutePantTiltPositionSpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace</tt:DefaultAbsolutePantTiltPositionSpace>
					<tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
					<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>PT1S</tt:DefaultPTZTimeout>
				</tt:PTZConfiguration>
			</trt:Profiles>
			<trt:Profiles fixed="true" token="h264_7">
				<tt:Name>H.264-7</tt:Name>
				<tt:VideoSourceConfiguration token="3">
					<tt:Name>3</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>3</tt:SourceToken>
					<tt:Bounds height="1080" width="1920" y="0" x="0"></tt:Bounds>
				</tt:VideoSourceConfiguration>
				<tt:AudioSourceConfiguration token="Audio_Source_0">
					<tt:Name>Audio_Source_0</tt:Name>
					<tt:UseCount>8</tt:UseCount>
					<tt:SourceToken>Audio_Source_0</tt:SourceToken>
				</tt:AudioSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_7">
					<tt:Name>h264_7</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>1920</tt:Width>
						<tt:Height>1080</tt:Height>
					</tt:Resolution>
					<tt:Quality>80</tt:Quality>
					<tt:RateControl>
						<tt:FrameRateLimit>25</tt:FrameRateLimit>
						<tt:EncodingInterval>1</tt:EncodingInterval>
						<tt:BitrateLimit>6144</tt:BitrateLimit>
					</tt:RateControl>
					<tt:H264>
						<tt:GovLength>25</tt:GovLength>
						<tt:H264Profile>Baseline</tt:H264Profile>
					</tt:H264>
					<tt:Multicast>
						<tt:Address>
							<tt:Type>IPv4</tt:Type>
							<tt:IPv4Address>239.224.2.67</tt:IPv4Address>
						</tt:Address>
						<tt:Port>6044</tt:Port>
						<tt:TTL>5</tt:TTL>
						<tt:AutoStart>false</tt:AutoStart>
					</tt:Multicast>
					<tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout>
				</tt:VideoEncoderConfiguration>
				<tt:PTZConfiguration token="PTZToken">
					<tt:Name>PTZ</tt:Name>
					<tt:UseCount>1</tt:UseCount>
					<tt:NodeToken>PTZNODETOKEN</tt:NodeToken>
					<tt:DefaultAbsolutePantTiltPositionSpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace</tt:DefaultAbsolutePantTiltPositionSpace>
					<tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
					<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>PT1S</tt:DefaultPTZTimeout>
				</tt:PTZConfiguration>
			</trt:Profiles>
			<trt:Profiles fixed="true" token="h264_8">
				<tt:Name>H.264-8</tt:Name>
				<tt:VideoSourceConfiguration token="3">
					<tt:Name>3</tt:Name>
					<tt:UseCount>2</tt:UseCount>
					<tt:SourceToken>3</tt:SourceToken>
					<tt:Bounds height="1080" width="1920" y="0" x="0"></tt:Bounds>
				</tt:VideoSourceConfiguration>
				<tt:AudioSourceConfiguration token="Audio_Source_0">
					<tt:Name>Audio_Source_0</tt:Name>
					<tt:UseCount>8</tt:UseCount>
					<tt:SourceToken>Audio_Source_0</tt:SourceToken>
				</tt:AudioSourceConfiguration>
				<tt:VideoEncoderConfiguration token="h264_8">
					<tt:Name>h264_8</tt:Name>
					<tt:UseCount>0</tt:UseCount>
					<tt:Encoding>H264</tt:Encoding>
					<tt:Resolution>
						<tt:Width>640</tt:Width>
						<tt:Height>360</tt:Height>
					</tt:Resolution>
					<tt:Quality>80</tt:Quality>
					<tt:RateControl>
						<tt:FrameRateLimit>25</tt:FrameRateLimit>
						<tt:EncodingInterval>1</tt:EncodingInterval>
						<tt:BitrateLimit>1024</tt:BitrateLimit>
					</tt:RateControl>
					<tt:H264>
						<tt:GovLength>25</tt:GovLength>
						<tt:H264Profile>Baseline</tt:H264Profile>
					</tt:H264>
					<tt:Multicast>
						<tt:Address>
							<tt:Type>IPv4</tt:Type>
							<tt:IPv4Address>239.224.2.67</tt:IPv4Address>
						</tt:Address>
						<tt:Port>6044</tt:Port>
						<tt:TTL>5</tt:TTL>
						<tt:AutoStart>false</tt:AutoStart>
					</tt:Multicast>
					<tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout>
				</tt:VideoEncoderConfiguration>
				<tt:PTZConfiguration token="PTZToken">
					<tt:Name>PTZ</tt:Name>
					<tt:UseCount>1</tt:UseCount>
					<tt:NodeToken>PTZNODETOKEN</tt:NodeToken>
					<tt:DefaultAbsolutePantTiltPositionSpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace</tt:DefaultAbsolutePantTiltPositionSpace>
					<tt:DefaultAbsoluteZoomPositionSpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace</tt:DefaultAbsoluteZoomPositionSpace>
					<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>PT1S</tt:DefaultPTZTimeout>
				</tt:PTZConfiguration>
			</trt:Profiles>
		</trt:GetProfilesResponse>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment