Hi,
We called ImageViewerWpfControl to get video streams. We did testing in the following scenarios and found problem in one case.
- If we only switch views in live mode, it works fine.
- If we only switch views in playback mode, it works fine.
- If we only switch same view between live mode and playback mode, it works fine.
- If do 1 above first, then switch it to replay mode, the network bandwidth increased a lot, almost 100% which makes the application can’t work.
We noticed the tcp connections increased abnormal. here is the pic.
In live mode(7connections, 2*2 views, 4 video streams from 2 cameras):
switch to playback mode(15 connections):
Does anyone meet the similar issue? Any comment is appreciated.
I do not think there is a known issue on this. I have a couple of questions for my understanding..
Is this a Smart Client plugin or a standalone application?
Can you see the same behavior pattern with the Video Preview sample in the Smart Client?
Hi Bo,
It’s a standalone application. We tried to run PlaybackWpfUser sample and didn’t find the problem. When swith mode between live and playback, there is no additional connections. Only when we choose different camera, the original connection were destroied and new connection were set up. We’re trying to reproduce with simple code. At that same time, if you can help to explain the mechanism of mode switch in ImageViewerWpfControl, that would be great. E.g, the number of tcp connections should change or not when switching mode.
Any comments are appreciated so that we can have more clues to debug the issue.
Thanks for your help in advance.
If you can reproduce with a simple code I will be most interested. There is a chnace you do something wrong but also the chance of a bug, so I could try to evaluate this.
I am not 100% sure how to reply; when switching to playback from live new connections with the recording server would be made. If the old connections should close immediately I am not 100% sure, but surely there should be a stop to the data coming through from the live streaming.