mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-12 10:07:36 +03:00
fix pause and remove debug
This commit is contained in:
parent
4f3507b08e
commit
55d391caa2
@ -330,7 +330,6 @@ export default function HlsVideoPlayer({
|
||||
className="absolute inset-0 z-10"
|
||||
onSeekToTime={(timestamp, play) => {
|
||||
if (onSeekToTime) {
|
||||
console.log("object track overlay seek", timestamp, play);
|
||||
onSeekToTime(timestamp, play);
|
||||
}
|
||||
}}
|
||||
|
||||
@ -111,7 +111,6 @@ export class DynamicVideoController {
|
||||
if (play) {
|
||||
this.waitAndPlay();
|
||||
} else {
|
||||
console.log("called pause", Date.now());
|
||||
this.playerController.pause();
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -269,7 +269,6 @@ export default function DynamicVideoPlayer({
|
||||
onClipEnded={onValidateClipEnd}
|
||||
onSeekToTime={(timestamp, play) => {
|
||||
if (onSeekToTime) {
|
||||
console.log("hls player seek", timestamp, play);
|
||||
onSeekToTime(timestamp, play);
|
||||
}
|
||||
}}
|
||||
|
||||
@ -287,7 +287,6 @@ export function RecordingView({
|
||||
if (!currentTimeRange) {
|
||||
return;
|
||||
}
|
||||
console.log("manually set time", time, play);
|
||||
setCurrentTime(time);
|
||||
|
||||
if (currentTimeRange.after <= time && currentTimeRange.before >= time) {
|
||||
@ -310,7 +309,7 @@ export function RecordingView({
|
||||
} else {
|
||||
updateSelectedSegment(currentTime, true);
|
||||
}
|
||||
} else if (playerTime != currentTime) {
|
||||
} else if (playerTime != currentTime && timelineType != "detail") {
|
||||
mainControllerRef.current?.play();
|
||||
}
|
||||
}
|
||||
@ -740,12 +739,12 @@ export function RecordingView({
|
||||
: Math.max(1, getCameraAspect(mainCamera) ?? 0),
|
||||
}}
|
||||
>
|
||||
{isDesktop && (
|
||||
{/* {isDesktop && (
|
||||
<GenAISummaryDialog
|
||||
review={activeReviewItem}
|
||||
onOpen={onAnalysisOpen}
|
||||
/>
|
||||
)}
|
||||
)} */}
|
||||
|
||||
<DynamicVideoPlayer
|
||||
className={grow}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user