Skip to content

Commit 390fee8

Browse files
committed
Fix typo when setting bitrate/resolution #1294
1 parent 6110eb6 commit 390fee8

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ You can then use the web interface at `http://localhost:5000` where localhost is
5959

6060
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.
6161

62-
## What's Changed in v2.9.11
62+
## What's Changed in v2.9.11/12
6363

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

app/wyzecam/iotc.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,12 @@ def sync_camera_time(self, wait: bool = False):
535535
self.frame_ts = time.time()
536536

537537
def set_resolving_bit(self, fps: int = 0):
538-
if fps or self.camera.model_name in {"WYZEDB3", "WVOD1", "HL_WCO2", "WYZEC1"}:
538+
if fps or self.camera.product_model in {
539+
"WYZEDB3",
540+
"WVOD1",
541+
"HL_WCO2",
542+
"WYZEC1",
543+
}:
539544
return K10052DBSetResolvingBit(
540545
self.preferred_frame_size, self.preferred_bitrate, fps
541546
)

home_assistant/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## What's Changed in v2.9.11
1+
## What's Changed in v2.9.11/12
22

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

0 commit comments

Comments
 (0)