Skip to content

Commit

Permalink
wyze: improve default bitrates
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jan 4, 2025
1 parent 93ad50d commit 1546422
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/wyze/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{
"scrypted.debugHost": "127.0.0.1",
"scrypted.debugHost": "scrypted-nvr",

"python.analysis.extraPaths": [
"./node_modules/@scrypted/sdk/types/scrypted_python"
Expand Down
4 changes: 2 additions & 2 deletions plugins/wyze/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/wyze/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
"devDependencies": {
"@scrypted/sdk": "file:../../sdk"
},
"version": "0.0.56"
"version": "0.0.57"
}
5 changes: 3 additions & 2 deletions plugins/wyze/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def getMainByteRate(self, default=False):
except:
if default:
return "Default"
return 120 if self.camera.is_2k else 60
return 240 if self.camera.is_2k else 160

async def getSettings(self):
ret: List[Setting] = []
Expand All @@ -152,8 +152,9 @@ async def getSettings(self):
"500",
"750",
"1000",
"1200",
"1400",
"1800",
"2000",
],
}
)
Expand Down

0 comments on commit 1546422

Please sign in to comment.