@camstack/types 0.1.40 → 0.1.42
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/addon/base-addon.d.ts +12 -0
- package/dist/addon/base-addon.d.ts.map +1 -1
- package/dist/addon/durable-state.d.ts +33 -0
- package/dist/addon/durable-state.d.ts.map +1 -0
- package/dist/capabilities/accessories.cap.d.ts +56 -8
- package/dist/capabilities/accessories.cap.d.ts.map +1 -1
- package/dist/capabilities/advanced-notifier.cap.d.ts +4 -0
- package/dist/capabilities/advanced-notifier.cap.d.ts.map +1 -1
- package/dist/capabilities/air-quality-sensor.cap.d.ts +56 -0
- package/dist/capabilities/air-quality-sensor.cap.d.ts.map +1 -0
- package/dist/capabilities/alarm-panel.cap.d.ts +154 -0
- package/dist/capabilities/alarm-panel.cap.d.ts.map +1 -0
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +39 -0
- package/dist/capabilities/ambient-light-sensor.cap.d.ts.map +1 -0
- package/dist/capabilities/automation-control.cap.d.ts +65 -0
- package/dist/capabilities/automation-control.cap.d.ts.map +1 -0
- package/dist/capabilities/battery.cap.d.ts +30 -1
- package/dist/capabilities/battery.cap.d.ts.map +1 -1
- package/dist/capabilities/binary.cap.d.ts +40 -0
- package/dist/capabilities/binary.cap.d.ts.map +1 -0
- package/dist/capabilities/brightness.cap.d.ts +3 -2
- package/dist/capabilities/brightness.cap.d.ts.map +1 -1
- package/dist/capabilities/broker.cap.d.ts +291 -0
- package/dist/capabilities/broker.cap.d.ts.map +1 -0
- package/dist/capabilities/button.cap.d.ts +27 -0
- package/dist/capabilities/button.cap.d.ts.map +1 -0
- package/dist/capabilities/camera-credentials.cap.d.ts +1 -0
- package/dist/capabilities/camera-credentials.cap.d.ts.map +1 -1
- package/dist/capabilities/camera-streams.cap.d.ts +147 -10
- package/dist/capabilities/camera-streams.cap.d.ts.map +1 -1
- package/dist/capabilities/capability-definition.d.ts +15 -0
- package/dist/capabilities/capability-definition.d.ts.map +1 -1
- package/dist/capabilities/carbon-monoxide.cap.d.ts +33 -0
- package/dist/capabilities/carbon-monoxide.cap.d.ts.map +1 -0
- package/dist/capabilities/climate-control.cap.d.ts +183 -0
- package/dist/capabilities/climate-control.cap.d.ts.map +1 -0
- package/dist/capabilities/color.cap.d.ts +186 -0
- package/dist/capabilities/color.cap.d.ts.map +1 -0
- package/dist/capabilities/connectivity.cap.d.ts +37 -0
- package/dist/capabilities/connectivity.cap.d.ts.map +1 -0
- package/dist/capabilities/consumables.cap.d.ts +105 -0
- package/dist/capabilities/consumables.cap.d.ts.map +1 -0
- package/dist/capabilities/contact.cap.d.ts +41 -0
- package/dist/capabilities/contact.cap.d.ts.map +1 -0
- package/dist/capabilities/control.cap.d.ts +167 -0
- package/dist/capabilities/control.cap.d.ts.map +1 -0
- package/dist/capabilities/cover.cap.d.ts +104 -0
- package/dist/capabilities/cover.cap.d.ts.map +1 -0
- package/dist/capabilities/custom-actions.d.ts +6 -0
- package/dist/capabilities/custom-actions.d.ts.map +1 -1
- package/dist/capabilities/decoder.cap.d.ts +1 -1
- package/dist/capabilities/device-adoption.cap.d.ts +203 -0
- package/dist/capabilities/device-adoption.cap.d.ts.map +1 -0
- package/dist/capabilities/device-discovery.cap.d.ts +44 -143
- package/dist/capabilities/device-discovery.cap.d.ts.map +1 -1
- package/dist/capabilities/device-manager.cap.d.ts +469 -0
- package/dist/capabilities/device-manager.cap.d.ts.map +1 -1
- package/dist/capabilities/device-ops.cap.d.ts +30 -0
- package/dist/capabilities/device-ops.cap.d.ts.map +1 -1
- package/dist/capabilities/device-provider.cap.d.ts +36 -0
- package/dist/capabilities/device-provider.cap.d.ts.map +1 -1
- package/dist/capabilities/device-status.cap.d.ts +1 -0
- package/dist/capabilities/device-status.cap.d.ts.map +1 -1
- package/dist/capabilities/doorbell.cap.d.ts +1 -0
- package/dist/capabilities/doorbell.cap.d.ts.map +1 -1
- package/dist/capabilities/enum-sensor.cap.d.ts +60 -0
- package/dist/capabilities/enum-sensor.cap.d.ts.map +1 -0
- package/dist/capabilities/event-emitter.cap.d.ts +79 -0
- package/dist/capabilities/event-emitter.cap.d.ts.map +1 -0
- package/dist/capabilities/fan-control.cap.d.ts +100 -0
- package/dist/capabilities/fan-control.cap.d.ts.map +1 -0
- package/dist/capabilities/feature-probe.cap.d.ts +1 -0
- package/dist/capabilities/feature-probe.cap.d.ts.map +1 -1
- package/dist/capabilities/filesystem-browse.cap.d.ts +39 -0
- package/dist/capabilities/filesystem-browse.cap.d.ts.map +1 -0
- package/dist/capabilities/flood.cap.d.ts +37 -0
- package/dist/capabilities/flood.cap.d.ts.map +1 -0
- package/dist/capabilities/gas.cap.d.ts +34 -0
- package/dist/capabilities/gas.cap.d.ts.map +1 -0
- package/dist/capabilities/humidifier.cap.d.ts +82 -0
- package/dist/capabilities/humidifier.cap.d.ts.map +1 -0
- package/dist/capabilities/humidity-sensor.cap.d.ts +43 -0
- package/dist/capabilities/humidity-sensor.cap.d.ts.map +1 -0
- package/dist/capabilities/image.cap.d.ts +44 -0
- package/dist/capabilities/image.cap.d.ts.map +1 -0
- package/dist/capabilities/index.d.ts +97 -12
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/integrations.cap.d.ts +12 -0
- package/dist/capabilities/integrations.cap.d.ts.map +1 -1
- package/dist/capabilities/intercom.cap.d.ts +49 -9
- package/dist/capabilities/intercom.cap.d.ts.map +1 -1
- package/dist/capabilities/lawn-mower-control.cap.d.ts +83 -0
- package/dist/capabilities/lawn-mower-control.cap.d.ts.map +1 -0
- package/dist/capabilities/lock-control.cap.d.ts +92 -0
- package/dist/capabilities/lock-control.cap.d.ts.map +1 -0
- package/dist/capabilities/media-player.cap.d.ts +201 -0
- package/dist/capabilities/media-player.cap.d.ts.map +1 -0
- package/dist/capabilities/motion-trigger.cap.d.ts +1 -0
- package/dist/capabilities/motion-trigger.cap.d.ts.map +1 -1
- package/dist/capabilities/motion-zones.cap.d.ts +1 -0
- package/dist/capabilities/motion-zones.cap.d.ts.map +1 -1
- package/dist/capabilities/native-object-detection.cap.d.ts +1 -0
- package/dist/capabilities/native-object-detection.cap.d.ts.map +1 -1
- package/dist/capabilities/network-quality.cap.d.ts +5 -0
- package/dist/capabilities/network-quality.cap.d.ts.map +1 -1
- package/dist/capabilities/notifier.cap.d.ts +173 -0
- package/dist/capabilities/notifier.cap.d.ts.map +1 -0
- package/dist/capabilities/numeric-sensor.cap.d.ts +52 -0
- package/dist/capabilities/numeric-sensor.cap.d.ts.map +1 -0
- package/dist/capabilities/osd.cap.d.ts +1 -0
- package/dist/capabilities/osd.cap.d.ts.map +1 -1
- package/dist/capabilities/pipeline-analytics.cap.d.ts +69 -22
- package/dist/capabilities/pipeline-analytics.cap.d.ts.map +1 -1
- package/dist/capabilities/pipeline-executor.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +1 -1
- package/dist/capabilities/pipeline-runner.cap.d.ts +2 -2
- package/dist/capabilities/platform-probe.cap.d.ts +25 -0
- package/dist/capabilities/platform-probe.cap.d.ts.map +1 -1
- package/dist/capabilities/power-meter.cap.d.ts +65 -0
- package/dist/capabilities/power-meter.cap.d.ts.map +1 -0
- package/dist/capabilities/presence.cap.d.ts +79 -0
- package/dist/capabilities/presence.cap.d.ts.map +1 -0
- package/dist/capabilities/pressure-sensor.cap.d.ts +43 -0
- package/dist/capabilities/pressure-sensor.cap.d.ts.map +1 -0
- package/dist/capabilities/privacy-mask.cap.d.ts +1 -0
- package/dist/capabilities/privacy-mask.cap.d.ts.map +1 -1
- package/dist/capabilities/ptz-autotrack.cap.d.ts +1 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts.map +1 -1
- package/dist/capabilities/ptz.cap.d.ts +1 -0
- package/dist/capabilities/ptz.cap.d.ts.map +1 -1
- package/dist/capabilities/reboot.cap.d.ts +1 -0
- package/dist/capabilities/reboot.cap.d.ts.map +1 -1
- package/dist/capabilities/recording.cap.d.ts +367 -32
- package/dist/capabilities/recording.cap.d.ts.map +1 -1
- package/dist/capabilities/restreamer.cap.d.ts +2 -2
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +2 -2
- package/dist/capabilities/schemas/streaming-shared.d.ts +64 -1
- package/dist/capabilities/schemas/streaming-shared.d.ts.map +1 -1
- package/dist/capabilities/script-runner.cap.d.ts +62 -0
- package/dist/capabilities/script-runner.cap.d.ts.map +1 -0
- package/dist/capabilities/settings-store.cap.d.ts +25 -0
- package/dist/capabilities/settings-store.cap.d.ts.map +1 -1
- package/dist/capabilities/smoke.cap.d.ts +38 -0
- package/dist/capabilities/smoke.cap.d.ts.map +1 -0
- package/dist/capabilities/snapshot-provider.cap.d.ts +1 -1
- package/dist/capabilities/snapshot.cap.d.ts +1 -0
- package/dist/capabilities/snapshot.cap.d.ts.map +1 -1
- package/dist/capabilities/storage-evictable.cap.d.ts +54 -0
- package/dist/capabilities/storage-evictable.cap.d.ts.map +1 -0
- package/dist/capabilities/storage-provider.cap.d.ts +46 -186
- package/dist/capabilities/storage-provider.cap.d.ts.map +1 -1
- package/dist/capabilities/storage.cap.d.ts +41 -226
- package/dist/capabilities/storage.cap.d.ts.map +1 -1
- package/dist/capabilities/stream-broker.cap.d.ts +323 -25
- package/dist/capabilities/stream-broker.cap.d.ts.map +1 -1
- package/dist/capabilities/stream-catalog.cap.d.ts +3 -0
- package/dist/capabilities/stream-catalog.cap.d.ts.map +1 -1
- package/dist/capabilities/stream-params.cap.d.ts +27 -26
- package/dist/capabilities/stream-params.cap.d.ts.map +1 -1
- package/dist/capabilities/switch.cap.d.ts +1 -0
- package/dist/capabilities/switch.cap.d.ts.map +1 -1
- package/dist/capabilities/tamper.cap.d.ts +33 -0
- package/dist/capabilities/tamper.cap.d.ts.map +1 -0
- package/dist/capabilities/temperature-sensor.cap.d.ts +51 -0
- package/dist/capabilities/temperature-sensor.cap.d.ts.map +1 -0
- package/dist/capabilities/update.cap.d.ts +49 -0
- package/dist/capabilities/update.cap.d.ts.map +1 -0
- package/dist/capabilities/vacuum-control.cap.d.ts +229 -0
- package/dist/capabilities/vacuum-control.cap.d.ts.map +1 -0
- package/dist/capabilities/valve.cap.d.ts +93 -0
- package/dist/capabilities/valve.cap.d.ts.map +1 -0
- package/dist/capabilities/vibration.cap.d.ts +33 -0
- package/dist/capabilities/vibration.cap.d.ts.map +1 -0
- package/dist/capabilities/videoclips.cap.d.ts +77 -0
- package/dist/capabilities/videoclips.cap.d.ts.map +1 -0
- package/dist/capabilities/water-heater.cap.d.ts +78 -0
- package/dist/capabilities/water-heater.cap.d.ts.map +1 -0
- package/dist/capabilities/weather.cap.d.ts +76 -0
- package/dist/capabilities/weather.cap.d.ts.map +1 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +95 -1
- package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -1
- package/dist/constants.d.ts +0 -2
- package/dist/constants.d.ts.map +1 -1
- package/dist/device/base-device-provider.d.ts +11 -0
- package/dist/device/base-device-provider.d.ts.map +1 -1
- package/dist/device/base-device.d.ts +52 -0
- package/dist/device/base-device.d.ts.map +1 -1
- package/dist/device/device-context.d.ts +29 -0
- package/dist/device/device-context.d.ts.map +1 -1
- package/dist/device/device-link-transform.d.ts +6 -0
- package/dist/device/device-link-transform.d.ts.map +1 -0
- package/dist/device/device-management.d.ts +116 -4
- package/dist/device/device-management.d.ts.map +1 -1
- package/dist/device/device-type.d.ts +214 -3
- package/dist/device/device-type.d.ts.map +1 -1
- package/dist/device/device.d.ts +25 -0
- package/dist/device/device.d.ts.map +1 -1
- package/dist/device/index.d.ts +5 -1
- package/dist/device/index.d.ts.map +1 -1
- package/dist/device/path-util.d.ts +13 -0
- package/dist/device/path-util.d.ts.map +1 -0
- package/dist/device/schema-fields.d.ts +12 -0
- package/dist/device/schema-fields.d.ts.map +1 -0
- package/dist/device/source-info.d.ts +87 -0
- package/dist/device/source-info.d.ts.map +1 -0
- package/dist/device/system-mirror.d.ts +6 -2
- package/dist/device/system-mirror.d.ts.map +1 -1
- package/dist/encode-profile.d.ts +126 -0
- package/dist/encode-profile.d.ts.map +1 -0
- package/dist/enums/event-category.d.ts +64 -6
- package/dist/enums/event-category.d.ts.map +1 -1
- package/dist/generated/addon-api.d.ts +12722 -8080
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/cap-status-types.d.ts +85 -1
- package/dist/generated/cap-status-types.d.ts.map +1 -1
- package/dist/generated/capability-router-map.d.ts +139 -7
- package/dist/generated/capability-router-map.d.ts.map +1 -1
- package/dist/generated/device-local-state.d.ts +117 -0
- package/dist/generated/device-local-state.d.ts.map +1 -1
- package/dist/generated/device-proxy.d.ts +126 -5
- package/dist/generated/device-proxy.d.ts.map +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts.map +1 -1
- package/dist/generated/provider-kind-map.d.ts +1 -1
- package/dist/generated/provider-kind-map.d.ts.map +1 -1
- package/dist/generated/system-proxy.d.ts +10 -8
- package/dist/generated/system-proxy.d.ts.map +1 -1
- package/dist/{index-C2zzIDdX.mjs → index-BxWo3b49.mjs} +4714 -1113
- package/dist/index-BxWo3b49.mjs.map +1 -0
- package/dist/{index-DnpdVFKv.js → index-CGMPfVaT.js} +4321 -720
- package/dist/index-CGMPfVaT.js.map +1 -0
- package/dist/index.d.ts +22 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1384 -116
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1698 -430
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/addon-data-plane.d.ts +76 -0
- package/dist/interfaces/addon-data-plane.d.ts.map +1 -0
- package/dist/interfaces/addon.d.ts +60 -0
- package/dist/interfaces/addon.d.ts.map +1 -1
- package/dist/interfaces/advanced-notifier.d.ts +4 -0
- package/dist/interfaces/advanced-notifier.d.ts.map +1 -1
- package/dist/interfaces/capability.d.ts +42 -1
- package/dist/interfaces/capability.d.ts.map +1 -1
- package/dist/interfaces/config-ui.d.ts +70 -6
- package/dist/interfaces/config-ui.d.ts.map +1 -1
- package/dist/interfaces/device-capabilities/camera.d.ts +2 -1
- package/dist/interfaces/device-capabilities/camera.d.ts.map +1 -1
- package/dist/interfaces/event-bus.d.ts +49 -3
- package/dist/interfaces/event-bus.d.ts.map +1 -1
- package/dist/interfaces/kernel-abstractions.d.ts +10 -1
- package/dist/interfaces/kernel-abstractions.d.ts.map +1 -1
- package/dist/interfaces/network-quality.d.ts +8 -0
- package/dist/interfaces/network-quality.d.ts.map +1 -1
- package/dist/interfaces/pipeline-executor-capability.d.ts +2 -2
- package/dist/interfaces/pipeline-orchestrator-capability.d.ts +2 -1
- package/dist/interfaces/pipeline-orchestrator-capability.d.ts.map +1 -1
- package/dist/interfaces/pipeline-runner-capability.d.ts +7 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts.map +1 -1
- package/dist/interfaces/recording-config-migrate.d.ts +13 -0
- package/dist/interfaces/recording-config-migrate.d.ts.map +1 -0
- package/dist/interfaces/recording-config.d.ts +209 -0
- package/dist/interfaces/recording-config.d.ts.map +1 -0
- package/dist/interfaces/rtp-egress.d.ts +2 -3
- package/dist/interfaces/rtp-egress.d.ts.map +1 -1
- package/dist/interfaces/storage-location-declaration.d.ts +34 -0
- package/dist/interfaces/storage-location-declaration.d.ts.map +1 -0
- package/dist/interfaces/storage-location.d.ts +19 -74
- package/dist/interfaces/storage-location.d.ts.map +1 -1
- package/dist/interfaces/storage.d.ts +15 -4
- package/dist/interfaces/storage.d.ts.map +1 -1
- package/dist/interfaces/stream-broker.d.ts +18 -3
- package/dist/interfaces/stream-broker.d.ts.map +1 -1
- package/dist/interfaces/timezones.d.ts +59 -0
- package/dist/interfaces/timezones.d.ts.map +1 -0
- package/dist/node.d.ts +3 -0
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +50 -8
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +51 -9
- package/dist/node.mjs.map +1 -1
- package/dist/storage/filesystem-storage-provider.d.ts +2 -1
- package/dist/storage/filesystem-storage-provider.d.ts.map +1 -1
- package/dist/stream-selection.d.ts +85 -0
- package/dist/stream-selection.d.ts.map +1 -0
- package/dist/types/detection.d.ts +3 -3
- package/dist/types/io.d.ts +1 -1
- package/dist/types/io.d.ts.map +1 -1
- package/dist/util/location-match.d.ts +15 -0
- package/dist/util/location-match.d.ts.map +1 -0
- package/dist/utils/canonical-hash.d.ts +20 -0
- package/dist/utils/canonical-hash.d.ts.map +1 -0
- package/dist/utils/export-reconciler.d.ts +101 -0
- package/dist/utils/export-reconciler.d.ts.map +1 -0
- package/dist/utils/sleep.d.ts +36 -0
- package/dist/utils/sleep.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/capabilities/recording-engine.cap.d.ts +0 -477
- package/dist/capabilities/recording-engine.cap.d.ts.map +0 -1
- package/dist/index-C2zzIDdX.mjs.map +0 -1
- package/dist/index-DnpdVFKv.js.map +0 -1
|
@@ -5,6 +5,11 @@ declare const RtspRestreamEntrySchema: z.ZodObject<{
|
|
|
5
5
|
url: z.ZodString;
|
|
6
6
|
mutedUrl: z.ZodString;
|
|
7
7
|
enabled: z.ZodBoolean;
|
|
8
|
+
codec: z.ZodOptional<z.ZodString>;
|
|
9
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
width: z.ZodNumber;
|
|
11
|
+
height: z.ZodNumber;
|
|
12
|
+
}, z.core.$strip>>;
|
|
8
13
|
}, z.core.$strip>;
|
|
9
14
|
export declare const BrokerRtspClientSchema: z.ZodObject<{
|
|
10
15
|
sessionId: z.ZodString;
|
|
@@ -27,6 +32,105 @@ export declare const BrokerAudioClientSchema: z.ZodObject<{
|
|
|
27
32
|
subscribedAt: z.ZodNumber;
|
|
28
33
|
chunksDelivered: z.ZodNumber;
|
|
29
34
|
}, z.core.$strip>;
|
|
35
|
+
/**
|
|
36
|
+
* Identifies who is holding an encoded / raw-RTP subscription open on
|
|
37
|
+
* the broker. Populated by the subscribing addon when it attaches —
|
|
38
|
+
* defaults to `{ kind: 'unknown' }` for callers that haven't been
|
|
39
|
+
* migrated. The widget surfaces every field that's set so an operator
|
|
40
|
+
* can answer "who is keeping cam X warm?" without grepping logs.
|
|
41
|
+
*/
|
|
42
|
+
export declare const BrokerConsumerKindSchema: z.ZodEnum<{
|
|
43
|
+
unknown: "unknown";
|
|
44
|
+
recording: "recording";
|
|
45
|
+
snapshot: "snapshot";
|
|
46
|
+
pipeline: "pipeline";
|
|
47
|
+
alexa: "alexa";
|
|
48
|
+
homekit: "homekit";
|
|
49
|
+
"webrtc-browser": "webrtc-browser";
|
|
50
|
+
"webrtc-mobile": "webrtc-mobile";
|
|
51
|
+
"webrtc-whep": "webrtc-whep";
|
|
52
|
+
"rtsp-listen": "rtsp-listen";
|
|
53
|
+
"derived-broker": "derived-broker";
|
|
54
|
+
warmup: "warmup";
|
|
55
|
+
}>;
|
|
56
|
+
export type BrokerConsumerKind = z.infer<typeof BrokerConsumerKindSchema>;
|
|
57
|
+
export declare const BrokerConsumerAttributionSchema: z.ZodReadonly<z.ZodObject<{
|
|
58
|
+
kind: z.ZodEnum<{
|
|
59
|
+
unknown: "unknown";
|
|
60
|
+
recording: "recording";
|
|
61
|
+
snapshot: "snapshot";
|
|
62
|
+
pipeline: "pipeline";
|
|
63
|
+
alexa: "alexa";
|
|
64
|
+
homekit: "homekit";
|
|
65
|
+
"webrtc-browser": "webrtc-browser";
|
|
66
|
+
"webrtc-mobile": "webrtc-mobile";
|
|
67
|
+
"webrtc-whep": "webrtc-whep";
|
|
68
|
+
"rtsp-listen": "rtsp-listen";
|
|
69
|
+
"derived-broker": "derived-broker";
|
|
70
|
+
warmup: "warmup";
|
|
71
|
+
}>;
|
|
72
|
+
label: z.ZodOptional<z.ZodString>;
|
|
73
|
+
media: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
video: "video";
|
|
75
|
+
audio: "audio";
|
|
76
|
+
both: "both";
|
|
77
|
+
}>>;
|
|
78
|
+
targetCodec: z.ZodOptional<z.ZodString>;
|
|
79
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
80
|
+
passthrough: "passthrough";
|
|
81
|
+
repacketize: "repacketize";
|
|
82
|
+
transcode: "transcode";
|
|
83
|
+
}>>;
|
|
84
|
+
remoteAddr: z.ZodOptional<z.ZodString>;
|
|
85
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
86
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
87
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
88
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
89
|
+
}, z.core.$strip>>;
|
|
90
|
+
export type BrokerConsumerAttribution = z.infer<typeof BrokerConsumerAttributionSchema>;
|
|
91
|
+
export declare const BrokerEncodedClientSchema: z.ZodObject<{
|
|
92
|
+
id: z.ZodString;
|
|
93
|
+
channel: z.ZodEnum<{
|
|
94
|
+
annexb: "annexb";
|
|
95
|
+
rtp: "rtp";
|
|
96
|
+
}>;
|
|
97
|
+
attribution: z.ZodReadonly<z.ZodObject<{
|
|
98
|
+
kind: z.ZodEnum<{
|
|
99
|
+
unknown: "unknown";
|
|
100
|
+
recording: "recording";
|
|
101
|
+
snapshot: "snapshot";
|
|
102
|
+
pipeline: "pipeline";
|
|
103
|
+
alexa: "alexa";
|
|
104
|
+
homekit: "homekit";
|
|
105
|
+
"webrtc-browser": "webrtc-browser";
|
|
106
|
+
"webrtc-mobile": "webrtc-mobile";
|
|
107
|
+
"webrtc-whep": "webrtc-whep";
|
|
108
|
+
"rtsp-listen": "rtsp-listen";
|
|
109
|
+
"derived-broker": "derived-broker";
|
|
110
|
+
warmup: "warmup";
|
|
111
|
+
}>;
|
|
112
|
+
label: z.ZodOptional<z.ZodString>;
|
|
113
|
+
media: z.ZodOptional<z.ZodEnum<{
|
|
114
|
+
video: "video";
|
|
115
|
+
audio: "audio";
|
|
116
|
+
both: "both";
|
|
117
|
+
}>>;
|
|
118
|
+
targetCodec: z.ZodOptional<z.ZodString>;
|
|
119
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
120
|
+
passthrough: "passthrough";
|
|
121
|
+
repacketize: "repacketize";
|
|
122
|
+
transcode: "transcode";
|
|
123
|
+
}>>;
|
|
124
|
+
remoteAddr: z.ZodOptional<z.ZodString>;
|
|
125
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
126
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
127
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
128
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
129
|
+
}, z.core.$strip>>;
|
|
130
|
+
subscribedAt: z.ZodNumber;
|
|
131
|
+
packetsDelivered: z.ZodNumber;
|
|
132
|
+
}, z.core.$strip>;
|
|
133
|
+
export type BrokerEncodedClient = z.infer<typeof BrokerEncodedClientSchema>;
|
|
30
134
|
export declare const BrokerClientsSchema: z.ZodObject<{
|
|
31
135
|
rtsp: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
32
136
|
sessionId: z.ZodString;
|
|
@@ -49,6 +153,48 @@ export declare const BrokerClientsSchema: z.ZodObject<{
|
|
|
49
153
|
subscribedAt: z.ZodNumber;
|
|
50
154
|
chunksDelivered: z.ZodNumber;
|
|
51
155
|
}, z.core.$strip>>>;
|
|
156
|
+
encoded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
157
|
+
id: z.ZodString;
|
|
158
|
+
channel: z.ZodEnum<{
|
|
159
|
+
annexb: "annexb";
|
|
160
|
+
rtp: "rtp";
|
|
161
|
+
}>;
|
|
162
|
+
attribution: z.ZodReadonly<z.ZodObject<{
|
|
163
|
+
kind: z.ZodEnum<{
|
|
164
|
+
unknown: "unknown";
|
|
165
|
+
recording: "recording";
|
|
166
|
+
snapshot: "snapshot";
|
|
167
|
+
pipeline: "pipeline";
|
|
168
|
+
alexa: "alexa";
|
|
169
|
+
homekit: "homekit";
|
|
170
|
+
"webrtc-browser": "webrtc-browser";
|
|
171
|
+
"webrtc-mobile": "webrtc-mobile";
|
|
172
|
+
"webrtc-whep": "webrtc-whep";
|
|
173
|
+
"rtsp-listen": "rtsp-listen";
|
|
174
|
+
"derived-broker": "derived-broker";
|
|
175
|
+
warmup: "warmup";
|
|
176
|
+
}>;
|
|
177
|
+
label: z.ZodOptional<z.ZodString>;
|
|
178
|
+
media: z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
video: "video";
|
|
180
|
+
audio: "audio";
|
|
181
|
+
both: "both";
|
|
182
|
+
}>>;
|
|
183
|
+
targetCodec: z.ZodOptional<z.ZodString>;
|
|
184
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
185
|
+
passthrough: "passthrough";
|
|
186
|
+
repacketize: "repacketize";
|
|
187
|
+
transcode: "transcode";
|
|
188
|
+
}>>;
|
|
189
|
+
remoteAddr: z.ZodOptional<z.ZodString>;
|
|
190
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
191
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
192
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
193
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
194
|
+
}, z.core.$strip>>;
|
|
195
|
+
subscribedAt: z.ZodNumber;
|
|
196
|
+
packetsDelivered: z.ZodNumber;
|
|
197
|
+
}, z.core.$strip>>>;
|
|
52
198
|
pipeClients: z.ZodNumber;
|
|
53
199
|
encodedSubscribers: z.ZodNumber;
|
|
54
200
|
}, z.core.$strip>;
|
|
@@ -65,35 +211,44 @@ export declare const PlaceholderReasonSchema: z.ZodEnum<{
|
|
|
65
211
|
}>;
|
|
66
212
|
export type PlaceholderReason = z.infer<typeof PlaceholderReasonSchema>;
|
|
67
213
|
declare const VideoCodecTargetSchema: z.ZodEnum<{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
214
|
+
h264: "h264";
|
|
215
|
+
h265: "h265";
|
|
216
|
+
copy: "copy";
|
|
71
217
|
}>;
|
|
72
218
|
export type VideoCodecTarget = z.infer<typeof VideoCodecTargetSchema>;
|
|
73
219
|
declare const AudioCodecTargetSchema: z.ZodEnum<{
|
|
220
|
+
copy: "copy";
|
|
221
|
+
opus: "opus";
|
|
222
|
+
aac: "aac";
|
|
223
|
+
pcmu: "pcmu";
|
|
74
224
|
none: "none";
|
|
75
|
-
AAC: "AAC";
|
|
76
|
-
Opus: "Opus";
|
|
77
|
-
PCMU: "PCMU";
|
|
78
225
|
}>;
|
|
79
226
|
export type AudioCodecTarget = z.infer<typeof AudioCodecTargetSchema>;
|
|
80
227
|
export declare const GetStreamWithCodecInputSchema: z.ZodObject<{
|
|
81
228
|
deviceId: z.ZodNumber;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
229
|
+
video: z.ZodEnum<{
|
|
230
|
+
h264: "h264";
|
|
231
|
+
h265: "h265";
|
|
232
|
+
copy: "copy";
|
|
86
233
|
}>;
|
|
87
|
-
|
|
234
|
+
audio: z.ZodOptional<z.ZodEnum<{
|
|
235
|
+
copy: "copy";
|
|
236
|
+
opus: "opus";
|
|
237
|
+
aac: "aac";
|
|
238
|
+
pcmu: "pcmu";
|
|
88
239
|
none: "none";
|
|
89
|
-
AAC: "AAC";
|
|
90
|
-
Opus: "Opus";
|
|
91
|
-
PCMU: "PCMU";
|
|
92
240
|
}>>;
|
|
93
|
-
|
|
241
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
242
|
+
high: "high";
|
|
243
|
+
mid: "mid";
|
|
244
|
+
low: "low";
|
|
245
|
+
}>>;
|
|
246
|
+
targetResolution: z.ZodOptional<z.ZodObject<{
|
|
94
247
|
width: z.ZodNumber;
|
|
95
248
|
height: z.ZodNumber;
|
|
96
249
|
}, z.core.$strip>>;
|
|
250
|
+
outputArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
251
|
+
audioEgress: z.ZodOptional<z.ZodBoolean>;
|
|
97
252
|
tag: z.ZodOptional<z.ZodString>;
|
|
98
253
|
}, z.core.$strip>;
|
|
99
254
|
export type GetStreamWithCodecInput = z.infer<typeof GetStreamWithCodecInputSchema>;
|
|
@@ -128,6 +283,7 @@ export declare const streamBrokerCapability: {
|
|
|
128
283
|
"pull-http": "pull-http";
|
|
129
284
|
"pull-rfc4571": "pull-rfc4571";
|
|
130
285
|
"push-annexb": "push-annexb";
|
|
286
|
+
derived: "derived";
|
|
131
287
|
}>;
|
|
132
288
|
url: z.ZodOptional<z.ZodString>;
|
|
133
289
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -140,6 +296,54 @@ export declare const streamBrokerCapability: {
|
|
|
140
296
|
deviceFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
297
|
autoEligible: z.ZodOptional<z.ZodBoolean>;
|
|
142
298
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
299
|
+
sourceCamStreamId: z.ZodOptional<z.ZodString>;
|
|
300
|
+
encodeProfile: z.ZodOptional<z.ZodObject<{
|
|
301
|
+
video: z.ZodObject<{
|
|
302
|
+
codec: z.ZodEnum<{
|
|
303
|
+
h264: "h264";
|
|
304
|
+
h265: "h265";
|
|
305
|
+
copy: "copy";
|
|
306
|
+
}>;
|
|
307
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
308
|
+
baseline: "baseline";
|
|
309
|
+
main: "main";
|
|
310
|
+
high: "high";
|
|
311
|
+
}>>;
|
|
312
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
313
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
314
|
+
fps: z.ZodOptional<z.ZodNumber>;
|
|
315
|
+
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
316
|
+
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
317
|
+
bf: z.ZodOptional<z.ZodNumber>;
|
|
318
|
+
preset: z.ZodOptional<z.ZodEnum<{
|
|
319
|
+
ultrafast: "ultrafast";
|
|
320
|
+
superfast: "superfast";
|
|
321
|
+
veryfast: "veryfast";
|
|
322
|
+
faster: "faster";
|
|
323
|
+
fast: "fast";
|
|
324
|
+
medium: "medium";
|
|
325
|
+
}>>;
|
|
326
|
+
tune: z.ZodOptional<z.ZodEnum<{
|
|
327
|
+
zerolatency: "zerolatency";
|
|
328
|
+
film: "film";
|
|
329
|
+
animation: "animation";
|
|
330
|
+
}>>;
|
|
331
|
+
}, z.core.$strip>;
|
|
332
|
+
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
333
|
+
codec: z.ZodEnum<{
|
|
334
|
+
copy: "copy";
|
|
335
|
+
opus: "opus";
|
|
336
|
+
aac: "aac";
|
|
337
|
+
pcmu: "pcmu";
|
|
338
|
+
pcma: "pcma";
|
|
339
|
+
}>;
|
|
340
|
+
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
341
|
+
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
342
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
343
|
+
}, z.core.$strip>]>;
|
|
344
|
+
inputArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
345
|
+
outputArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
346
|
+
}, z.core.$strip>>;
|
|
143
347
|
}, z.core.$strip>, z.ZodObject<{
|
|
144
348
|
success: z.ZodLiteral<true>;
|
|
145
349
|
}, z.core.$strip>, "mutation">;
|
|
@@ -179,6 +383,7 @@ export declare const streamBrokerCapability: {
|
|
|
179
383
|
"pull-http": "pull-http";
|
|
180
384
|
"pull-rfc4571": "pull-rfc4571";
|
|
181
385
|
"push-annexb": "push-annexb";
|
|
386
|
+
derived: "derived";
|
|
182
387
|
}>;
|
|
183
388
|
url: z.ZodOptional<z.ZodString>;
|
|
184
389
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -249,6 +454,20 @@ export declare const streamBrokerCapability: {
|
|
|
249
454
|
supported: z.ZodBoolean;
|
|
250
455
|
}, z.core.$strip>>>;
|
|
251
456
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
457
|
+
/**
|
|
458
|
+
* Force a one-shot probe of a single source stream: transiently dial the
|
|
459
|
+
* broker (a `warmup` consumer), capture a fresh `BrokerStats` snapshot for
|
|
460
|
+
* the per-stream "Probed" settings field, then release. Wakes a suspended
|
|
461
|
+
* (incl. battery) stream for a few seconds. `summary` is the rendered
|
|
462
|
+
* probed-values string; `probed` is false if the stream never reached
|
|
463
|
+
* `streaming` within the timeout.
|
|
464
|
+
*/
|
|
465
|
+
readonly probeStream: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
466
|
+
brokerId: z.ZodString;
|
|
467
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
468
|
+
probed: z.ZodBoolean;
|
|
469
|
+
summary: z.ZodString;
|
|
470
|
+
}, z.core.$strip>, "mutation">;
|
|
252
471
|
readonly listClients: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
253
472
|
brokerId: z.ZodString;
|
|
254
473
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -273,6 +492,48 @@ export declare const streamBrokerCapability: {
|
|
|
273
492
|
subscribedAt: z.ZodNumber;
|
|
274
493
|
chunksDelivered: z.ZodNumber;
|
|
275
494
|
}, z.core.$strip>>>;
|
|
495
|
+
encoded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
496
|
+
id: z.ZodString;
|
|
497
|
+
channel: z.ZodEnum<{
|
|
498
|
+
annexb: "annexb";
|
|
499
|
+
rtp: "rtp";
|
|
500
|
+
}>;
|
|
501
|
+
attribution: z.ZodReadonly<z.ZodObject<{
|
|
502
|
+
kind: z.ZodEnum<{
|
|
503
|
+
unknown: "unknown";
|
|
504
|
+
recording: "recording";
|
|
505
|
+
snapshot: "snapshot";
|
|
506
|
+
pipeline: "pipeline";
|
|
507
|
+
alexa: "alexa";
|
|
508
|
+
homekit: "homekit";
|
|
509
|
+
"webrtc-browser": "webrtc-browser";
|
|
510
|
+
"webrtc-mobile": "webrtc-mobile";
|
|
511
|
+
"webrtc-whep": "webrtc-whep";
|
|
512
|
+
"rtsp-listen": "rtsp-listen";
|
|
513
|
+
"derived-broker": "derived-broker";
|
|
514
|
+
warmup: "warmup";
|
|
515
|
+
}>;
|
|
516
|
+
label: z.ZodOptional<z.ZodString>;
|
|
517
|
+
media: z.ZodOptional<z.ZodEnum<{
|
|
518
|
+
video: "video";
|
|
519
|
+
audio: "audio";
|
|
520
|
+
both: "both";
|
|
521
|
+
}>>;
|
|
522
|
+
targetCodec: z.ZodOptional<z.ZodString>;
|
|
523
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
524
|
+
passthrough: "passthrough";
|
|
525
|
+
repacketize: "repacketize";
|
|
526
|
+
transcode: "transcode";
|
|
527
|
+
}>>;
|
|
528
|
+
remoteAddr: z.ZodOptional<z.ZodString>;
|
|
529
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
530
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
531
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
532
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
533
|
+
}, z.core.$strip>>;
|
|
534
|
+
subscribedAt: z.ZodNumber;
|
|
535
|
+
packetsDelivered: z.ZodNumber;
|
|
536
|
+
}, z.core.$strip>>>;
|
|
276
537
|
pipeClients: z.ZodNumber;
|
|
277
538
|
encodedSubscribers: z.ZodNumber;
|
|
278
539
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -297,6 +558,12 @@ export declare const streamBrokerCapability: {
|
|
|
297
558
|
}, z.core.$strip>, z.ZodObject<{
|
|
298
559
|
success: z.ZodBoolean;
|
|
299
560
|
}, z.core.$strip>, "mutation">;
|
|
561
|
+
/**
|
|
562
|
+
* LEGACY / observability. Returns a raw per-broker restream URL for a
|
|
563
|
+
* single stream. Prefer {@link getStreamWithCodec} for programmatic
|
|
564
|
+
* CONSUMPTION — it is the single demand-counted entry that rides the
|
|
565
|
+
* broker's one source dial and returns a codec-correct passthrough.
|
|
566
|
+
*/
|
|
300
567
|
readonly getStreamUrl: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
301
568
|
streamId: z.ZodString;
|
|
302
569
|
format: z.ZodEnum<{
|
|
@@ -309,26 +576,37 @@ export declare const streamBrokerCapability: {
|
|
|
309
576
|
url: z.ZodString;
|
|
310
577
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
311
578
|
/**
|
|
312
|
-
* Shared codec-targeted stream API — see Task #184.
|
|
579
|
+
* Shared codec-targeted stream API — see Task #184. THE single public
|
|
580
|
+
* stream-acquisition surface for programmatic consumers: single-dial
|
|
581
|
+
* (rides the broker's one source pull) and passthrough-correct
|
|
582
|
+
* (`videoCodec:'auto'` → `-c copy`, never a needless re-encode).
|
|
313
583
|
* Resolution order: source-select → HW transcode → libx264/libx265.
|
|
314
584
|
*/
|
|
315
585
|
readonly getStreamWithCodec: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
316
586
|
deviceId: z.ZodNumber;
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
587
|
+
video: z.ZodEnum<{
|
|
588
|
+
h264: "h264";
|
|
589
|
+
h265: "h265";
|
|
590
|
+
copy: "copy";
|
|
321
591
|
}>;
|
|
322
|
-
|
|
592
|
+
audio: z.ZodOptional<z.ZodEnum<{
|
|
593
|
+
copy: "copy";
|
|
594
|
+
opus: "opus";
|
|
595
|
+
aac: "aac";
|
|
596
|
+
pcmu: "pcmu";
|
|
323
597
|
none: "none";
|
|
324
|
-
AAC: "AAC";
|
|
325
|
-
Opus: "Opus";
|
|
326
|
-
PCMU: "PCMU";
|
|
327
598
|
}>>;
|
|
328
|
-
|
|
599
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
600
|
+
high: "high";
|
|
601
|
+
mid: "mid";
|
|
602
|
+
low: "low";
|
|
603
|
+
}>>;
|
|
604
|
+
targetResolution: z.ZodOptional<z.ZodObject<{
|
|
329
605
|
width: z.ZodNumber;
|
|
330
606
|
height: z.ZodNumber;
|
|
331
607
|
}, z.core.$strip>>;
|
|
608
|
+
outputArgs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
609
|
+
audioEgress: z.ZodOptional<z.ZodBoolean>;
|
|
332
610
|
tag: z.ZodOptional<z.ZodString>;
|
|
333
611
|
}, z.core.$strip>, z.ZodObject<{
|
|
334
612
|
url: z.ZodString;
|
|
@@ -460,6 +738,11 @@ export declare const streamBrokerCapability: {
|
|
|
460
738
|
packetCount: z.ZodNumber;
|
|
461
739
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
462
740
|
readonly getRtspPort: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodNumber, import("./capability-definition.js").CapabilityMethodKind>;
|
|
741
|
+
/**
|
|
742
|
+
* Enumeration surface — backs the admin RTSP-export picker and
|
|
743
|
+
* `pickPreferredRtspEntry`. Lists every per-broker restream entry. NOT a
|
|
744
|
+
* consumption API: programmatic readers use {@link getStreamWithCodec}.
|
|
745
|
+
*/
|
|
463
746
|
readonly getAllRtspEntries: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
464
747
|
hostname: z.ZodOptional<z.ZodString>;
|
|
465
748
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -467,7 +750,17 @@ export declare const streamBrokerCapability: {
|
|
|
467
750
|
url: z.ZodString;
|
|
468
751
|
mutedUrl: z.ZodString;
|
|
469
752
|
enabled: z.ZodBoolean;
|
|
753
|
+
codec: z.ZodOptional<z.ZodString>;
|
|
754
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
755
|
+
width: z.ZodNumber;
|
|
756
|
+
height: z.ZodNumber;
|
|
757
|
+
}, z.core.$strip>>;
|
|
470
758
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
759
|
+
/**
|
|
760
|
+
* LEGACY / observability. Resolves one broker's restream entry. Prefer
|
|
761
|
+
* {@link getStreamWithCodec} for programmatic CONSUMPTION so the read is
|
|
762
|
+
* demand-counted and rides the single source dial.
|
|
763
|
+
*/
|
|
471
764
|
readonly getRtspEntry: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
472
765
|
brokerId: z.ZodString;
|
|
473
766
|
hostname: z.ZodOptional<z.ZodString>;
|
|
@@ -476,6 +769,11 @@ export declare const streamBrokerCapability: {
|
|
|
476
769
|
url: z.ZodString;
|
|
477
770
|
mutedUrl: z.ZodString;
|
|
478
771
|
enabled: z.ZodBoolean;
|
|
772
|
+
codec: z.ZodOptional<z.ZodString>;
|
|
773
|
+
resolution: z.ZodOptional<z.ZodObject<{
|
|
774
|
+
width: z.ZodNumber;
|
|
775
|
+
height: z.ZodNumber;
|
|
776
|
+
}, z.core.$strip>>;
|
|
479
777
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
480
778
|
readonly regenerateRtspToken: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
481
779
|
brokerId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream-broker.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/stream-broker.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAA4C,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"stream-broker.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/stream-broker.cap.ts"],"names":[],"mappings":"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"}
|
|
@@ -27,6 +27,7 @@ export declare const CamStreamDescriptorSchema: z.ZodObject<{
|
|
|
27
27
|
"pull-http": "pull-http";
|
|
28
28
|
"pull-rfc4571": "pull-rfc4571";
|
|
29
29
|
"push-annexb": "push-annexb";
|
|
30
|
+
derived: "derived";
|
|
30
31
|
}>;
|
|
31
32
|
url: z.ZodOptional<z.ZodString>;
|
|
32
33
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -50,6 +51,7 @@ export type CamStreamDescriptor = z.infer<typeof CamStreamDescriptorSchema>;
|
|
|
50
51
|
export declare const streamCatalogCapability: {
|
|
51
52
|
readonly name: "stream-catalog";
|
|
52
53
|
readonly scope: "device";
|
|
54
|
+
readonly deviceNative: true;
|
|
53
55
|
readonly mode: "singleton";
|
|
54
56
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
55
57
|
readonly methods: {
|
|
@@ -63,6 +65,7 @@ export declare const streamCatalogCapability: {
|
|
|
63
65
|
"pull-http": "pull-http";
|
|
64
66
|
"pull-rfc4571": "pull-rfc4571";
|
|
65
67
|
"push-annexb": "push-annexb";
|
|
68
|
+
derived: "derived";
|
|
66
69
|
}>;
|
|
67
70
|
url: z.ZodOptional<z.ZodString>;
|
|
68
71
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream-catalog.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/stream-catalog.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AACxG,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAGrD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"stream-catalog.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/stream-catalog.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AACxG,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAGrD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;iBAcpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE3E;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYK,CAAA;AAEzC,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
|
@@ -3,8 +3,8 @@ import { type InferNativeProvider } from './capability-definition.js';
|
|
|
3
3
|
import { DeviceType } from '../device/device-type.js';
|
|
4
4
|
/** One of the camera's stream profiles. */
|
|
5
5
|
export declare const StreamProfileSchema: z.ZodEnum<{
|
|
6
|
-
sub: "sub";
|
|
7
6
|
main: "main";
|
|
7
|
+
sub: "sub";
|
|
8
8
|
ext: "ext";
|
|
9
9
|
}>;
|
|
10
10
|
/** The current encoding config of one stream profile. */
|
|
@@ -22,9 +22,9 @@ declare const StreamProfileConfigSchema: z.ZodObject<{
|
|
|
22
22
|
cbr: "cbr";
|
|
23
23
|
}>>;
|
|
24
24
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
25
|
-
high: "high";
|
|
26
|
-
main: "main";
|
|
27
25
|
baseline: "baseline";
|
|
26
|
+
main: "main";
|
|
27
|
+
high: "high";
|
|
28
28
|
}>>;
|
|
29
29
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
30
30
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44,9 +44,9 @@ export declare const StreamParamsStatusSchema: z.ZodObject<{
|
|
|
44
44
|
cbr: "cbr";
|
|
45
45
|
}>>;
|
|
46
46
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
47
|
-
high: "high";
|
|
48
|
-
main: "main";
|
|
49
47
|
baseline: "baseline";
|
|
48
|
+
main: "main";
|
|
49
|
+
high: "high";
|
|
50
50
|
}>>;
|
|
51
51
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
52
52
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -65,9 +65,9 @@ export declare const StreamParamsStatusSchema: z.ZodObject<{
|
|
|
65
65
|
cbr: "cbr";
|
|
66
66
|
}>>;
|
|
67
67
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
68
|
-
high: "high";
|
|
69
|
-
main: "main";
|
|
70
68
|
baseline: "baseline";
|
|
69
|
+
main: "main";
|
|
70
|
+
high: "high";
|
|
71
71
|
}>>;
|
|
72
72
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
73
73
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -86,9 +86,9 @@ export declare const StreamParamsStatusSchema: z.ZodObject<{
|
|
|
86
86
|
cbr: "cbr";
|
|
87
87
|
}>>;
|
|
88
88
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
89
|
-
high: "high";
|
|
90
|
-
main: "main";
|
|
91
89
|
baseline: "baseline";
|
|
90
|
+
main: "main";
|
|
91
|
+
high: "high";
|
|
92
92
|
}>>;
|
|
93
93
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
94
94
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -198,9 +198,9 @@ export declare const StreamProfilePatchSchema: z.ZodObject<{
|
|
|
198
198
|
cbr: "cbr";
|
|
199
199
|
}>>;
|
|
200
200
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
201
|
-
high: "high";
|
|
202
|
-
main: "main";
|
|
203
201
|
baseline: "baseline";
|
|
202
|
+
main: "main";
|
|
203
|
+
high: "high";
|
|
204
204
|
}>>;
|
|
205
205
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
206
206
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -212,6 +212,7 @@ export type StreamProfilePatch = z.infer<typeof StreamProfilePatchSchema>;
|
|
|
212
212
|
export declare const streamParamsCapability: {
|
|
213
213
|
readonly name: "stream-params";
|
|
214
214
|
readonly scope: "device";
|
|
215
|
+
readonly deviceNative: true;
|
|
215
216
|
readonly mode: "singleton";
|
|
216
217
|
readonly deviceTypes: readonly [DeviceType.Camera];
|
|
217
218
|
readonly deviceConfig: {
|
|
@@ -292,8 +293,8 @@ export declare const streamParamsCapability: {
|
|
|
292
293
|
readonly setProfile: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
293
294
|
deviceId: z.ZodNumber;
|
|
294
295
|
profile: z.ZodEnum<{
|
|
295
|
-
sub: "sub";
|
|
296
296
|
main: "main";
|
|
297
|
+
sub: "sub";
|
|
297
298
|
ext: "ext";
|
|
298
299
|
}>;
|
|
299
300
|
patch: z.ZodObject<{
|
|
@@ -310,9 +311,9 @@ export declare const streamParamsCapability: {
|
|
|
310
311
|
cbr: "cbr";
|
|
311
312
|
}>>;
|
|
312
313
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
313
|
-
high: "high";
|
|
314
|
-
main: "main";
|
|
315
314
|
baseline: "baseline";
|
|
315
|
+
main: "main";
|
|
316
|
+
high: "high";
|
|
316
317
|
}>>;
|
|
317
318
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
318
319
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -357,9 +358,9 @@ export declare const streamParamsCapability: {
|
|
|
357
358
|
cbr: "cbr";
|
|
358
359
|
}>>;
|
|
359
360
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
360
|
-
high: "high";
|
|
361
|
-
main: "main";
|
|
362
361
|
baseline: "baseline";
|
|
362
|
+
main: "main";
|
|
363
|
+
high: "high";
|
|
363
364
|
}>>;
|
|
364
365
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
365
366
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -378,9 +379,9 @@ export declare const streamParamsCapability: {
|
|
|
378
379
|
cbr: "cbr";
|
|
379
380
|
}>>;
|
|
380
381
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
381
|
-
high: "high";
|
|
382
|
-
main: "main";
|
|
383
382
|
baseline: "baseline";
|
|
383
|
+
main: "main";
|
|
384
|
+
high: "high";
|
|
384
385
|
}>>;
|
|
385
386
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
386
387
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -399,9 +400,9 @@ export declare const streamParamsCapability: {
|
|
|
399
400
|
cbr: "cbr";
|
|
400
401
|
}>>;
|
|
401
402
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
402
|
-
high: "high";
|
|
403
|
-
main: "main";
|
|
404
403
|
baseline: "baseline";
|
|
404
|
+
main: "main";
|
|
405
|
+
high: "high";
|
|
405
406
|
}>>;
|
|
406
407
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
407
408
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -425,9 +426,9 @@ export declare const streamParamsCapability: {
|
|
|
425
426
|
cbr: "cbr";
|
|
426
427
|
}>>;
|
|
427
428
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
428
|
-
high: "high";
|
|
429
|
-
main: "main";
|
|
430
429
|
baseline: "baseline";
|
|
430
|
+
main: "main";
|
|
431
|
+
high: "high";
|
|
431
432
|
}>>;
|
|
432
433
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
433
434
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -446,9 +447,9 @@ export declare const streamParamsCapability: {
|
|
|
446
447
|
cbr: "cbr";
|
|
447
448
|
}>>;
|
|
448
449
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
449
|
-
high: "high";
|
|
450
|
-
main: "main";
|
|
451
450
|
baseline: "baseline";
|
|
451
|
+
main: "main";
|
|
452
|
+
high: "high";
|
|
452
453
|
}>>;
|
|
453
454
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
454
455
|
audio: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -467,9 +468,9 @@ export declare const streamParamsCapability: {
|
|
|
467
468
|
cbr: "cbr";
|
|
468
469
|
}>>;
|
|
469
470
|
encoderProfile: z.ZodOptional<z.ZodEnum<{
|
|
470
|
-
high: "high";
|
|
471
|
-
main: "main";
|
|
472
471
|
baseline: "baseline";
|
|
472
|
+
main: "main";
|
|
473
|
+
high: "high";
|
|
473
474
|
}>>;
|
|
474
475
|
gop: z.ZodOptional<z.ZodNumber>;
|
|
475
476
|
audio: z.ZodOptional<z.ZodBoolean>;
|