Stream Record Service (#22456)

* Initial commit of record service for live streams

* fix lint

* update service descriptions

* add tests

* fix lint
This commit is contained in:
Jason Hunter authored and Paulus Schoutsen committed 2019-03-27 21:47:07 -07:00
1 parent 9d21afa444
commit 26726af689
11 files changed
+466 -19

No files matched your search

+6
View File
@@ -1,10 +1,16 @@
"""Constants for Stream component."""
DOMAIN = 'stream'
CONF_STREAM_SOURCE = 'stream_source'
CONF_LOOKBACK = 'lookback'
CONF_DURATION = 'duration'
ATTR_ENDPOINTS = 'endpoints'
ATTR_STREAMS = 'streams'
ATTR_KEEPALIVE = 'keepalive'
SERVICE_RECORD = 'record'
OUTPUT_FORMATS = ['hls']
FORMAT_CONTENT_TYPE = {