Skip to content

Commit

Permalink
core/rtsp: fix settings bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jul 21, 2024
1 parent d5995d9 commit c1f4ae9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/core/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/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/core",
"version": "0.3.39",
"version": "0.3.40",
"description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.",
"author": "Scrypted",
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions plugins/rtsp/src/rtsp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export class RtspCamera extends CameraBase<UrlMediaStreamOptions> {

async putRtspUrls(urls: string[]) {
this.storage.setItem('urls', JSON.stringify(urls.filter(url => !!url)));
this.onDeviceEvent(ScryptedInterface.Settings, undefined);
}

async putSettingBase(key: string, value: SettingValue) {
Expand Down

0 comments on commit c1f4ae9

Please sign in to comment.