mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 13:15: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 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 audio = Math.random() * -100; // Random negative value between -100 and 0
|
||||||
|
const camera = "test_camera";
|
||||||
data.push({
|
data.push({
|
||||||
start_time: startTimestamp,
|
start_time: startTimestamp,
|
||||||
motion,
|
motion,
|
||||||
audio,
|
audio,
|
||||||
|
camera,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user