mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
add content for services.yaml for ccomponent stream (#27610)
This commit is contained in:
parent
2cf3f6bffa
commit
da29c1125f
@ -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
|
Loading…
x
Reference in New Issue
Block a user