diff --git a/plugins/alexa/package-lock.json b/plugins/alexa/package-lock.json index 2311d4370..a43ab55ee 100644 --- a/plugins/alexa/package-lock.json +++ b/plugins/alexa/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/alexa", - "version": "0.0.19", + "version": "0.0.20", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/alexa", - "version": "0.0.19", + "version": "0.0.20", "dependencies": { "@types/node": "^16.6.1", "alexa-smarthome-ts": "^0.0.1", diff --git a/plugins/alexa/package.json b/plugins/alexa/package.json index 1f76b338b..682a01d36 100644 --- a/plugins/alexa/package.json +++ b/plugins/alexa/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/alexa", - "version": "0.0.19", + "version": "0.0.20", "scripts": { "scrypted-setup-project": "scrypted-setup-project", "prescrypted-setup-project": "scrypted-package-json", diff --git a/plugins/alexa/src/types/camera.ts b/plugins/alexa/src/types/camera.ts index 025aa936f..1f9a71d9e 100644 --- a/plugins/alexa/src/types/camera.ts +++ b/plugins/alexa/src/types/camera.ts @@ -50,7 +50,7 @@ addSupportedType(ScryptedDeviceType.Camera, { capabilities } }, - async reportState(device: ScryptedDevice & MotionSensor): Promise{ + async reportState(device: ScryptedDevice & MotionSensor): Promise { return { type: 'state', namespace: 'Alexa', @@ -110,6 +110,12 @@ export class AlexaSignalingSession implements RTCSignalingSession { sdp: this.directive.payload.offer.value, }, disableTrickle: true, + // this could be a low resolution screen, no way of knowing, so never send a + // 1080p+ stream. + screen: { + width: 1280, + height: 720, + } } }