Skip to content

Commit

Permalink
Don't check bitrate on newer firmware #1194
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Jul 8, 2024
1 parent d197309 commit 31e4cdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/wyzebridge/wyze_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ def send_tutk_msg(sess: WyzeIOTCSession, cmd: tuple | str, log: str = "info") ->
elif res := iotc.result(timeout=5):
if tutk_msg.code in {10020, 10050}:
update_mqtt_values(sess.camera.name_uri, res)
res = bitrate_check(sess, res, resp["command"])
if sess.camera.firmware_ver not in {"4.50.4.9222", "4.36.12.9751"}:
res = bitrate_check(sess, res, resp["command"])
params = None
if isinstance(res, bytes):
res = ",".join(map(str, res))
Expand Down

0 comments on commit 31e4cdd

Please sign in to comment.