Test of video viewer behavior during disconnection¶
Objective¶
This test verifies the video viewer client's behavior in case of interruption between the Netsocs client and the device generating the live video stream (IP camera, NVR, encoder...).
Importance¶
This test is critical because during live streaming it is necessary to signal disconnection instead of freezing the last frame. This signaling prevents a guard from observing the monitored area thinking they see the current state, when they are actually seeing a frozen image.
Test Steps¶
- Start the viewer in live mode
- Interrupt the connection between the Netsocs client and the device*
- Wait for interruption signaling
- Restore the connection
Expected Result¶
- The interruption is indicated visually
- The object generates a disconnection event
- The video channel state must be
"Disconnected"during disconnection - The video channel state must be
"Connected"after restoring the connection - After restoring the connection, streaming resumes
Notes¶
- Although not ideal, it is acceptable for the viewer not to restore streaming after disconnection. The test is considered passed when this limitation is mentioned in the integration manual test notes.
Implementation Notes¶
*The interruption must simulate real network failure conditions