diff --git a/reolink_aio/api.py b/reolink_aio/api.py index 5d0bda8..a86bf73 100644 --- a/reolink_aio/api.py +++ b/reolink_aio/api.py @@ -981,7 +981,7 @@ def bit_rate(self, channel: int, stream: str | None = None) -> int | None: def bit_rate_list(self, channel: int, stream: str | None = None) -> list[int]: if channel not in self._enc_range: - return None + return [] if stream is None: stream = "main" @@ -997,7 +997,7 @@ def frame_rate(self, channel: int, stream: str | None = None) -> int | None: def frame_rate_list(self, channel: int, stream: str | None = None) -> list[int]: if channel not in self._enc_range: - return None + return [] if stream is None: stream = "main"