Nicolas Mowen
1da934e63c
Dynamically detect if full screen is supported ( #13197 )
2024-08-19 16:01:21 -05:00
Nicolas Mowen
38a8d34ba5
Preview fixes ( #13193 )
...
* Handle case where preview was saved late
* fix timing
2024-08-19 10:45:55 -06:00
Josh Hawkins
8e31244fb3
Adjust MSE player playback rate logic ( #13164 )
...
* Fix MSE playback rate logic
* don't adjust playback rate if we just started streaming
* memoize onprogress
2024-08-18 12:13:21 -06:00
Josh Hawkins
8c23ede683
Live player fixes ( #13143 )
...
* Jump to live when exceeding buffer time threshold in MSE player
* clean up
* Try adjusting playback rate instead of jumping to live
* clean up
* fallback to webrtc if enabled before jsmpeg
* baseline
* clean up
* remove comments
* adaptive playback rate and intelligent switching improvements
* increase logging and reset live mode after camera is no longer active on dashboard only
* jump to live on safari/iOS
* clean up
* clean up
* refactor camera live mode hook
* remove key listener
* resolve conflicts
2024-08-17 12:16:48 -06:00
Nicolas Mowen
281482927a
Recordings Fixes ( #13005 )
...
* If recordings don't exist mark as no recordings
* Fix reloading recordings failing
* Fix mark items not clearing selected
* Cleanup
* Default to last full hour when error occurs
* Remove check
* Cleanup
* Handle empty recordings list case
* Ensure that the start time is within the time range
* Catch other reset cases
2024-08-12 14:30:16 -06:00
Josh Hawkins
77bf710299
Add confirmation dialog before deleting review items ( #12950 )
2024-08-11 06:25:09 -06:00
Nicolas Mowen
9c2974438d
Handle case where user stops scrubbing but remains hovering ( #12794 )
...
* Handle case where user stops scrubbing but remains hovering
* Add type
2024-08-08 07:54:13 -06:00
Nicolas Mowen
43d2986208
Handle case where sub label was null ( #12785 )
2024-08-08 07:54:13 -06:00
Nicolas Mowen
84348350fe
apply iOS fix to safari ( #12663 )
2024-07-29 11:34:45 -05:00
Nicolas Mowen
47aecff567
UI Tweaks ( #12571 )
2024-07-23 09:34:38 -05:00
Nicolas Mowen
524f03a650
Persist show reviewed locally so it maintains state ( #12560 )
...
* Persist show reviewed locally so it maintains state
* fix
* Theming fixes
2024-07-22 17:55:39 -05:00
Nicolas Mowen
68e6ffdfef
UI fixes ( #12542 )
...
* Don't require previews to show motion ui
* Fix recording text to match hls player logic
2024-07-21 14:14:59 -05:00
Josh Hawkins
e5dc476c1e
Disable web assembly for jsmpeg player ( #12502 )
2024-07-18 10:50:30 -05:00
Josh Hawkins
7bfebd5b61
Use canvas2d renderer for jsmpeg player ( #12498 )
2024-07-18 06:59:12 -06:00
Nicolas Mowen
c56e7e7c6c
UI fixes ( #12490 )
...
* Improve export handling when errors occur
* Fix mobile zooming
* Handle recordings buffering
* Cleanup
* Url encode export name
* Start with actual name in input
* Fix buffering
2024-07-17 07:39:37 -06:00
Josh Hawkins
78c15f3020
Prevent onPlaying from being called repeatedly in jsmpeg player ( #12482 )
2024-07-16 13:40:11 -06:00
Josh Hawkins
58dbbd5d29
Use refs for proper js closures in the liveReady timeout ( #12464 )
2024-07-16 05:50:58 -06:00
Josh Hawkins
5c90f7dce7
Check if camera is active before disabling liveReady ( #12461 )
2024-07-15 15:52:34 -06:00
Josh Hawkins
c850604931
Fix flashing of previous still image when live player stops ( #12458 )
2024-07-15 09:38:59 -06:00
Nicolas Mowen
a4eb435f1a
Improve safari image scrolling performance ( #12429 )
...
* Don't set z-height on iOS
* More z-index cleanup
2024-07-13 11:54:24 -05:00
Nicolas Mowen
843d301950
Don't detach media ( #12421 )
2024-07-12 15:29:42 -06:00
Nicolas Mowen
d08fe170f2
Recordings improvements ( #12417 )
2024-07-12 15:17:38 -06:00
Josh Hawkins
d2f88491b1
Various UI tweaks and changes ( #12364 )
2024-07-09 13:36:55 -06:00
Josh Hawkins
0ce596ec8f
UI tweaks ( #12297 )
...
* Use full resolution aspect for main camera style in history view
* Only check for offline cameras after 60s of uptime
* only call onPlaying when loadeddata is fired or after timeout
* revert to inline funcs
* Portal frigate plus alert dialog
* remove duplicated logic
* increase onplaying timeout
* Use a ref instead of a state and clear timeout in AutoUpdatingCameraImage
* default to the selected month for selectedDay
* Use buffered time instead of timeout
* Use default cursor when not editing polygons
2024-07-08 07:14:10 -06:00
Josh Hawkins
1f4ca32e8c
Add exports message and default to webrtc on < iOS 17.1 ( #12281 )
2024-07-03 08:44:25 -05:00
Josh Hawkins
be9e606ae4
Ensure MSE onPlaying always gets called, even if loadeddata never fires ( #12271 )
...
* Ensure MSE onPlaying always gets called, even if loadeddata never fires
* Call handleLoadedMetadata too if not playing yet
2024-07-02 16:48:38 -06:00
Josh Hawkins
f050c7b37d
Use camera name instead of stream_name for jsmpeg players ( #12219 )
2024-06-30 11:06:03 -06:00
Josh Hawkins
f9e1ad253f
Check websocket readyState for disconnect and fix firefox pip ( #12216 )
2024-06-30 06:04:45 -06:00
Josh Hawkins
f0159bf41e
Fix jsmpeg player flickering ( #12213 )
2024-06-29 17:45:28 -06:00
Josh Hawkins
53a2a865f1
Live player fixes and improvements ( #12202 )
...
* Live player fixes and improvements
* remove comment
* Simplify wording
2024-06-29 09:02:30 -06:00
Nicolas Mowen
bfbacee7b5
Quick fix ( #12153 )
...
* Use list for zones to keep chronological order
* Replace when changing playbackRate
2024-06-25 07:38:37 -05:00
Nicolas Mowen
9bbb88cdcb
Fix left swipe on preview ( #12104 )
...
* Fix left swipe
* Simplify
2024-06-21 16:06:40 -05:00
Josh Hawkins
9f81ce2876
Only close MSE websocket when it's already open ( #12078 )
2024-06-20 06:03:14 -06:00
Nicolas Mowen
e9cdef9f25
fix case where camera is disabled and has no previews ( #12066 )
...
* fix case where camera is disabled and has no previews
* Maintain slow loading behavior
2024-06-19 12:51:19 -06:00
Nicolas Mowen
d01457e64d
Fix showing loading indicator when first loading a camera without previews ( #12064 )
2024-06-19 08:52:45 -06:00
Josh Hawkins
7b57a66d45
Various UI tweaks ( #12061 )
2024-06-19 06:09:49 -06:00
Nicolas Mowen
e6790d9a6a
Add ability to select all on desktop ( #12044 )
...
* Add ability to select all review items
* Refactor keybaord listener
2024-06-18 09:32:17 -05:00
Josh Hawkins
2cbc336bc0
Memoize onPlaying and only instantiate one jsmpeg player ( #12033 )
2024-06-17 17:10:41 -06:00
Josh Hawkins
6c107883b5
Small jsmpeg and mse player fixes ( #12032 )
2024-06-17 14:54:14 -06:00
Nicolas Mowen
ba6fc0fdb3
UI Tweaks ( #12002 )
...
* Adjust review padding
* Fix mse check
* Don't fail when cpu property is missing
* ignore lines without any spaces
2024-06-17 06:19:16 -06:00
Josh Hawkins
89a478ce0a
Use modal on dropdowns for mobile only ( #11993 )
2024-06-16 13:58:28 -05:00
Nicolas Mowen
a7da468b97
Manually set current time when selecting event ( #11948 )
...
* Manually set current time when selecting event
* Make it clear which camera has no preview
* Make it clear which camera has no preview
* Format camera name
2024-06-13 19:00:41 -05:00
Nicolas Mowen
e56ce993df
UI Tweaks ( #11931 )
...
* Show number of items instead of dot
* Don't call error when connection has been closed on purpose
* Use motion icon for motion
* Show text on tablets as well
2024-06-13 09:45:07 -05:00
Josh Hawkins
c75fc40833
Activity indicator whenever preferred live mode changes ( #11913 )
2024-06-12 11:36:11 -06:00
Nicolas Mowen
962d213699
UI changes ( #11863 )
...
* Delay live ready being dropped
* Handle case of removed camera
2024-06-10 20:20:58 -05:00
Josh Hawkins
18d561da0e
Live player fixes and improvements ( #11855 )
...
* Only set stalled error when player is visible
* Show activity indicator before live player starts playing
* remove comment
* keep gradients when still image is showing
* fix chips
* red dot and outline
2024-06-10 17:24:25 -06:00
Josh Hawkins
9f181014a1
UI tweaks ( #11795 )
...
* Prevent "undefined" from being displayed in searchParams string
* Show message for no motion data
* Use theme colors for no preview found divs
2024-06-07 05:57:15 -06:00
Josh Hawkins
3f0a954856
Try webrtc when mse fails with decoding error ( #11745 )
...
* Try webrtc if enabled and mse fails with decoding error
* default to jsmpeg if webrtc times out
* check for mic first
2024-06-04 09:11:32 -06:00
Josh Hawkins
13f250f630
Use valid/unique css identifier for jsmpeg canvas elements ( #11704 )
2024-06-03 05:39:19 -06:00
Nicolas Mowen
758df09da3
Handle error when live view stalls ( #11665 )
...
* Handle error when live view stalls
* Manually calculate buffer timeout
* Formatting
2024-05-31 08:52:42 -05:00