Hi, i am back from vacation, so testing this out, i want to try rtspyou can also try it with auth if mainstream has 264....
add one cam as hik...
export as xml, edit import again..
edit it like this (WITH PORT 0)
if not work, instead of Direct ... URL .. then put rtsp url in without userassword@
& in stream url have to be &
<?xml version="1.0" encoding="utf-8"?>
<MonitorInfo>
<MoniInfo>
<strRelateChannel>1</strRelateChannel>
<strDeviceName>Teich</strDeviceName>
<StreamMode>URL</StreamMode>
<strUrl>rtsp:/10.0.1.10:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif</strUrl>
<strFacProtocol></strFacProtocol>
<strUserName></strUserName>
<strPassWord></strPassWord>
<strIP></strIP>
<strPort></strPort>
<strTransType></strTransType>
<strChannel></strChannel>
<strPeriodNo></strPeriodNo>
<strBuildNo></strBuildNo>
<strUnitNo></strUnitNo>
<strIndex></strIndex>
<strDeviceType>1</strDeviceType>
</MoniInfo>
</MonitorInfo>
<?xml version="1.0" encoding="utf-8"?>
<MonitorInfo>
<MoniInfo>
<strRelateChannel>1</strRelateChannel>
<strDeviceName>test</strDeviceName>
<StreamMode>Direct</StreamMode>
<strUrl></strUrl>
<strFacProtocol>ONVIF</strFacProtocol>
<strUserName>viewer</strUserName>
<strPassWord>Test1234</strPassWord>
<strIP>10.0.1.10</strIP>
<strPort>554</strPort>
<strTransType>Main Stream</strTransType>
<strChannel>0</strChannel>
<strPeriodNo></strPeriodNo>
<strBuildNo></strBuildNo>
<strUnitNo></strUnitNo>
<strIndex></strIndex>
<strDeviceType>2</strDeviceType>
</MoniInfo>
</MonitorInfo>
but that example is onvif? right?i posted code above.
but like i told you, you cannot use username and password... that is not working !
if you are using h264 as mainstream you can try something like this...
Code:<?xml version="1.0" encoding="utf-8"?> <MonitorInfo> <MoniInfo> <strRelateChannel>1</strRelateChannel> <strDeviceName>test</strDeviceName> <StreamMode>Direct</StreamMode> <strUrl></strUrl> <strFacProtocol>ONVIF</strFacProtocol> <strUserName>viewer</strUserName> <strPassWord>Test1234</strPassWord> <strIP>10.0.1.10</strIP> <strPort>554</strPort> <strTransType>Main Stream</strTransType> <strChannel>0</strChannel> <strPeriodNo></strPeriodNo> <strBuildNo></strBuildNo> <strUnitNo></strUnitNo> <strIndex></strIndex> <strDeviceType>2</strDeviceType> </MoniInfo> </MonitorInfo>
the hik display can get mainstream url via onvif, if on same network, it is working... but you cant get substream
yeah, if export / import with hik, then it works indeedthats sad...
and HIK protocol works import export again ? then it only supports hik ... not sure why, maybe ivms block it
according to logs it use same connect method as HIK protocol in URL mode