Skip to content

Commit

Permalink
Fix typo when setting bitrate/resolution #1294
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Jul 14, 2024
1 parent 6110eb6 commit 390fee8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ You can then use the web interface at `http://localhost:5000` where localhost is

See [basic usage](#basic-usage) for additional information or visit the [wiki page](https://github.com/mrlt8/docker-wyze-bridge/wiki/Home-Assistant) for additional information on using the bridge as a Home Assistant Add-on.

## What's Changed in v2.9.11
## What's Changed in v2.9.11/12

- FIX: Fix regression introduced in v2.9.11 which caused connection issues for WYZEDB3, WVOD1, HL_WCO2, and WYZEC1 (#1294)
- FIX: Update stream state on startup to prevent multiple connections.
- FIX: No audio on HW and QSV builds. (#1281)
- Use k10056 if supported and not setting fps when updating resolution and bitrate (#1194)
Expand Down
7 changes: 6 additions & 1 deletion app/wyzecam/iotc.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,12 @@ def sync_camera_time(self, wait: bool = False):
self.frame_ts = time.time()

def set_resolving_bit(self, fps: int = 0):
if fps or self.camera.model_name in {"WYZEDB3", "WVOD1", "HL_WCO2", "WYZEC1"}:
if fps or self.camera.product_model in {
"WYZEDB3",
"WVOD1",
"HL_WCO2",
"WYZEC1",
}:
return K10052DBSetResolvingBit(
self.preferred_frame_size, self.preferred_bitrate, fps
)
Expand Down
3 changes: 2 additions & 1 deletion home_assistant/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## What's Changed in v2.9.11
## What's Changed in v2.9.11/12

- FIX: Fix regression introduced in v2.9.11 which caused connection issues for WYZEDB3, WVOD1, HL_WCO2, and WYZEC1 (#1294)
- FIX: Update stream state on startup to prevent multiple connections.
- FIX: No audio on HW and QSV builds. (#1281)
- Use k10056 if supported and not setting fps when updating resolution and bitrate (#1194)
Expand Down

0 comments on commit 390fee8

Please sign in to comment.