mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 22:57:40 +03:00
Merge pull request #62 from ibs0d/claude/fix-zoom-statistics-WFvOm
fix: enable stats collection when onStatsUpdate callback is provided
This commit is contained in:
commit
85a8fef628
@ -325,7 +325,7 @@ export default function LivePlayer({
|
|||||||
className={`size-full ${liveReady ? "" : "hidden"}`}
|
className={`size-full ${liveReady ? "" : "hidden"}`}
|
||||||
camera={streamName}
|
camera={streamName}
|
||||||
playbackEnabled={cameraActive || liveReady}
|
playbackEnabled={cameraActive || liveReady}
|
||||||
getStats={showStats}
|
getStats={showStats || !!onStatsUpdate}
|
||||||
setStats={setStats}
|
setStats={setStats}
|
||||||
audioEnabled={playAudio}
|
audioEnabled={playAudio}
|
||||||
volume={volume}
|
volume={volume}
|
||||||
@ -347,7 +347,7 @@ export default function LivePlayer({
|
|||||||
audioEnabled={playAudio}
|
audioEnabled={playAudio}
|
||||||
volume={volume}
|
volume={volume}
|
||||||
playInBackground={playInBackground}
|
playInBackground={playInBackground}
|
||||||
getStats={showStats}
|
getStats={showStats || !!onStatsUpdate}
|
||||||
setStats={setStats}
|
setStats={setStats}
|
||||||
onPlaying={playerIsPlaying}
|
onPlaying={playerIsPlaying}
|
||||||
pip={pip}
|
pip={pip}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user