From ed5389cbf332f5f74074169e1fc28d3c0fe78181 Mon Sep 17 00:00:00 2001 From: Allen Porter Date: Sun, 17 Oct 2021 12:03:33 -0700 Subject: [PATCH] Improve stream source documentation --- docs/core/entity/camera.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/core/entity/camera.md b/docs/core/entity/camera.md index a867e518..e07c1723 100644 --- a/docs/core/entity/camera.md +++ b/docs/core/entity/camera.md @@ -65,7 +65,9 @@ class MyCamera(Camera): ### Stream Source -The stream source should return an RTSP URL that is usable by ffmpeg and the `stream` component for rendering and recording. Requires `SUPPORT_STREAM`. +The stream source should return an RTSP URL that is usable by ffmpeg. Requires `SUPPORT_STREAM`. + +A camera entity with a stream source by default use `STREAM_TYPE_HLS` to tell the frontend to use an HLS feed with the `stream` component. This stream source is also be used with `stream` for recording. ```python class MyCamera(Camera): @@ -75,9 +77,7 @@ class MyCamera(Camera): ``` -The default `frontend_stream_type` is `STREAM_TYPE_HLS` which will use this stream source and the `stream` component to serve the RTSP stream with HLS. - -A camera entity may also use the `stream_source` to render a still camera image with `ffmpeg`. +A camera entity may also use the stream source to render a still camera image with `ffmpeg`. ```python from haffmpeg.tools import IMAGE_JPEG