Fix motion and recording views (#10318)

* Fix switching between different hours

* Simplify book keeping of different time ranges

* Rewrite player to handle changing of previews outside of video player

* Simplify switching between cameras

* Fix previews causing cameras to not load

* Simplify listeners

* Always clear existing listener
This commit is contained in:
Nicolas Mowen
2024-03-07 17:31:43 -07:00
committed by GitHub
parent fc6d6a4e9a
commit 90a40d2509
4 changed files with 231 additions and 153 deletions

View File

@@ -5,4 +5,5 @@ export type DynamicPlayback = {
recordings: Recording[];
playbackUri: string;
preview: Preview | undefined;
timeRange: { end: number; start: number };
};