@camera.ui/sdk 0.0.14 → 0.0.16
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/dist/index.d.ts +23 -15
- package/dist/internal/index.d.ts +8 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -3436,20 +3436,6 @@ interface SnapshotSettings {
|
|
|
3436
3436
|
interval: number;
|
|
3437
3437
|
}
|
|
3438
3438
|
|
|
3439
|
-
/**
|
|
3440
|
-
* Subscription management interface for sessions.
|
|
3441
|
-
*/
|
|
3442
|
-
interface Subscribed {
|
|
3443
|
-
/** Add subscriptions to be cleaned up on unsubscribe */
|
|
3444
|
-
addSubscriptions(...subscriptions: Disposable[]): void;
|
|
3445
|
-
/** Add additional subscriptions (separate cleanup) */
|
|
3446
|
-
addAdditionalSubscriptions(...subscriptions: Disposable[]): void;
|
|
3447
|
-
/** Unsubscribe all main subscriptions */
|
|
3448
|
-
unsubscribe(): void;
|
|
3449
|
-
/** Unsubscribe additional subscriptions only */
|
|
3450
|
-
unsubscribeAdditional(): void;
|
|
3451
|
-
}
|
|
3452
|
-
|
|
3453
3439
|
type Extension = {
|
|
3454
3440
|
id: number;
|
|
3455
3441
|
payload: Buffer;
|
|
@@ -3494,6 +3480,20 @@ declare class RtpPacket {
|
|
|
3494
3480
|
clear(): void;
|
|
3495
3481
|
}
|
|
3496
3482
|
|
|
3483
|
+
/**
|
|
3484
|
+
* Subscription management interface for sessions.
|
|
3485
|
+
*/
|
|
3486
|
+
interface Subscribed {
|
|
3487
|
+
/** Add subscriptions to be cleaned up on unsubscribe */
|
|
3488
|
+
addSubscriptions(...subscriptions: Disposable[]): void;
|
|
3489
|
+
/** Add additional subscriptions (separate cleanup) */
|
|
3490
|
+
addAdditionalSubscriptions(...subscriptions: Disposable[]): void;
|
|
3491
|
+
/** Unsubscribe all main subscriptions */
|
|
3492
|
+
unsubscribe(): void;
|
|
3493
|
+
/** Unsubscribe additional subscriptions only */
|
|
3494
|
+
unsubscribeAdditional(): void;
|
|
3495
|
+
}
|
|
3496
|
+
|
|
3497
3497
|
/**
|
|
3498
3498
|
* WebSocket streaming URLs from go2rtc.
|
|
3499
3499
|
*/
|
|
@@ -3806,7 +3806,7 @@ interface Fmp4SessionOptions {
|
|
|
3806
3806
|
};
|
|
3807
3807
|
/** Use box mode for streaming */
|
|
3808
3808
|
boxMode?: boolean;
|
|
3809
|
-
/** Fragment duration in
|
|
3809
|
+
/** Fragment duration in microseconds */
|
|
3810
3810
|
fragDuration?: number;
|
|
3811
3811
|
/** Supported audio codecs (skip transcode if match) */
|
|
3812
3812
|
supportedAudioCodecs?: ('aac' | 'opus' | 'flac')[];
|
|
@@ -4204,6 +4204,12 @@ interface DetectionEvent {
|
|
|
4204
4204
|
* plugin persists it and clients fetch it on demand via getEventThumbnails.
|
|
4205
4205
|
*/
|
|
4206
4206
|
thumbnail?: Buffer;
|
|
4207
|
+
/**
|
|
4208
|
+
* Whether recorded footage overlaps this event's time window. Populated only
|
|
4209
|
+
* when the events query explicitly requests it (e.g. the recordings browser);
|
|
4210
|
+
* undefined otherwise.
|
|
4211
|
+
*/
|
|
4212
|
+
hasRecording?: boolean;
|
|
4207
4213
|
}
|
|
4208
4214
|
|
|
4209
4215
|
/**
|
|
@@ -5541,6 +5547,8 @@ interface DiscoveredCamera {
|
|
|
5541
5547
|
manufacturer?: string;
|
|
5542
5548
|
/** Camera model label (optional). */
|
|
5543
5549
|
model?: string;
|
|
5550
|
+
/** Network address (IP or hostname) shown in the UI to disambiguate same-model cameras. */
|
|
5551
|
+
address?: string;
|
|
5544
5552
|
}
|
|
5545
5553
|
|
|
5546
5554
|
/**
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -818,6 +818,12 @@ interface DetectionEvent {
|
|
|
818
818
|
* plugin persists it and clients fetch it on demand via getEventThumbnails.
|
|
819
819
|
*/
|
|
820
820
|
thumbnail?: Buffer;
|
|
821
|
+
/**
|
|
822
|
+
* Whether recorded footage overlaps this event's time window. Populated only
|
|
823
|
+
* when the events query explicitly requests it (e.g. the recordings browser);
|
|
824
|
+
* undefined otherwise.
|
|
825
|
+
*/
|
|
826
|
+
hasRecording?: boolean;
|
|
821
827
|
}
|
|
822
828
|
|
|
823
829
|
/**
|
|
@@ -837,6 +843,8 @@ interface DiscoveredCamera {
|
|
|
837
843
|
manufacturer?: string;
|
|
838
844
|
/** Camera model label (optional). */
|
|
839
845
|
model?: string;
|
|
846
|
+
/** Network address (IP or hostname) shown in the UI to disambiguate same-model cameras. */
|
|
847
|
+
address?: string;
|
|
840
848
|
}
|
|
841
849
|
|
|
842
850
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camera.ui/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "camera.ui sdk",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"@typescript-eslint/parser": "^8.63.0",
|
|
39
39
|
"cpy-cli": "^7.0.0",
|
|
40
40
|
"eslint": "9.39.2",
|
|
41
|
-
"eslint-plugin-jsdoc": "^63.0.
|
|
41
|
+
"eslint-plugin-jsdoc": "^63.0.13",
|
|
42
42
|
"globals": "^17.7.0",
|
|
43
|
-
"prettier": "^3.9.
|
|
43
|
+
"prettier": "^3.9.5",
|
|
44
44
|
"rimraf": "^6.1.3",
|
|
45
45
|
"rollup": "^4.62.2",
|
|
46
46
|
"rollup-plugin-dts": "^6.4.1",
|