This commit is contained in:
Koushik Dutta
2021-09-09 19:38:12 -07:00
parent 27a4dc8181
commit e928b3dcab
9 changed files with 15 additions and 15 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/core",
"version": "0.0.77",
"version": "0.0.78",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/core",
"version": "0.0.77",
"version": "0.0.78",
"license": "Apache-2.0",
"dependencies": {
"@scrypted/sdk": "file:../../sdk",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/core",
"version": "0.0.77",
"version": "0.0.78",
"description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.",
"author": "Scrypted",
"license": "Apache-2.0",

View File

@@ -4,7 +4,7 @@ export async function setMixin(systemManager: SystemManager, device: ScryptedDev
const plugins = await systemManager.getComponent(
"plugins"
);
let mixins = device.mixins.slice();
let mixins = (device.mixins || []).slice();
if (enabled) {
mixins.push(mixinId);
} else {

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/homekit",
"version": "0.0.37",
"version": "0.0.39",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/homekit",
"version": "0.0.37",
"version": "0.0.39",
"dependencies": {
"axios": "^0.21.1",
"hap-nodejs": "file:../HAP-NodeJS",

View File

@@ -42,5 +42,5 @@
"@types/node": "^14.17.9",
"@types/url-parse": "^1.4.3"
},
"version": "0.0.37"
"version": "0.0.39"
}

View File

@@ -327,10 +327,10 @@ addSupportedType({
console.log(args);
const cp = child_process.spawn(await mediaManager.getFFmpegPath(), args, {
stdio: 'ignore',
// stdio: 'ignore',
});
// cp.stdout.on('data', data => console.log(data.toString()));
// cp.stderr.on('data', data => console.error(data.toString()));
cp.stdout.on('data', data => console.log(data.toString()));
cp.stderr.on('data', data => console.error(data.toString()));
session.cp = cp;
}

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/prebuffer-mixin",
"version": "0.1.34",
"version": "0.1.36",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/prebuffer-mixin",
"version": "0.1.34",
"version": "0.1.36",
"license": "Apache-2.0",
"dependencies": {
"@scrypted/common": "file:../../common",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/prebuffer-mixin",
"version": "0.1.34",
"version": "0.1.36",
"description": "Rebroadcast and Prebuffer for VideoCameras.",
"author": "Scrypted",
"license": "Apache-2.0",

View File

@@ -40,7 +40,7 @@ class PrebufferMixin extends SettingsMixinDeviceBase<VideoCamera> implements Vid
super(mixinDevice, mixinDeviceState, {
providerNativeId,
mixinDeviceInterfaces,
group: "Prebuffer Settings",
group: "Rebroadcast and Prebuffer Settings",
groupKey: "prebuffer",
});
@@ -62,7 +62,7 @@ class PrebufferMixin extends SettingsMixinDeviceBase<VideoCamera> implements Vid
},
{
title: 'Detected Keyframe Interval',
description: "Currently detected keyframe. This value may vary based on the stream behavior.",
description: "Currently detected keyframe interval. This value may vary based on the stream behavior.",
readonly: true,
key: 'detectedIdr',
value: this.idrInterval.toString(),