mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Reolink add support for flv protocol (#85576)
This commit is contained in:
parent
5d7f33ad76
commit
105b34bd77
@ -27,7 +27,7 @@ async def async_setup_entry(
|
||||
cameras = []
|
||||
for channel in host.api.channels:
|
||||
streams = ["sub", "main", "snapshots"]
|
||||
if host.api.protocol == "rtmp":
|
||||
if host.api.protocol in ["rtmp", "flv"]:
|
||||
streams.append("ext")
|
||||
|
||||
for stream in streams:
|
||||
|
@ -42,7 +42,7 @@ class ReolinkOptionsFlowHandler(config_entries.OptionsFlow):
|
||||
vol.Required(
|
||||
CONF_PROTOCOL,
|
||||
default=self.config_entry.options[CONF_PROTOCOL],
|
||||
): vol.In(["rtsp", "rtmp"]),
|
||||
): vol.In(["rtsp", "rtmp", "flv"]),
|
||||
}
|
||||
),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user