forked from Github/frigate
Open to recordings with pre-buffer (#11143)
* Open to recordings with pre-buffer * Reduce buffer * Use variable for preview FPS
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { REVIEW_PADDING } from "./review";
|
||||
|
||||
export type Preview = {
|
||||
camera: string;
|
||||
src: string;
|
||||
@@ -5,3 +7,6 @@ export type Preview = {
|
||||
start: number;
|
||||
end: number;
|
||||
};
|
||||
|
||||
export const PREVIEW_FPS = 8;
|
||||
export const PREVIEW_PADDING = REVIEW_PADDING * PREVIEW_FPS;
|
||||
|
||||
@@ -48,3 +48,5 @@ export type MotionData = {
|
||||
audio?: number;
|
||||
camera: string;
|
||||
};
|
||||
|
||||
export const REVIEW_PADDING = 2;
|
||||
|
||||
Reference in New Issue
Block a user