Skip to content

Commit

Permalink
ignore bitrate for HL_CFL2 #1112
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Apr 15, 2024
1 parent 62e3a36 commit 77c7cd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/wyzebridge/wyze_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ def bitrate_check(sess: WyzeIOTCSession, res: dict, topic: str):
key = "bitrate" if topic in res else "3"
if (bitrate := res.get(key)) and int(bitrate) != sess.preferred_bitrate:
logger.info(f"{bitrate=} does not match {sess.preferred_bitrate}")
sess.update_frame_size_rate()
if not sess.camera.is_floodlight:
# temporary fix till we can find the actual bitrate value
sess.update_frame_size_rate()

if key == "bitrate":
return res.get(topic, res)
Expand Down

0 comments on commit 77c7cd1

Please sign in to comment.