Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Oct 25, 2024
1 parent 09544df commit d83bce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class FfmpegPlatform implements DynamicPlatformPlugin {
}

if (!error) {
const uuid = hap.uuid.generate(cameraConfig.name!)
const uuid = this.api.hap.uuid.generate(cameraConfig.name!)
if (this.cameraConfigs.has(uuid)) {
// Camera names must be unique
this.log.warn('Multiple cameras are configured with this name. Duplicate cameras will be skipped.', cameraConfig.name)
Expand Down

0 comments on commit d83bce3

Please sign in to comment.