mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
add preload stream section (#9097)
This commit is contained in:
parent
14c9988202
commit
a1aef58f95
@ -102,7 +102,7 @@ action:
|
||||
|
||||
#### {% linkable_title Service `play_stream` %}
|
||||
|
||||
Play a live stream from a camera to selected media player(s). Requires `stream` component to be set up.
|
||||
Play a live stream from a camera to selected media player(s). Requires [`stream`](/components/stream) component to be set up.
|
||||
|
||||
| Service data attribute | Optional | Description |
|
||||
| ---------------------- | -------- | ----------- |
|
||||
@ -129,3 +129,12 @@ A simple way to test if you have set up your `camera` platform correctly, is to
|
||||
"entity_id": "camera.living_room_camera"
|
||||
}
|
||||
```
|
||||
|
||||
### {% linkable_title Preload Stream %}
|
||||
|
||||
If your camera supports it, and the [`stream`](/components/stream) component is setup, You will notice a "Preload Stream" option in the top right of the dialog when clicking to view the camera stream. This option will keep the stream alive, and preload the feed on Home Assistant startup. This will result in reduced latency when opening the stream in the frontend, as well as when using the `play_stream` service or Google Assistant integration. It does, however, utilize more resources on your machine, so it is recommended to check CPU usage if you plan to use this feature.
|
||||
|
||||
<p class='img'>
|
||||
<img src='/images/components/camera/preload-stream.png' alt='Screenshot showing Preload Stream option in Home Assistant front end.'>
|
||||
Example showing the Preload Stream option in the camera dialog.
|
||||
</p>
|
BIN
source/images/components/camera/preload-stream.png
Normal file
BIN
source/images/components/camera/preload-stream.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 493 KiB |
Loading…
x
Reference in New Issue
Block a user