Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HomeKit Secure Video #920

Merged
merged 33 commits into from
Jan 6, 2022
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
33d9388
HomeKit Secure Video
koush Aug 19, 2021
bccbfb8
Merge branch 'beta-0.10.0' into master
koush Oct 6, 2021
7eda2d5
Merge branch 'beta-0.10.0' into master
Supereg Oct 10, 2021
8c0ffff
HKSV: Send event trigger options.
koush Oct 11, 2021
d4daae5
Update src/lib/controller/CameraController.ts
koush Oct 11, 2021
371226a
Update src/lib/camera/RecordingManagement.ts
koush Oct 11, 2021
e68f042
WIP: characteristics should be persisted between reboots
koush Nov 8, 2021
799615d
Merge branch 'master' of github.com:koush/HAP-NodeJS
koush Nov 8, 2021
4b9f639
h265 stubs, albeit it does not seem to actually be supported.
koush Dec 6, 2021
a400094
Remove setting of characteristics, as that should be handled by imple…
koush Dec 12, 2021
9897d0b
Provide connection information to the stream request.
koush Dec 19, 2021
39f7590
Merge branch 'beta-0.10.0' into secure-video-pr
Supereg Dec 30, 2021
0ef294d
Implement Snapshot reason handling with basic test setup
Supereg Dec 30, 2021
0ba31fe
Automatically derive EventTriggerOptions. Added some docs.
Supereg Dec 30, 2021
f76518a
Implement HDS logic. Stream Handling. Updated Delegate API. Proper ch…
Supereg Dec 31, 2021
2b1a4a0
Implement persitent state handling
Supereg Jan 1, 2022
ea7bf49
Handling closing of a recording stream
Supereg Jan 2, 2022
d0e8b53
Define the Delegate interface
Supereg Jan 2, 2022
3304394
Some fixes to the HDS session handling.
Supereg Jan 3, 2022
6146c62
Implement example HSV camera. Remove generator.throw
Supereg Jan 3, 2022
8009168
Moving to a stable delegate API
Supereg Jan 3, 2022
c2362df
Handle Motion and occupancy sensors, some additional test vectors and…
Supereg Jan 3, 2022
a38f24a
Resolving some last issues
Supereg Jan 3, 2022
ad16223
Allow for external doorbell service, support doorbell service naming,…
Supereg Jan 3, 2022
95773f4
Update documentation
Supereg Jan 3, 2022
0aa0e11
New docs files
Supereg Jan 3, 2022
9f8af3a
Fix tests
Supereg Jan 3, 2022
fad303c
Merge branch 'beta-0.10.0' into secure-video-pr
Supereg Jan 3, 2022
288984f
Fix incorrect interpretation in log message of the DATA_SEND OPEN rea…
Supereg Jan 4, 2022
77fb030
Fixed naming confusion
Supereg Jan 4, 2022
17fc4dd
Purge controller data when removing HSV from camera.
Supereg Jan 4, 2022
33ea664
Merge branch 'beta-0.10.0' into secure-video-pr
Supereg Jan 5, 2022
24cc9fb
Make HDSProtocolSpecificErrorReason a const enum such that it can be …
Supereg Jan 5, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Purge controller data when removing HSV from camera.
  • Loading branch information
Supereg committed Jan 4, 2022
commit 17fc4dd1bbc7478c6f330d34bf38fc70888ea2b1
11 changes: 10 additions & 1 deletion src/lib/controller/CameraController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,16 @@ export class CameraController extends EventEmitter implements SerializableContro
}

if (serialized.recordingManagement) {
this.recordingManagement?.deserialize(serialized.recordingManagement);
if (this.recordingManagement) {
this.recordingManagement.deserialize(serialized.recordingManagement)
} else {
// Active characteristic cannot be controlled if removing HSV, ensure they are all active!
for (const streamManagement of this.streamManagements) {
streamManagement.service.updateCharacteristic(Characteristic.Active, true);
}

this.stateChangeDelegate?.();
}
}
}

Expand Down