Page 1 of 1

Event timeline / scroll bar resets when dragged

Posted: Sat Feb 03, 2024 3:37 pm
by lightguy48
I searched for this issue but maybe I'm using the wrong terms in my search:

Anyone noticed an issue when viewing an event that if you try to click or drag on the timeline/scroll bar that the event restart back to the beginning?

Sometimes if I refresh the page a time or two I can get the timeline scroll bar to drag / click again but it's very difficult to get it to work.

I'm noticing the same issue on 1.37.48 and 1.37.50. I'm running on Ubuntu 22.04.3 LTS and the events recorded are using H.264 passthrough

Re: Event timeline / scroll bar resets when dragged

Posted: Sat Feb 03, 2024 11:57 pm
by dougmccrary
Don't think I've seen that...on what device? Computer?

Re: Event timeline / scroll bar resets when dragged

Posted: Sun Feb 04, 2024 11:30 am
by borozenetsww
Confirmed on last build too.

Re: Event timeline / scroll bar resets when dragged

Posted: Sun Feb 04, 2024 3:59 pm
by lightguy48
dougmccrary wrote: Sat Feb 03, 2024 11:57 pm Don't think I've seen that...on what device? Computer?
It happening on every computer that I use.

However, it does seem to be Browser dependent. Chrome has the issue 95% of the time, the progress/time bar works reliably on Firefox.

I'm not sure what the difference is between the two.

Re: Event timeline / scroll bar resets when dragged

Posted: Sun Feb 04, 2024 11:20 pm
by dougmccrary
That explains it. I use FF almost exclusively.

Re: Event timeline / scroll bar resets when dragged

Posted: Mon Feb 05, 2024 3:22 pm
by iconnor
Chrome is stupid. We implemented range support years ago, so that the browser could support seeking and not download the entire mp4 before viewing. This works great in ff, but in Chrome it decides to ask for 16k chunks at a time. Takes forever to even start playing the video.

So we disabled that for Chrome so that it starts playing immediately. You may notice the the progress bar is jumping around as it downloads more of the video. Once the entire video is downloaded, it will likely work fine. Until then, it is crappy.

The only way I can think of the fix it is to simply not use html5 video tags and do something smarter. I don't have time right now to get into it, but it needs to be done.

Re: Event timeline / scroll bar resets when dragged

Posted: Mon Feb 05, 2024 5:32 pm
by IgorA100
This problem only occurs when using the MP4 codec.
When using the MJPEG codec, the timeline works correctly.
but it needs to be done
Great, we'll wait!

Re: Event timeline / scroll bar resets when dragged

Posted: Mon Feb 05, 2024 9:46 pm
by lightguy48
Thanks!

Re: Event timeline / scroll bar resets when dragged

Posted: Fri Feb 09, 2024 12:48 pm
by IgorA100
iconnor wrote: Mon Feb 05, 2024 3:22 pm Once the entire video is downloaded, it will likely work fine.
I tried to watch 10-second videos in Chrome, but it didn’t work even after downloading the video completely :(
Any click on the time bar starts playback again.