mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-07 02:18:07 +01:00
Refresh recordings when data is stale (#20470)
* Refresh recordings when data is stale * Fix * Improve checks * Increase time to 10 minutes
This commit is contained in:
@@ -62,6 +62,10 @@ export class DynamicVideoController {
|
||||
this.playerController.pause();
|
||||
}
|
||||
|
||||
isPlaying(): boolean {
|
||||
return !this.playerController.paused && !this.playerController.ended;
|
||||
}
|
||||
|
||||
seekToTimestamp(time: number, play: boolean = false) {
|
||||
if (time < this.timeRange.after || time > this.timeRange.before) {
|
||||
this.timeToStart = time;
|
||||
|
||||
Reference in New Issue
Block a user