Viewerframe Mode Refresh Instant

// Restart the stream from the last keyframe viewer.requestKeyFrame();

// Re-initialize the mode with the same parameters viewer.setViewerMode(currentMode); viewerframe mode refresh

// Step 1: Capture the viewerframe object const viewer = document.getElementById('video-wall-canvas'); // Step 2: Store the current operational mode const currentMode = viewer.getViewerMode(); // Returns 'realtime' or 'buffer' // Restart the stream from the last keyframe viewer

You have an MJPEG stream over WebSocket that has frozen. viewerframe mode refresh

Never refresh on every frame (that destroys performance). Instead, implement a lazy refresh triggered only by error conditions (frame freeze, PTS discontinuity, or resolution change).

// Resume rendering viewer.startRendering();