homebridge-ring 11.7.1 → 11.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # homebridge-ring
2
2
 
3
+ ## 11.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ede65a3`](https://github.com/dgreif/ring/commit/ede65a3dbe92b3562a0cf973cb6225999560c2e7) Thanks [@dgreif](https://github.com/dgreif)! - Update dependencies
8
+
9
+ - Updated dependencies [[`ede65a3`](https://github.com/dgreif/ring/commit/ede65a3dbe92b3562a0cf973cb6225999560c2e7)]:
10
+ - ring-client-api@11.7.3
11
+
12
+ ## 11.7.2
13
+
14
+ ### Patch Changes
15
+
16
+ - [`0fa5a87`](https://github.com/dgreif/ring/commit/0fa5a8786fe3f4dd8dd1ebaaf5e930555419e998) Thanks [@dgreif](https://github.com/dgreif)! - Update dependencies
17
+
18
+ - [`d2b867c`](https://github.com/dgreif/ring/commit/d2b867cf7b518689fff413e1828bc77c467dcb67) Thanks [@dgreif](https://github.com/dgreif)! - Handle codec negotiation failure errors
19
+
20
+ - Updated dependencies [[`85e2901`](https://github.com/dgreif/ring/commit/85e2901268a1d21b1ebb76790336b30ccb181041), [`0fa5a87`](https://github.com/dgreif/ring/commit/0fa5a8786fe3f4dd8dd1ebaaf5e930555419e998), [`d2b867c`](https://github.com/dgreif/ring/commit/d2b867cf7b518689fff413e1828bc77c467dcb67)]:
21
+ - ring-client-api@11.7.2
22
+
3
23
  ## 11.7.1
4
24
 
5
25
  ### Patch Changes
@@ -437,7 +437,15 @@ class CameraSource {
437
437
  }
438
438
  if (requestType === 'start') {
439
439
  (0, util_1.logInfo)(`Activating stream for ${this.ringCamera.name} (${getDurationSeconds(session.start)}s)`);
440
- await session.activate(request);
440
+ try {
441
+ await session.activate(request);
442
+ }
443
+ catch (e) {
444
+ (0, util_1.logError)('Failed to activate stream');
445
+ (0, util_1.logError)(e);
446
+ callback(new Error('Failed to activate stream'));
447
+ return;
448
+ }
441
449
  (0, util_1.logInfo)(`Streaming active for ${this.ringCamera.name} (${getDurationSeconds(session.start)}s)`);
442
450
  }
443
451
  else if (requestType === 'stop') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-ring",
3
- "version": "11.7.1",
3
+ "version": "11.7.3",
4
4
  "description": "Homebridge plugin for Ring doorbells, cameras, security alarm system and smart lighting",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -13,16 +13,16 @@
13
13
  "dependencies": {
14
14
  "@homebridge/camera-utils": "^2.2.0",
15
15
  "@homebridge/plugin-ui-utils": "^0.0.19",
16
- "ring-client-api": "11.7.1"
16
+ "ring-client-api": "11.7.3"
17
17
  },
18
18
  "devDependencies": {
19
19
  "concurrently": "^7.6.0",
20
- "eslint-config-shared": "0.0.0",
20
+ "eslint-config-shared": "*",
21
21
  "homebridge": "1.6.0",
22
- "homebridge-ui": "0.0.0",
23
- "nodemon": "^2.0.20",
24
- "tsconfig": "0.0.0",
25
- "typescript": "4.9.4"
22
+ "homebridge-ui": "*",
23
+ "nodemon": "^2.0.22",
24
+ "tsconfig": "*",
25
+ "typescript": "5.0.2"
26
26
  },
27
27
  "engines": {
28
28
  "node": "^16 || ^18",