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"}`}
|
||||
camera={streamName}
|
||||
playbackEnabled={cameraActive || liveReady}
|
||||
getStats={showStats}
|
||||
getStats={showStats || !!onStatsUpdate}
|
||||
setStats={setStats}
|
||||
audioEnabled={playAudio}
|
||||
volume={volume}
|
||||
@ -347,7 +347,7 @@ export default function LivePlayer({
|
||||
audioEnabled={playAudio}
|
||||
volume={volume}
|
||||
playInBackground={playInBackground}
|
||||
getStats={showStats}
|
||||
getStats={showStats || !!onStatsUpdate}
|
||||
setStats={setStats}
|
||||
onPlaying={playerIsPlaying}
|
||||
pip={pip}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user