From da29c1125fac4fd9059ffec82899d65e751ef6be Mon Sep 17 00:00:00 2001 From: Moritz Fey Date: Mon, 14 Oct 2019 07:13:32 +0200 Subject: [PATCH] add content for services.yaml for ccomponent stream (#27610) --- homeassistant/components/stream/services.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/homeassistant/components/stream/services.yaml b/homeassistant/components/stream/services.yaml index e69de29bb2d..c3b25e06348 100644 --- a/homeassistant/components/stream/services.yaml +++ b/homeassistant/components/stream/services.yaml @@ -0,0 +1,15 @@ +record: + description: Make a .mp4 recording from a provided stream. + fields: + stream_source: + description: The input source for the stream. + example: "rtsp://my.stream.feed:554" + filename: + description: The file name string. + example: "/tmp/my_stream.mp4" + duration: + description: "Target recording length (in seconds). Default: 30" + example: 30 + lookback: + description: "Target lookback period (in seconds) to include in addition to duration. Only available if there is currently an active HLS stream for stream_source. Default: 0" + example: 5 \ No newline at end of file