I think you will have to share snippets of your source code in order to explain how you initialize and use JPEGLiveSource and explain what quality is in your context. We would like to understand what goes on and perhaps try to reproduce the issue.
Please also test one thing for us. Try to run the MediaLiveSource sample unmodified, when using this sample unmodified in your test setup do you see the issue?
Sharing our code is nearly impossible. But let me assure you that we don’t do anything different than in your samples.
I can’t find a MediaLiveSource sample application in all of the downloaded SDKs.
I tried the MediaLiveViewer sample, which does exactly what we do and it shows the unwanted behavior.
I checked and the case is created, but it is your colleague (David) that is the registered contact person for you company, so he is probably receiving the updates?
So far we have not been able to reproduce. We have tried using the MediaLiveViewer sample and the video starts streaming almost immediately after selecting a camera. Even when running with FullHD resolution. I assume you reproduced using an unmodified version of MediaLiveViewer sample?
What does the sample report in the “Hardware Decoding Status” field?
The fact that reducing the quality helps on this for you sounds to me like this is a bandwidth issue, but given that Smart Client works fine on the same machine makes this unlikely.
you are right: we didn’t modify your samples!
The “Hardware Decoding Status” field shows the value “hardwareNvidia” in our test environment. The test machine has a Nvidia display adapter.
The customer actually doesn’t have the samples …
Could you please provide a wireshark of the communication between the MediaLiveViewer sample and the XProtect server machine during one of the instances of this happening. Please also provide us with timestamps of when you select the camera in the item picker of the sample and when the video starts showing.
Also, do you have any antivirus on your machine that might cause file load to be slower? When running hardware decoding we need to load some dll’s, which might take a couple of seconds (but should never be 10-40 seconds).
Could you please also check whether selecting another camera after the first camera starts streaming, is faster than the first one?
Thank you for the wireshark, but I am a bit confused. I assume that 10.10.77.124 is the address of the server and 10.10.1.199 is the address of the client (?), as that is source and destination of the video packages, but I don’t see a single package going from client to server?
Is there any chance that multicast is enabled? Or some sort of proxy is in place between client and server?
With the current information we have no way of getting any further, since we cannot reproduce and we cannot really see anything from the wireshark as long as no requests from the client can be seen.
the problem for wireshark was, that the camera and XProtect and the client were in different subnets. That’s why you did not see all the traffic.
Trying to get better files we noticed, that there is no more delay in the sample application and also not in our application.
We don’t know what could have caused this and are trying to figure it out together with out IT department. Maybe they changed something?
I think it might be interesting for you to know what it was if we find something?