diff --git a/src/layers/cctv/presentation.js b/src/layers/cctv/presentation.js index 742869877..13fa751bd 100644 --- a/src/layers/cctv/presentation.js +++ b/src/layers/cctv/presentation.js @@ -83,6 +83,7 @@ export function createPresentation({ mountHeightM: camera.mountHeightM, active: isActive, feedType: camera.feedType, + isVideo: parts.model.isVideoFeedType(camera.feedType), sourceKind: health?.sourceKind || camera.sourceKind || diff --git a/src/ui/applicationShell.js b/src/ui/applicationShell.js index e54b7bf25..10695cf92 100644 --- a/src/ui/applicationShell.js +++ b/src/ui/applicationShell.js @@ -2618,6 +2618,7 @@ export class StyleManager { _cctvFocusBtn: this._cctvFocusBtn, _cctvFrame: this._cctvFrame, _cctvFrameWrap: this._cctvFrameWrap, + _cctvVideo: this._cctvVideo, _cctvMeta: this._cctvMeta, _cctvNearestBtn: this._cctvNearestBtn, _cctvNextBtn: this._cctvNextBtn, diff --git a/src/ui/cctvPresentation.js b/src/ui/cctvPresentation.js index a6db6893e..6ea2aa318 100644 --- a/src/ui/cctvPresentation.js +++ b/src/ui/cctvPresentation.js @@ -164,7 +164,46 @@ export function _renderCctvState(state) { } } - if (this._cctvFrame) { + // Live video: for HLS cameras, paint the active camera's decoded