mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 05:05:26 +03:00
remove dead logic
This commit is contained in:
parent
d1b1d1182f
commit
81144be239
@ -274,15 +274,6 @@ class PreviewVideoController extends PreviewController {
|
|||||||
|
|
||||||
const seekTime = time - this.preview.start;
|
const seekTime = time - this.preview.start;
|
||||||
|
|
||||||
if (
|
|
||||||
isAndroid &&
|
|
||||||
isChrome &&
|
|
||||||
this.scrubbing &&
|
|
||||||
Math.abs(seekTime - this.previewRef.current.currentTime) > 400
|
|
||||||
) {
|
|
||||||
// android/chrome has incorrect timestamps sent that are before the expected seek time
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.seeking) {
|
if (this.seeking) {
|
||||||
this.timeToSeek = seekTime;
|
this.timeToSeek = seekTime;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user