mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-06 02:06:48 +00:00
update generic ip cam docs for stream component (#8956)
This commit is contained in:
parent
8fbaca1ba1
commit
3eda03672f
@ -33,6 +33,10 @@ still_image_url:
|
||||
description: "The URL your camera serves the image on, e.g., http://192.168.1.21:2112/. Can be a [template](/topics/templating/)."
|
||||
required: true
|
||||
type: string
|
||||
stream_source:
|
||||
description: "The URL your camera serves the live stream on, e.g., rtsp://192.168.1.21:554/."
|
||||
required: false
|
||||
type: string
|
||||
name:
|
||||
description: This parameter allows you to override the name of your camera.
|
||||
required: false
|
||||
@ -125,3 +129,15 @@ camera:
|
||||
still_image_url: http://example.org/your_image.png
|
||||
verify_ssl: false
|
||||
```
|
||||
|
||||
### {% linkable_title Live stream %}
|
||||
|
||||
To access a camera that has both a snapshot and live stream URL, utilizing the [stream](/components/stream/) component.
|
||||
|
||||
```yaml
|
||||
camera:
|
||||
- platform: generic
|
||||
name: Streaming Enabled
|
||||
still_image_url: http://194.218.96.92/jpg/image.jpg
|
||||
stream_source: rtsp://194.218.96.92:554
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user