Commit Graph
57 Commits
Author SHA1 Message Date
Dermot Duffy bc366626f1 refactor: Refactor media loading manager for improved robustness (#2464) 2026-06-30 17:45:12 -07:00
Dermot Duffy 47bcce93d3 feat: Add hardened error handling and retries (#2451)
- Closes #1830
 - Closes #2099
2026-06-30 17:45:12 -07:00
Dermot Duffy 0a67df9a25 refactor: Convert protected methods to private (#2358) 2026-02-19 20:47:59 -08:00
Dermot Duffy 1e821f09c6 fix: Improve 2-way audio detection (#2293)
- For Frigate cameras, you must be running at least [integration
v5.12.0](https://github.com/blakeblackshear/frigate-hass-integration/releases/tag/v5.12.0).
 - Closes: #2191 

Includes a significant refactor of cameras, and the introduction of a
`2-way-audio` capability that is dynamically fetched from `go2rtc`. One
gotcha is if you previously had a substream with 2-way audio, you may
need to modify

```yaml
 - camera_entity: camera.foo
    capabilities:
      disable_except:
        - substream
```

... to ...

```yaml
 - camera_entity: camera.foo
    capabilities:
      disable_except:
        - substream
        - 2-way-audio
```
2025-12-20 13:06:09 -08:00
Dermot Duffy f50bef7446 fix: Fix audio issue triggered by HA 2025.11 (#2237)
- Closes: #2235
2025-11-09 14:43:08 -08:00
Dermot Duffy c6a4c8aea2 feat: Implement basic general folder support (#2051)
- Related: #1748
2025-05-21 19:59:21 -07:00
Dermot Duffy 54ee1e1cf3 fix: Improve reliability of connection cleanup (#2009)
- Closes #1992
2025-04-14 16:58:17 +01:00
Dermot Duffy 3b77b11196 fix: Increase reliability of media auto actions (e.g. play) (#1934)
Refactors media player handling entirely to make the code more
consistent and less boilerplate. Add testing for media player actions.

- Closes #1921
- Closes #1916
2025-03-03 20:59:01 -08:00
Dermot Duffy cc376a8be1 feat: Rename the card to advanced-camera-card (#1873)
Whilst the Frigate support in this card is the best among camera
engines, the name incorrectly suggests that Frigate is a requirement.
Instead, to broaden the appeal, change to more camera agnostic name.
This does not suggest any change in priority, role or support for
Frigate.

This change is likely to be bug prone, due to the size of the rename --
the code contains 1500+ references to "Frigate" most of which make sense
to rename, some which do not, all of which needed human assessment.

- Closes #1298


BREAKING CHANGE: References to `frigate-card` in all kinds of
configuration need to be updated to `advanced-camera-card`. An automated
config upgrade should take care of the majority of usecases (click `Edit
-> Upgrade -> Save`), though may not be perfect.
2025-02-06 19:32:32 -08:00
Dermot Duffy 3e8e688b36 feat: Add basic fullscreen support for iPhone (#1857)
- Closes #1444
2025-01-27 07:23:07 -08:00
Dermot Duffy 092c050a17 fix: Fix certain webrtc streams that were not loading correctly (#1766) 2024-12-15 21:16:36 -08:00
Dermot Duffy dab9ff3045 fix: Substantially reduce cases where errors block whole card (#1764) 2024-12-15 20:39:18 -08:00
Dermot Duffy b6fb821074 fix: Fix issue where wrong ha stream may be referred to [skip ci] (#1760) 2024-12-14 17:53:47 -08:00
Dermot Duffy 47fdfbceeb fix: Correctly display MJPEG streams (#1734)
* fix: Correctly display MJPEG streams

* Request update after load event arrives
2024-12-10 19:35:09 -08:00
Dermot Duffy 030b1e7a78 fix: Adapt ha-hls-player patch to HA 2024.11 code (#1679)
* Adapt `ha-hls-player` patch to HA `2024.11` code.

* Add the poster back in
2024-11-27 15:13:22 -08:00
Dermot Duffy e503f0e429 Initial version of status bar. 2024-08-16 20:08:21 -07:00
Felipe Santos fccb4c9afd Bump prettier to v3 and format all files 2024-06-10 00:29:50 -03:00
Dermot Duffy e12912fa85 Add out-of-the-box Frigate PTZ support. 2023-10-29 14:10:41 -07:00
Dermot Duffy 39b985b4df Add screenshot support. 2023-06-16 19:36:45 -07:00
Dermot Duffy 5a67c8bc2e Fix zoom in Firefox and Safari. 2023-05-22 20:37:18 -07:00
Dermot Duffy 972a0999fb Allow default media controls to be hidden. 2023-05-14 20:00:23 -07:00
Dermot Duffy 8365b43c04 Add play/pause/mute/unmute Frigate card commands. 2023-05-11 20:25:40 -07:00
Dermot Duffy d63a1de042 Only show the microphone button when the loaded media supports 2-way audio. 2023-05-07 16:47:02 -07:00
Dermot Duffy 705afaca99 Add initial zoom support. 2023-04-22 16:32:11 -07:00
Dermot Duffy e1d74dc35a Enable smooth panning between past/live. 2023-04-09 19:23:34 -07:00
Dermot Duffy 304c7e3164 Initial motionEye commit. 2023-03-26 16:42:21 -07:00
Dermot Duffy 352cbd0c79 Do not show ha live provider errors unless they are fatal. 2023-03-04 15:46:53 -08:00
Dermot Duffy 732099b6d0 Automatically mute if autoplay is blocked. 2023-02-18 14:28:59 -08:00
Dermot Duffy cebdf9a789 Add hiding controls to native webrtc player (oops) 2022-10-11 22:00:22 -07:00
Dermot Duffy 3707917903 Hide video controls briefly on media load. 2022-10-10 20:00:51 -07:00
Dermot Duffy eb1b44eb27 Initial mini-timeline commit. 2022-09-22 17:44:43 -07:00
Dermot Duffy 4be3797fe6 Spacing fix. 2022-08-11 21:42:26 -07:00
Dermot Duffy a9c600523c Add ability to change media layout. 2022-08-11 21:29:04 -07:00
Dermot Duffy ffa31c05ed Clean lit-plugin warnings 2022-06-19 07:30:08 +00:00
Dermot Duffy 45c29d2aaf Fit image content to parent size. 2022-06-17 03:04:12 +00:00
Dermot Duffy 7ebada9aa5 Initial draft of recordings support. 2022-06-04 11:04:38 -07:00
Dermot Duffy 6b30487229 Initial common.js refactor. 2022-05-12 20:42:02 -07:00
Dermot Duffy cf87e8543a Don't use createRef for patched players. 2022-05-10 12:38:05 -07:00
Dermot Duffy d552cf1a0d Implement auto_mute . 2022-05-08 08:05:33 -07:00
Felipe Santos 07636710c8 Refresh dependencies and fix warnings 2022-03-06 17:40:46 -03:00
Dermot Duffy 65b0ed987e Fixes for native WebRTC support. 2022-02-07 20:58:01 -08:00
Dermot Duffy 1ee4f07714 Add support for the new HA native WebRTC. 2022-02-06 21:30:27 -08:00
Dermot Duffy 632569b1ef Add auto unmute support. 2022-02-01 20:40:34 -08:00
Dermot Duffy ea9d3b4809 Separate timeout_seconds from refresh_seconds . 2022-01-23 21:01:55 -08:00
Dermot Duffy 05bcbbb16b Rework autoplay/pause into a plugin, apply to viewer & live. 2022-01-21 22:44:30 -08:00
Dermot Duffy 77a8127848 Pause clips on moving off a slide in the viewer. 2022-01-20 20:42:57 -08:00
Dermot Duffy bdc09c5838 Simplify autoplay functionality.
Prevents all media in an entire carousel from simultaneously autoplaying in
some browsers. Changes the default autoplay value to true, and applies autoplay
configuration to all clips (whether from the gallery of most recent 'clip').
2022-01-15 11:35:10 -08:00
Dermot Duffy 745d0c2e71 Improve title & accessibility label support. 2022-01-15 09:31:03 -08:00
Dermot Duffy 6c03934656 Thumbnail carousel initial draft 2021-11-22 17:07:33 -08:00
Dermot Duffy 6ec4ad067e Fix media loading to work for HA >= 2021.11 2021-10-30 01:00:25 -07:00