mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
fix playground
This commit is contained in:
parent
4d8bda40b6
commit
12ab831ec9
@ -77,10 +77,12 @@ function generateRandomMotionAudioData(): MotionData[] {
|
||||
) {
|
||||
const motion = Math.floor(Math.random() * 101); // Random number between 0 and 100
|
||||
const audio = Math.random() * -100; // Random negative value between -100 and 0
|
||||
const camera = "test_camera";
|
||||
data.push({
|
||||
start_time: startTimestamp,
|
||||
motion,
|
||||
audio,
|
||||
camera,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user