using example code in MIPSDK\ComponentSamples\MediaLiveServiceJPEG_cpp folder,change camera and ipaddress infomation, if i connect camera not over interconnect,it get streaming successful,otherwise it can’t get steaming.
Examine first if the camera is streaming via interconnect, you can check with a Smart Client.
Chances are that it works/fails the same way and then you need to troubleshoot the VMS setup rather than the code to retrieve footage.
If it works in the Smart Client but fails in MediaLiveServiceJPEG my first idea is to check the camera GUID, and note it will not be the same on the interconnected system and through the interconnector.
It works in Smart Client, and I checked camera GUID is correct.
Using the example code in MIPSDK\ProtocolSamples\TcpVideoViewer,it works too.
@Bo Andersen do you have any advice about this question?
I will be trying to reproduce the issue, if I can reproduce I can get some further debugging going.
I cannot reproduce
Whether
(1) I login on the XProtect where the camera is directly connected and supply the GUID for the camera on the XProtect where the camera is directly connected
or
(2) I login in the XProtect with the interconnected XProtect attached and supply the (different) GUID for the camera in the XProtect with the interconnected XProtect attached
it works for me.
Can you please double-check you use the GUID that is in the VMS you login to?
I might be asking the same again, so please bare with me. For you scenario (1) works but scenario (2) fails, is this correctly understood?
What version is your MIP SDK?
Note that testing scenario (1) and (2) you will have to change
cameraGuid
vmsServer
vmsRecorderUri
(you might be able to use the same credentials on the two systems).
This issue has been resolved, thank you very much!
