Paul Bottein
e74cac697e
Add fit mode support to picture glance card and picture entity card ( #25005 )
...
Co-authored-by: karwosts <karwosts@gmail.com >
2025-04-17 13:36:34 +00:00
Wendelin
e703750136
Add and fix stylistic eslint rules ( #23735 )
...
* Fix stylistic eslint rules
* Fix eslint issues
2025-01-14 21:00:14 +01:00
Wendelin
abe8899f9b
Update ts-eslint ( #23723 )
...
* Update ts-eslint
* Remove comments
* Remove unused ts-ignore
* Add undefined generic type instead of unknown
* Remove unused undefined type
* Fix type issues
* Use undefined instead of void for subscribed return type
2025-01-14 11:24:02 +01:00
Bram Kragten
35dcb46703
Group stream picking logic ( #22674 )
...
* Group stream picking logic
* MJPEG too
* handle errors when 1 stream type
* correct import
* change to array
* Update ha-camera-stream.ts
* Update ha-camera-stream.ts
* Update ha-camera-stream.ts
* rename
2024-11-05 14:33:34 +00:00
Bram Kragten
2f974078e0
Only show webrtc if it has video ( #22659 )
2024-11-04 16:34:08 +00:00
Wendelin
830d8d2410
Add type import check to eslint ( #22488 )
...
* Add type import check to eslint
* Add type imports with eslint --fix
2024-10-30 11:12:30 +00:00
Bram Kragten
67852125e5
Try both HLS and webRTC and pick best stream ( #22585 )
2024-10-29 21:38:22 +01:00
renovate[bot]
15395275ba
Update dependency prettier to v3.1.0 ( #18675 )
...
* Update dependency prettier to v3.1.0
* Reformat
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com >
2023-11-19 23:31:56 -05:00
Steve Repsher
9ce4563dd4
Prefer nothing over empty templates ( #15633 )
2023-02-28 11:02:47 +01:00
Bram Kragten
2e988bf5c3
Default size of hui-image to 16:9 during loading ( #14245 )
2022-10-31 16:06:33 +01:00
Allen Porter
9c923e45c5
Improve video user experience by loading camera thumbnail as initial video background image ( #13943 )
2022-10-03 18:38:25 +02:00
Allen Porter
719d9386c5
Render Nest battery cam vertical video on screen correctly ( #10431 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl >
2021-10-28 18:02:06 +00:00
Allen Porter
5ef7a37c20
Fix for Nest WebRTC cams to not require stream component ( #10432 )
2021-10-28 13:47:15 +02:00
Allen Porter
84533b8843
Rename stream_type to frontend_stream_type ( #10298 )
2021-10-18 12:42:34 +02:00
Allen Porter
4ad005f0bf
Add WebRTC stream player ( #10193 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl >
2021-10-13 10:14:33 +02:00
Bram Kragten
2936865c55
Bump typescript, lint, prettier ( #10108 )
2021-09-30 12:39:03 +02:00
Bram Kragten
e963735dba
Cleanup mjpeg stream when disconnected (+ bump Lit) ( #9868 )
2021-08-22 22:40:37 -07:00
Bram Kragten
bc92c0b052
Upgrade to Lit 2 ( #9199 )
2021-05-18 07:37:53 -07:00
Bram Kragten
9f032a61a9
Add compatibility for Lit 2.0 ( #8878 )
2021-05-07 13:16:14 -07:00
Philip Allgaier
d02a2e8c2e
Consistently use isComponentLoaded() helper ( #7995 )
2021-01-10 19:52:22 +01:00
Paulus Schoutsen
fc48c59eb0
Clean up some types ( #7801 )
...
Co-authored-by: Zack Barett <arnett.zackary@gmail.com >
2020-11-25 12:31:51 +01:00
uvjustin
4392d78ff6
Allow ExoPlayer only from more-info-camera ( #6974 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl >
2020-09-15 00:26:26 +02:00
Bram Kragten
5480e54185
Mute stream outside of more info ( #6959 )
2020-09-12 20:07:22 +02:00
Bram Kragten
1130007d14
Fix mjpeg player ( #6896 )
2020-09-09 22:09:56 +02:00
Zack Barett
b30ee884a7
Fix for Camera streams that don't support stream ( #6863 )
2020-09-08 20:57:17 +02:00
Zack Arnett
e63a78bcdb
Media Browser Panel ( #6772 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl >
2020-09-04 23:01:20 +02:00
uvjustin
d263b19910
Play HLS with Exoplayer on Android ( #6606 )
2020-08-24 11:50:40 +02:00
Bram Kragten
f8c5eeab5d
Replace all private properties with internalProperty decorator ( #6386 )
2020-07-14 21:38:36 -07:00
J. Nick Koston
712e0d3e3b
Fix camera stream not connecting ( #6271 )
...
The timeout to start a camera stream was 10s.
With buffering it can take around 8-10s for camera
to be able to send a stream. If the time it
took was longer than 10s the stream would never
connect in the UI.
2020-06-29 09:26:41 +02:00
marawan31
a822c1eb2f
Reduce HLS buffer length to 1 minute instead of the default infinity ( #6134 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl >
2020-06-12 14:01:48 +02:00
Bram Kragten
82f80db558
Update typescript, prettier, tslint -> eslint ( #5536 )
...
* Update typescript, prettier, tslint -> eslint
* Organize imports
* Use glob for eslint fix react import
2020-04-14 09:05:45 -07:00
Paulus Schoutsen
7c2b37e8ca
Demo paths ( #5134 )
...
* Update paths to images in demo
* Remove some unused attributes
* Fix camera paths
2020-03-11 10:37:23 -07:00
Bram Kragten
04f8f0f74f
Render should always return a html template ( #4612 )
2020-01-27 08:34:22 -08:00
Bram Kragten
8a39d18323
Bump TypeScript to 3.7 ( #4282 )
...
* Bump TypeScript to 3.7
* Update prettier to support ts 3.7
* Prettier
* More prettier
* Even more prettier
2019-11-27 13:51:03 -08:00
Ian Richardson
1f4d359050
Replace all default exports in common/ with named exports ( #3790 )
2019-09-23 10:57:47 +02:00
Paulus Schoutsen
3becefaf8b
Add a couple of labels ( #3310 )
...
* Add a couple of labels
* Add some more labels
2019-06-27 17:47:19 -07:00
Paulus Schoutsen
7827cec212
Fix demo camera images ( #3179 )
2019-05-09 09:43:52 -07:00
Jason Hunter
a1a2a78531
Add Stream Element ( #3086 )
...
* initial commit for stream element
* lit elements are apparently not self closing
* add disconnectedCallback to teardown on unload
* refactor stream element to UpdatingElement and bundle MJPEG handling with it
* attach video element for HLS native
* update hui-image to optionally show a live camera view (video or mjpeg)
* fix playing inline video on iOS
* implement review feedback
* Fix update bugs
* Tweaks
* Fix stateObj changed
2019-04-15 19:55:13 -07:00