Switching between streams in VideoViewerQuality app results to "Server has lost connection to the camera"

I have a HikVision camera that supports 3 streams. If I only have one stream configured in the recording server, individually all works fine.

I needed adaptive streaming to work with more than one stream. I use the VideoViewerQuality app to test the combination of the stream sources.

The moment I add my second (and or third) stream and manually switch from one to another, I would start getting the error above.

Why do you think this is?

Version: 2019 R3

Licence: Corporate

VMS Device Pack: 10.2.1.149

Camera: HikVision DS-2CD6424FWD-20

Stream 1: 720p, 960p, 1080p

Stream 2: 288p, 480p, 576p

Stream 3: 288p, 480p, 576p, 720p, 960p, 1080p

Can you see the same issue in Smart Client when you switch one stream to another?

Apparently yes.

Screenshot with Single stream works fine.

Screenshot with Dual stream: Stream1 works but Stream3 fails.

This goes the same for different combinations of S1, S2, S3.

Which logs should I be looking into?

Single Stream

Dual Stream

Are you certain that the additional streams are actually coming through to the Recording Server? It’s possible the primary stream is setup for TCP or HTTP streaming but the other streams are still on UDP and being blocked by Windows Firewall, so the “server has lost connection to the camera” is a legitimate error that would more accurately be written as “the server is not receiving the stream”.

My other camera has a triple-stream setup (S1 default+recording; S2&S3 when needed). Stream switching worked there just fine. Both of the cameras have exactly the same setup (StreamMethod:RTP/RTSP/TCP).

With this camera in question from your post I realized if I make the second stream as the source of recording it may just work, and it did! At least for now I have a workaround to make my second stream work.

Still this means any third stream does not work (even on LiveMode:‘always’ settings) as I can’t make it a source for default/recording.

As you said that you have experienced same issue in Smart Client and we are suspecting that it is a general issue. Can you please ask again in the support community, you should get better help from the partners using the support community.