Skip to content

[Feature Request] Implement Auto-Retry on WebRTC/HLS/MSE Connection Loss for 24/7 Monitoring #419

@rivandraa

Description

@rivandraa
Image

I am currently utilizing the main screen as a dedicated monitoring dashboard to display the LightNVR live view, which is intended to run continuously 24/7.

However, when a connection interruption occurs, such as a brief power outage affecting the CCTV cameras, a network drop, or during a server/LightNVR restart, the live view interface immediately stops and displays the "WebRTC connection lost. Please retry" error message. Currently, the system requires manual intervention to click the "Retry" button to restore the stream.

This presents a challenge for unattended monitoring screens, as the display remains disconnected until someone manually interacts with it.

I would like to propose adding an auto-retry mechanism for WebRTC connection failures.

Specifically, if a connection is lost, the system could automatically attempt to reconnect after a short delay (for example, every 5 seconds) if the manual "Retry" button is not pressed. A countdown indicator or a simple loading state during the auto-retry would also be an excellent addition.

Currently, the only workaround is manually refreshing the browser page or physically clicking the retry button, which is not ideal for an automated, continuous surveillance setup.

Implementing this feature would significantly improve the resilience of LightNVR for kiosk-mode setups or dedicated monitoring walls where physical mouse/keyboard input is not readily available.

Thank you for your hard work and dedication to this project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions