diff --git a/source/_components/camera.generic.markdown b/source/_components/camera.generic.markdown index 03bcac97578..7020e873a75 100644 --- a/source/_components/camera.generic.markdown +++ b/source/_components/camera.generic.markdown @@ -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 +```