@camstack/types 1.2.335 → 1.2.337
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/audio/audio-chunk-format.d.ts +1 -1
- package/dist/automation/recipe.d.ts +3 -3
- package/dist/capabilities/accessories.cap.d.ts +4 -4
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
- package/dist/capabilities/addon-pages.cap.d.ts +3 -3
- package/dist/capabilities/addon-routes.cap.d.ts +8 -8
- package/dist/capabilities/addon-settings.cap.d.ts +9 -9
- package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
- package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
- package/dist/capabilities/addons.cap.d.ts +87 -87
- package/dist/capabilities/admin-ui.cap.d.ts +3 -3
- package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
- package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
- package/dist/capabilities/alerts.cap.d.ts +18 -18
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
- package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
- package/dist/capabilities/audio-codec.cap.d.ts +4 -4
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
- package/dist/capabilities/auth-provider.cap.d.ts +4 -4
- package/dist/capabilities/automation-control.cap.d.ts +5 -5
- package/dist/capabilities/backup.cap.d.ts +18 -18
- package/dist/capabilities/battery.cap.d.ts +15 -15
- package/dist/capabilities/binary.cap.d.ts +5 -5
- package/dist/capabilities/brightness.cap.d.ts +5 -5
- package/dist/capabilities/broker.cap.d.ts +21 -21
- package/dist/capabilities/button.cap.d.ts +3 -3
- package/dist/capabilities/calendar-source.cap.d.ts +3 -3
- package/dist/capabilities/calendars.cap.d.ts +5 -5
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
- package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +37 -37
- package/dist/capabilities/capability-definition.d.ts +10 -10
- package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +37 -37
- package/dist/capabilities/color.cap.d.ts +9 -9
- package/dist/capabilities/composer.cap.d.ts +16 -16
- package/dist/capabilities/connection-test.cap.d.ts +3 -3
- package/dist/capabilities/connectivity.cap.d.ts +5 -5
- package/dist/capabilities/consumables.cap.d.ts +21 -21
- package/dist/capabilities/contact.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +16 -16
- package/dist/capabilities/core-blocks.cap.d.ts +115 -115
- package/dist/capabilities/cover.cap.d.ts +17 -17
- package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
- package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
- package/dist/capabilities/day-night.cap.d.ts +24 -24
- package/dist/capabilities/decoder.cap.d.ts +4 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
- package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
- package/dist/capabilities/device-adoption.cap.d.ts +4 -4
- package/dist/capabilities/device-discovery.cap.d.ts +7 -7
- package/dist/capabilities/device-export.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +22 -22
- package/dist/capabilities/device-manager.cap.d.ts +113 -113
- package/dist/capabilities/device-ops.cap.d.ts +7 -7
- package/dist/capabilities/device-provider.cap.d.ts +3 -3
- package/dist/capabilities/device-state.cap.d.ts +24 -24
- package/dist/capabilities/device-status.cap.d.ts +5 -5
- package/dist/capabilities/doorbell.cap.d.ts +7 -7
- package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
- package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
- package/dist/capabilities/event-emitter.cap.d.ts +5 -5
- package/dist/capabilities/face-gallery.cap.d.ts +7 -7
- package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
- package/dist/capabilities/fan-control.cap.d.ts +10 -10
- package/dist/capabilities/feature-probe.cap.d.ts +5 -5
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
- package/dist/capabilities/flood.cap.d.ts +5 -5
- package/dist/capabilities/gas.cap.d.ts +5 -5
- package/dist/capabilities/hub-address.d.ts +1 -1
- package/dist/capabilities/humidifier.cap.d.ts +5 -5
- package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
- package/dist/capabilities/image-settings.cap.d.ts +48 -48
- package/dist/capabilities/image.cap.d.ts +5 -5
- package/dist/capabilities/integrations.cap.d.ts +12 -12
- package/dist/capabilities/intercom.cap.d.ts +11 -11
- package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
- package/dist/capabilities/keychain.cap.d.ts +27 -27
- package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
- package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
- package/dist/capabilities/llm-shared.d.ts +21 -21
- package/dist/capabilities/llm.cap.d.ts +109 -109
- package/dist/capabilities/load-contribution.cap.d.ts +12 -12
- package/dist/capabilities/local-network.cap.d.ts +119 -119
- package/dist/capabilities/lock-control.cap.d.ts +13 -13
- package/dist/capabilities/log-channels.cap.d.ts +5 -5
- package/dist/capabilities/log-destination.cap.d.ts +14 -14
- package/dist/capabilities/login-method.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +13 -13
- package/dist/capabilities/mesh-network.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
- package/dist/capabilities/model-convert.cap.d.ts +29 -29
- package/dist/capabilities/model-distributor.cap.d.ts +27 -27
- package/dist/capabilities/motion-detection.cap.d.ts +8 -8
- package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
- package/dist/capabilities/motion-zones.cap.d.ts +13 -13
- package/dist/capabilities/motion.cap.d.ts +7 -7
- package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
- package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
- package/dist/capabilities/navigation.cap.d.ts +56 -56
- package/dist/capabilities/network-access.cap.d.ts +4 -4
- package/dist/capabilities/network-link.cap.d.ts +16 -16
- package/dist/capabilities/network-quality.cap.d.ts +4 -4
- package/dist/capabilities/nodes.cap.d.ts +5 -5
- package/dist/capabilities/notification-output.cap.d.ts +121 -121
- package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
- package/dist/capabilities/notifier.cap.d.ts +8 -8
- package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
- package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
- package/dist/capabilities/osd-manager.cap.d.ts +261 -261
- package/dist/capabilities/osd.cap.d.ts +59 -59
- package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
- package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
- package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +275 -267
- package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
- package/dist/capabilities/platform-probe.cap.d.ts +66 -66
- package/dist/capabilities/power-meter.cap.d.ts +5 -5
- package/dist/capabilities/presence.cap.d.ts +5 -5
- package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
- package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
- package/dist/capabilities/ptz.cap.d.ts +29 -29
- package/dist/capabilities/reboot.cap.d.ts +3 -3
- package/dist/capabilities/recording-archive.cap.d.ts +59 -59
- package/dist/capabilities/recording-export.cap.d.ts +37 -37
- package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
- package/dist/capabilities/recording-signal.cap.d.ts +6 -6
- package/dist/capabilities/recording.cap.d.ts +21 -21
- package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
- package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
- package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
- package/dist/capabilities/script-runner.cap.d.ts +5 -5
- package/dist/capabilities/server-management.cap.d.ts +70 -70
- package/dist/capabilities/settings-store.cap.d.ts +11 -11
- package/dist/capabilities/smoke.cap.d.ts +5 -5
- package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
- package/dist/capabilities/snapshot.cap.d.ts +9 -9
- package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +53 -53
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
- package/dist/capabilities/storage-provider.cap.d.ts +25 -25
- package/dist/capabilities/storage.cap.d.ts +18 -18
- package/dist/capabilities/stream-broker.cap.d.ts +184 -184
- package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
- package/dist/capabilities/stream-params.cap.d.ts +36 -36
- package/dist/capabilities/stream-signals.cap.d.ts +4 -4
- package/dist/capabilities/switch.cap.d.ts +11 -11
- package/dist/capabilities/system.cap.d.ts +66 -66
- package/dist/capabilities/tamper.cap.d.ts +5 -5
- package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
- package/dist/capabilities/terminal-session.cap.d.ts +3 -3
- package/dist/capabilities/toast.cap.d.ts +6 -6
- package/dist/capabilities/training-provider.cap.d.ts +35 -35
- package/dist/capabilities/training.cap.d.ts +278 -278
- package/dist/capabilities/turn-provider.cap.d.ts +3 -3
- package/dist/capabilities/update.cap.d.ts +5 -5
- package/dist/capabilities/user-management.cap.d.ts +83 -83
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
- package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
- package/dist/capabilities/valve.cap.d.ts +17 -17
- package/dist/capabilities/vector-store.cap.d.ts +3 -3
- package/dist/capabilities/vibration.cap.d.ts +5 -5
- package/dist/capabilities/videoclips.cap.d.ts +53 -53
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
- package/dist/capabilities/water-heater.cap.d.ts +5 -5
- package/dist/capabilities/weather.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
- package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
- package/dist/capabilities/zone-rules.cap.d.ts +15 -15
- package/dist/capabilities/zones.cap.d.ts +4 -4
- package/dist/catalogs/event-taxonomy.d.ts +9 -9
- package/dist/catalogs/root-model-supply.d.ts +3 -3
- package/dist/composition/composable-caps.d.ts +6 -6
- package/dist/composition/composition-report.d.ts +75 -75
- package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
- package/dist/device/location-icon.d.ts +25 -25
- package/dist/device/site-zone.d.ts +12 -12
- package/dist/encode-profile.d.ts +22 -22
- package/dist/generated/addon-api.d.ts +176 -176
- package/dist/generated/capability-router-map.d.ts +171 -171
- package/dist/generated/extension-slots.d.ts +1 -1
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/i18n/event-kind-labels.d.ts +1 -1
- package/dist/i18n/state-labels.d.ts +1 -1
- package/dist/interfaces/addon-data-plane.d.ts +1 -1
- package/dist/interfaces/adoption-job.d.ts +10 -10
- package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
- package/dist/interfaces/camera-switches.d.ts +21 -21
- package/dist/interfaces/ops-log.d.ts +14 -14
- package/dist/interfaces/recording-config.d.ts +14 -14
- package/dist/interfaces/relocate.d.ts +88 -88
- package/dist/interfaces/server-analysis.d.ts +2 -2
- package/dist/interfaces/storage-location-declaration.d.ts +4 -4
- package/dist/interfaces/storage-location-mode.d.ts +4 -4
- package/dist/interfaces/storage-location.d.ts +2 -2
- package/dist/interfaces/track-relations.d.ts +14 -14
- package/dist/lifecycle/job.d.ts +43 -43
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/media/media-owner-key.d.ts +2 -2
- package/dist/notification/alarm-membership.d.ts +2 -2
- package/dist/notification/alarm-profiles.d.ts +1 -1
- package/dist/notification/condition-taxonomy.d.ts +1 -1
- package/dist/notification/scope-picker-items.d.ts +1 -1
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/timelapse-rule.d.ts +4 -4
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +78 -78
- package/dist/pipeline/camera-sensors.d.ts +39 -39
- package/dist/pipeline/cluster-model-scope.d.ts +11 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
- package/dist/pipeline/native-lease.d.ts +4 -4
- package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
- package/dist/pipeline/provider-motion.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts +14 -14
- package/dist/training/trainer-contract.d.ts +19 -19
- package/dist/types/clip-model.d.ts +2 -2
- package/dist/types/labels.d.ts +4 -4
- package/dist/types/models.d.ts +42 -42
- package/dist/units/unit-table.d.ts +45 -45
- package/package.json +9 -2
|
@@ -2,16 +2,16 @@ import { z } from 'zod';
|
|
|
2
2
|
import { type InferProvider } from './capability-definition.js';
|
|
3
3
|
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
4
4
|
export declare const StreamFormatSchema: z.ZodEnum<{
|
|
5
|
-
rtsp: "rtsp";
|
|
6
|
-
webrtc: "webrtc";
|
|
7
5
|
hls: "hls";
|
|
8
6
|
mjpeg: "mjpeg";
|
|
7
|
+
rtsp: "rtsp";
|
|
8
|
+
webrtc: "webrtc";
|
|
9
9
|
}>;
|
|
10
10
|
export type StreamFormat = z.infer<typeof StreamFormatSchema>;
|
|
11
11
|
/** A container `produceEventMedia` can emit. */
|
|
12
12
|
export declare const EventMediaKindSchema: z.ZodEnum<{
|
|
13
|
-
mp4: "mp4";
|
|
14
13
|
gif: "gif";
|
|
14
|
+
mp4: "mp4";
|
|
15
15
|
}>;
|
|
16
16
|
export type EventMediaKind = z.infer<typeof EventMediaKindSchema>;
|
|
17
17
|
/**
|
|
@@ -25,8 +25,8 @@ export type EventMediaKind = z.infer<typeof EventMediaKindSchema>;
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const EventMediaArtifactSchema: z.ZodObject<{
|
|
27
27
|
kind: z.ZodEnum<{
|
|
28
|
-
mp4: "mp4";
|
|
29
28
|
gif: "gif";
|
|
29
|
+
mp4: "mp4";
|
|
30
30
|
}>;
|
|
31
31
|
handle: z.ZodString;
|
|
32
32
|
nodeId: z.ZodString;
|
|
@@ -63,8 +63,8 @@ export type EventMediaCoverage = z.infer<typeof EventMediaCoverageSchema>;
|
|
|
63
63
|
export declare const EventMediaProductionSchema: z.ZodObject<{
|
|
64
64
|
media: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
65
65
|
kind: z.ZodEnum<{
|
|
66
|
-
mp4: "mp4";
|
|
67
66
|
gif: "gif";
|
|
67
|
+
mp4: "mp4";
|
|
68
68
|
}>;
|
|
69
69
|
handle: z.ZodString;
|
|
70
70
|
nodeId: z.ZodString;
|
|
@@ -80,12 +80,12 @@ export declare const EventMediaProductionSchema: z.ZodObject<{
|
|
|
80
80
|
}, z.core.$strip>;
|
|
81
81
|
profile: z.ZodEnum<{
|
|
82
82
|
high: "high";
|
|
83
|
-
mid: "mid";
|
|
84
83
|
low: "low";
|
|
84
|
+
mid: "mid";
|
|
85
85
|
}>;
|
|
86
86
|
video: z.ZodEnum<{
|
|
87
|
-
encode: "encode";
|
|
88
87
|
copy: "copy";
|
|
88
|
+
encode: "encode";
|
|
89
89
|
}>;
|
|
90
90
|
}, z.core.$strip>;
|
|
91
91
|
export type EventMediaProduction = z.infer<typeof EventMediaProductionSchema>;
|
|
@@ -123,40 +123,40 @@ export declare const BrokerAudioClientSchema: z.ZodObject<{
|
|
|
123
123
|
* can answer "who is keeping cam X warm?" without grepping logs.
|
|
124
124
|
*/
|
|
125
125
|
export declare const BrokerConsumerKindSchema: z.ZodEnum<{
|
|
126
|
-
unknown: "unknown";
|
|
127
|
-
recording: "recording";
|
|
128
|
-
pipeline: "pipeline";
|
|
129
|
-
snapshot: "snapshot";
|
|
130
126
|
alexa: "alexa";
|
|
127
|
+
"derived-broker": "derived-broker";
|
|
131
128
|
homekit: "homekit";
|
|
129
|
+
pipeline: "pipeline";
|
|
130
|
+
recording: "recording";
|
|
131
|
+
"rtsp-listen": "rtsp-listen";
|
|
132
|
+
snapshot: "snapshot";
|
|
133
|
+
unknown: "unknown";
|
|
134
|
+
warmup: "warmup";
|
|
132
135
|
"webrtc-browser": "webrtc-browser";
|
|
133
136
|
"webrtc-mobile": "webrtc-mobile";
|
|
134
137
|
"webrtc-whep": "webrtc-whep";
|
|
135
|
-
"rtsp-listen": "rtsp-listen";
|
|
136
|
-
"derived-broker": "derived-broker";
|
|
137
|
-
warmup: "warmup";
|
|
138
138
|
}>;
|
|
139
139
|
export type BrokerConsumerKind = z.infer<typeof BrokerConsumerKindSchema>;
|
|
140
140
|
export declare const BrokerConsumerAttributionSchema: z.ZodReadonly<z.ZodObject<{
|
|
141
141
|
kind: z.ZodEnum<{
|
|
142
|
-
unknown: "unknown";
|
|
143
|
-
recording: "recording";
|
|
144
|
-
pipeline: "pipeline";
|
|
145
|
-
snapshot: "snapshot";
|
|
146
142
|
alexa: "alexa";
|
|
143
|
+
"derived-broker": "derived-broker";
|
|
147
144
|
homekit: "homekit";
|
|
145
|
+
pipeline: "pipeline";
|
|
146
|
+
recording: "recording";
|
|
147
|
+
"rtsp-listen": "rtsp-listen";
|
|
148
|
+
snapshot: "snapshot";
|
|
149
|
+
unknown: "unknown";
|
|
150
|
+
warmup: "warmup";
|
|
148
151
|
"webrtc-browser": "webrtc-browser";
|
|
149
152
|
"webrtc-mobile": "webrtc-mobile";
|
|
150
153
|
"webrtc-whep": "webrtc-whep";
|
|
151
|
-
"rtsp-listen": "rtsp-listen";
|
|
152
|
-
"derived-broker": "derived-broker";
|
|
153
|
-
warmup: "warmup";
|
|
154
154
|
}>;
|
|
155
155
|
label: z.ZodOptional<z.ZodString>;
|
|
156
156
|
media: z.ZodOptional<z.ZodEnum<{
|
|
157
157
|
audio: "audio";
|
|
158
|
-
video: "video";
|
|
159
158
|
both: "both";
|
|
159
|
+
video: "video";
|
|
160
160
|
}>>;
|
|
161
161
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
162
162
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
@@ -179,24 +179,24 @@ export declare const BrokerEncodedClientSchema: z.ZodObject<{
|
|
|
179
179
|
}>;
|
|
180
180
|
attribution: z.ZodReadonly<z.ZodObject<{
|
|
181
181
|
kind: z.ZodEnum<{
|
|
182
|
-
unknown: "unknown";
|
|
183
|
-
recording: "recording";
|
|
184
|
-
pipeline: "pipeline";
|
|
185
|
-
snapshot: "snapshot";
|
|
186
182
|
alexa: "alexa";
|
|
183
|
+
"derived-broker": "derived-broker";
|
|
187
184
|
homekit: "homekit";
|
|
185
|
+
pipeline: "pipeline";
|
|
186
|
+
recording: "recording";
|
|
187
|
+
"rtsp-listen": "rtsp-listen";
|
|
188
|
+
snapshot: "snapshot";
|
|
189
|
+
unknown: "unknown";
|
|
190
|
+
warmup: "warmup";
|
|
188
191
|
"webrtc-browser": "webrtc-browser";
|
|
189
192
|
"webrtc-mobile": "webrtc-mobile";
|
|
190
193
|
"webrtc-whep": "webrtc-whep";
|
|
191
|
-
"rtsp-listen": "rtsp-listen";
|
|
192
|
-
"derived-broker": "derived-broker";
|
|
193
|
-
warmup: "warmup";
|
|
194
194
|
}>;
|
|
195
195
|
label: z.ZodOptional<z.ZodString>;
|
|
196
196
|
media: z.ZodOptional<z.ZodEnum<{
|
|
197
197
|
audio: "audio";
|
|
198
|
-
video: "video";
|
|
199
198
|
both: "both";
|
|
199
|
+
video: "video";
|
|
200
200
|
}>>;
|
|
201
201
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
202
202
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
@@ -238,24 +238,24 @@ export declare const BrokerClientsSchema: z.ZodObject<{
|
|
|
238
238
|
}>;
|
|
239
239
|
attribution: z.ZodReadonly<z.ZodObject<{
|
|
240
240
|
kind: z.ZodEnum<{
|
|
241
|
-
unknown: "unknown";
|
|
242
|
-
recording: "recording";
|
|
243
|
-
pipeline: "pipeline";
|
|
244
|
-
snapshot: "snapshot";
|
|
245
241
|
alexa: "alexa";
|
|
242
|
+
"derived-broker": "derived-broker";
|
|
246
243
|
homekit: "homekit";
|
|
244
|
+
pipeline: "pipeline";
|
|
245
|
+
recording: "recording";
|
|
246
|
+
"rtsp-listen": "rtsp-listen";
|
|
247
|
+
snapshot: "snapshot";
|
|
248
|
+
unknown: "unknown";
|
|
249
|
+
warmup: "warmup";
|
|
247
250
|
"webrtc-browser": "webrtc-browser";
|
|
248
251
|
"webrtc-mobile": "webrtc-mobile";
|
|
249
252
|
"webrtc-whep": "webrtc-whep";
|
|
250
|
-
"rtsp-listen": "rtsp-listen";
|
|
251
|
-
"derived-broker": "derived-broker";
|
|
252
|
-
warmup: "warmup";
|
|
253
253
|
}>;
|
|
254
254
|
label: z.ZodOptional<z.ZodString>;
|
|
255
255
|
media: z.ZodOptional<z.ZodEnum<{
|
|
256
256
|
audio: "audio";
|
|
257
|
-
video: "video";
|
|
258
257
|
both: "both";
|
|
258
|
+
video: "video";
|
|
259
259
|
}>>;
|
|
260
260
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
261
261
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
@@ -279,45 +279,45 @@ export type BrokerRtspClient = z.infer<typeof BrokerRtspClientSchema>;
|
|
|
279
279
|
export type BrokerAudioClient = z.infer<typeof BrokerAudioClientSchema>;
|
|
280
280
|
export type BrokerClients = z.infer<typeof BrokerClientsSchema>;
|
|
281
281
|
export declare const PlaceholderReasonSchema: z.ZodEnum<{
|
|
282
|
-
offline: "offline";
|
|
283
282
|
disabled: "disabled";
|
|
284
|
-
|
|
283
|
+
offline: "offline";
|
|
285
284
|
reconnecting: "reconnecting";
|
|
285
|
+
sleeping: "sleeping";
|
|
286
286
|
waking: "waking";
|
|
287
287
|
}>;
|
|
288
288
|
export type PlaceholderReason = z.infer<typeof PlaceholderReasonSchema>;
|
|
289
289
|
declare const VideoCodecTargetSchema: z.ZodEnum<{
|
|
290
|
+
copy: "copy";
|
|
290
291
|
h264: "h264";
|
|
291
292
|
h265: "h265";
|
|
292
|
-
copy: "copy";
|
|
293
293
|
}>;
|
|
294
294
|
export type VideoCodecTarget = z.infer<typeof VideoCodecTargetSchema>;
|
|
295
295
|
declare const AudioCodecTargetSchema: z.ZodEnum<{
|
|
296
|
-
|
|
297
|
-
pcmu: "pcmu";
|
|
296
|
+
aac: "aac";
|
|
298
297
|
copy: "copy";
|
|
298
|
+
none: "none";
|
|
299
299
|
opus: "opus";
|
|
300
|
-
|
|
300
|
+
pcmu: "pcmu";
|
|
301
301
|
}>;
|
|
302
302
|
export type AudioCodecTarget = z.infer<typeof AudioCodecTargetSchema>;
|
|
303
303
|
export declare const GetStreamWithCodecInputSchema: z.ZodObject<{
|
|
304
304
|
deviceId: z.ZodNumber;
|
|
305
305
|
video: z.ZodEnum<{
|
|
306
|
+
copy: "copy";
|
|
306
307
|
h264: "h264";
|
|
307
308
|
h265: "h265";
|
|
308
|
-
copy: "copy";
|
|
309
309
|
}>;
|
|
310
310
|
audio: z.ZodOptional<z.ZodEnum<{
|
|
311
|
-
|
|
312
|
-
pcmu: "pcmu";
|
|
311
|
+
aac: "aac";
|
|
313
312
|
copy: "copy";
|
|
313
|
+
none: "none";
|
|
314
314
|
opus: "opus";
|
|
315
|
-
|
|
315
|
+
pcmu: "pcmu";
|
|
316
316
|
}>>;
|
|
317
317
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
318
318
|
high: "high";
|
|
319
|
-
mid: "mid";
|
|
320
319
|
low: "low";
|
|
320
|
+
mid: "mid";
|
|
321
321
|
}>>;
|
|
322
322
|
targetResolution: z.ZodOptional<z.ZodObject<{
|
|
323
323
|
width: z.ZodNumber;
|
|
@@ -362,27 +362,15 @@ export type RtpSource = z.infer<typeof RtpSourceSchema>;
|
|
|
362
362
|
* different purpose (reshaping a badly-behaved SOURCE), and it is unchanged.
|
|
363
363
|
*/
|
|
364
364
|
export declare const EgressEncodeSchema: z.ZodObject<{
|
|
365
|
-
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
366
|
-
codec: z.ZodEnum<{
|
|
367
|
-
pcmu: "pcmu";
|
|
368
|
-
pcma: "pcma";
|
|
369
|
-
copy: "copy";
|
|
370
|
-
opus: "opus";
|
|
371
|
-
aac: "aac";
|
|
372
|
-
}>;
|
|
373
|
-
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
374
|
-
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
375
|
-
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
376
|
-
}, z.core.$strip>]>;
|
|
377
365
|
video: z.ZodObject<{
|
|
378
366
|
codec: z.ZodEnum<{
|
|
367
|
+
copy: "copy";
|
|
379
368
|
h264: "h264";
|
|
380
369
|
h265: "h265";
|
|
381
|
-
copy: "copy";
|
|
382
370
|
}>;
|
|
383
371
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
384
|
-
high: "high";
|
|
385
372
|
baseline: "baseline";
|
|
373
|
+
high: "high";
|
|
386
374
|
main: "main";
|
|
387
375
|
}>>;
|
|
388
376
|
level: z.ZodOptional<z.ZodString>;
|
|
@@ -393,20 +381,32 @@ export declare const EgressEncodeSchema: z.ZodObject<{
|
|
|
393
381
|
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
394
382
|
bf: z.ZodOptional<z.ZodNumber>;
|
|
395
383
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
396
|
-
ultrafast: "ultrafast";
|
|
397
|
-
superfast: "superfast";
|
|
398
|
-
veryfast: "veryfast";
|
|
399
|
-
faster: "faster";
|
|
400
384
|
fast: "fast";
|
|
385
|
+
faster: "faster";
|
|
401
386
|
medium: "medium";
|
|
387
|
+
superfast: "superfast";
|
|
388
|
+
ultrafast: "ultrafast";
|
|
389
|
+
veryfast: "veryfast";
|
|
402
390
|
}>>;
|
|
403
391
|
tune: z.ZodOptional<z.ZodEnum<{
|
|
404
|
-
zerolatency: "zerolatency";
|
|
405
|
-
film: "film";
|
|
406
392
|
animation: "animation";
|
|
393
|
+
film: "film";
|
|
394
|
+
zerolatency: "zerolatency";
|
|
407
395
|
}>>;
|
|
408
396
|
singleSlicePerFrame: z.ZodOptional<z.ZodBoolean>;
|
|
409
397
|
}, z.core.$strip>;
|
|
398
|
+
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
399
|
+
codec: z.ZodEnum<{
|
|
400
|
+
aac: "aac";
|
|
401
|
+
copy: "copy";
|
|
402
|
+
opus: "opus";
|
|
403
|
+
pcma: "pcma";
|
|
404
|
+
pcmu: "pcmu";
|
|
405
|
+
}>;
|
|
406
|
+
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
407
|
+
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
409
|
+
}, z.core.$strip>]>;
|
|
410
410
|
}, z.core.$strip>;
|
|
411
411
|
export type EgressEncode = z.infer<typeof EgressEncodeSchema>;
|
|
412
412
|
/**
|
|
@@ -416,8 +416,8 @@ export type EgressEncode = z.infer<typeof EgressEncodeSchema>;
|
|
|
416
416
|
* an Echo). Named rather than numeric so the INTENT survives.
|
|
417
417
|
*/
|
|
418
418
|
export declare const EgressRateControlSchema: z.ZodEnum<{
|
|
419
|
-
tight: "tight";
|
|
420
419
|
relaxed: "relaxed";
|
|
420
|
+
tight: "tight";
|
|
421
421
|
}>;
|
|
422
422
|
export type EgressRateControl = z.infer<typeof EgressRateControlSchema>;
|
|
423
423
|
export declare const EgressTranscodeRequestSchema: z.ZodObject<{
|
|
@@ -426,35 +426,23 @@ export declare const EgressTranscodeRequestSchema: z.ZodObject<{
|
|
|
426
426
|
kind: z.ZodLiteral<"profile">;
|
|
427
427
|
profile: z.ZodEnum<{
|
|
428
428
|
high: "high";
|
|
429
|
-
mid: "mid";
|
|
430
429
|
low: "low";
|
|
430
|
+
mid: "mid";
|
|
431
431
|
}>;
|
|
432
432
|
}, z.core.$strip>, z.ZodObject<{
|
|
433
433
|
kind: z.ZodLiteral<"cam-stream">;
|
|
434
434
|
camStreamId: z.ZodString;
|
|
435
435
|
}, z.core.$strip>], "kind">;
|
|
436
436
|
encode: z.ZodObject<{
|
|
437
|
-
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
438
|
-
codec: z.ZodEnum<{
|
|
439
|
-
pcmu: "pcmu";
|
|
440
|
-
pcma: "pcma";
|
|
441
|
-
copy: "copy";
|
|
442
|
-
opus: "opus";
|
|
443
|
-
aac: "aac";
|
|
444
|
-
}>;
|
|
445
|
-
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
446
|
-
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
447
|
-
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
448
|
-
}, z.core.$strip>]>;
|
|
449
437
|
video: z.ZodObject<{
|
|
450
438
|
codec: z.ZodEnum<{
|
|
439
|
+
copy: "copy";
|
|
451
440
|
h264: "h264";
|
|
452
441
|
h265: "h265";
|
|
453
|
-
copy: "copy";
|
|
454
442
|
}>;
|
|
455
443
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
456
|
-
high: "high";
|
|
457
444
|
baseline: "baseline";
|
|
445
|
+
high: "high";
|
|
458
446
|
main: "main";
|
|
459
447
|
}>>;
|
|
460
448
|
level: z.ZodOptional<z.ZodString>;
|
|
@@ -465,24 +453,36 @@ export declare const EgressTranscodeRequestSchema: z.ZodObject<{
|
|
|
465
453
|
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
466
454
|
bf: z.ZodOptional<z.ZodNumber>;
|
|
467
455
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
468
|
-
ultrafast: "ultrafast";
|
|
469
|
-
superfast: "superfast";
|
|
470
|
-
veryfast: "veryfast";
|
|
471
|
-
faster: "faster";
|
|
472
456
|
fast: "fast";
|
|
457
|
+
faster: "faster";
|
|
473
458
|
medium: "medium";
|
|
459
|
+
superfast: "superfast";
|
|
460
|
+
ultrafast: "ultrafast";
|
|
461
|
+
veryfast: "veryfast";
|
|
474
462
|
}>>;
|
|
475
463
|
tune: z.ZodOptional<z.ZodEnum<{
|
|
476
|
-
zerolatency: "zerolatency";
|
|
477
|
-
film: "film";
|
|
478
464
|
animation: "animation";
|
|
465
|
+
film: "film";
|
|
466
|
+
zerolatency: "zerolatency";
|
|
479
467
|
}>>;
|
|
480
468
|
singleSlicePerFrame: z.ZodOptional<z.ZodBoolean>;
|
|
481
469
|
}, z.core.$strip>;
|
|
470
|
+
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
471
|
+
codec: z.ZodEnum<{
|
|
472
|
+
aac: "aac";
|
|
473
|
+
copy: "copy";
|
|
474
|
+
opus: "opus";
|
|
475
|
+
pcma: "pcma";
|
|
476
|
+
pcmu: "pcmu";
|
|
477
|
+
}>;
|
|
478
|
+
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
479
|
+
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
480
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
481
|
+
}, z.core.$strip>]>;
|
|
482
482
|
}, z.core.$strip>;
|
|
483
483
|
rateControl: z.ZodOptional<z.ZodEnum<{
|
|
484
|
-
tight: "tight";
|
|
485
484
|
relaxed: "relaxed";
|
|
485
|
+
tight: "tight";
|
|
486
486
|
}>>;
|
|
487
487
|
bitstreamFilter: z.ZodOptional<z.ZodEnum<{
|
|
488
488
|
dump_extra: "dump_extra";
|
|
@@ -491,16 +491,16 @@ export declare const EgressTranscodeRequestSchema: z.ZodObject<{
|
|
|
491
491
|
}>>;
|
|
492
492
|
publishLocally: z.ZodOptional<z.ZodBoolean>;
|
|
493
493
|
pixelFormat: z.ZodOptional<z.ZodEnum<{
|
|
494
|
-
yuv420p: "yuv420p";
|
|
495
494
|
nv12: "nv12";
|
|
495
|
+
yuv420p: "yuv420p";
|
|
496
496
|
}>>;
|
|
497
497
|
decodeHwAccel: z.ZodOptional<z.ZodEnum<{
|
|
498
|
-
none: "none";
|
|
499
|
-
cuda: "cuda";
|
|
500
498
|
auto: "auto";
|
|
501
|
-
|
|
502
|
-
|
|
499
|
+
cuda: "cuda";
|
|
500
|
+
none: "none";
|
|
503
501
|
qsv: "qsv";
|
|
502
|
+
vaapi: "vaapi";
|
|
503
|
+
videotoolbox: "videotoolbox";
|
|
504
504
|
}>>;
|
|
505
505
|
hostname: z.ZodOptional<z.ZodString>;
|
|
506
506
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -524,9 +524,9 @@ export declare const EgressTranscodeSchema: z.ZodObject<{
|
|
|
524
524
|
}, z.core.$strip>;
|
|
525
525
|
export type EgressTranscode = z.infer<typeof EgressTranscodeSchema>;
|
|
526
526
|
export declare const streamBrokerCapability: {
|
|
527
|
-
readonly name:
|
|
528
|
-
readonly scope:
|
|
529
|
-
readonly mode:
|
|
527
|
+
readonly name: 'stream-broker';
|
|
528
|
+
readonly scope: 'system';
|
|
529
|
+
readonly mode: 'singleton';
|
|
530
530
|
readonly exposesDeviceSettings: true;
|
|
531
531
|
readonly methods: {
|
|
532
532
|
/**
|
|
@@ -559,24 +559,24 @@ export declare const streamBrokerCapability: {
|
|
|
559
559
|
}, z.core.$strip>, z.ZodObject<{
|
|
560
560
|
accepted: z.ZodBoolean;
|
|
561
561
|
reason: z.ZodEnum<{
|
|
562
|
-
woke: "woke";
|
|
563
562
|
"hold-extended": "hold-extended";
|
|
564
|
-
"not-enabled": "not-enabled";
|
|
565
563
|
"no-consumer": "no-consumer";
|
|
564
|
+
"not-enabled": "not-enabled";
|
|
566
565
|
"unknown-code": "unknown-code";
|
|
566
|
+
woke: "woke";
|
|
567
567
|
}>;
|
|
568
568
|
}, z.core.$strip>, "mutation">;
|
|
569
569
|
readonly publishCameraStream: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
570
570
|
deviceId: z.ZodNumber;
|
|
571
571
|
camStreamId: z.ZodString;
|
|
572
572
|
kind: z.ZodEnum<{
|
|
573
|
-
|
|
574
|
-
"pull-rtmp": "pull-rtmp";
|
|
575
|
-
"pull-http": "pull-http";
|
|
573
|
+
derived: "derived";
|
|
576
574
|
"pull-flv": "pull-flv";
|
|
575
|
+
"pull-http": "pull-http";
|
|
577
576
|
"pull-rfc4571": "pull-rfc4571";
|
|
577
|
+
"pull-rtmp": "pull-rtmp";
|
|
578
|
+
"pull-rtsp": "pull-rtsp";
|
|
578
579
|
"push-annexb": "push-annexb";
|
|
579
|
-
derived: "derived";
|
|
580
580
|
}>;
|
|
581
581
|
url: z.ZodOptional<z.ZodString>;
|
|
582
582
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -590,21 +590,21 @@ export declare const streamBrokerCapability: {
|
|
|
590
590
|
autoEligible: z.ZodOptional<z.ZodBoolean>;
|
|
591
591
|
profileHint: z.ZodOptional<z.ZodEnum<{
|
|
592
592
|
high: "high";
|
|
593
|
-
mid: "mid";
|
|
594
593
|
low: "low";
|
|
594
|
+
mid: "mid";
|
|
595
595
|
}>>;
|
|
596
596
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
597
597
|
sourceCamStreamId: z.ZodOptional<z.ZodString>;
|
|
598
598
|
encodeProfile: z.ZodOptional<z.ZodObject<{
|
|
599
599
|
video: z.ZodObject<{
|
|
600
600
|
codec: z.ZodEnum<{
|
|
601
|
+
copy: "copy";
|
|
601
602
|
h264: "h264";
|
|
602
603
|
h265: "h265";
|
|
603
|
-
copy: "copy";
|
|
604
604
|
}>;
|
|
605
605
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
606
|
-
high: "high";
|
|
607
606
|
baseline: "baseline";
|
|
607
|
+
high: "high";
|
|
608
608
|
main: "main";
|
|
609
609
|
}>>;
|
|
610
610
|
level: z.ZodOptional<z.ZodString>;
|
|
@@ -615,27 +615,27 @@ export declare const streamBrokerCapability: {
|
|
|
615
615
|
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
616
616
|
bf: z.ZodOptional<z.ZodNumber>;
|
|
617
617
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
618
|
-
ultrafast: "ultrafast";
|
|
619
|
-
superfast: "superfast";
|
|
620
|
-
veryfast: "veryfast";
|
|
621
|
-
faster: "faster";
|
|
622
618
|
fast: "fast";
|
|
619
|
+
faster: "faster";
|
|
623
620
|
medium: "medium";
|
|
621
|
+
superfast: "superfast";
|
|
622
|
+
ultrafast: "ultrafast";
|
|
623
|
+
veryfast: "veryfast";
|
|
624
624
|
}>>;
|
|
625
625
|
tune: z.ZodOptional<z.ZodEnum<{
|
|
626
|
-
zerolatency: "zerolatency";
|
|
627
|
-
film: "film";
|
|
628
626
|
animation: "animation";
|
|
627
|
+
film: "film";
|
|
628
|
+
zerolatency: "zerolatency";
|
|
629
629
|
}>>;
|
|
630
630
|
singleSlicePerFrame: z.ZodOptional<z.ZodBoolean>;
|
|
631
631
|
}, z.core.$strip>;
|
|
632
632
|
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
633
633
|
codec: z.ZodEnum<{
|
|
634
|
-
|
|
635
|
-
pcma: "pcma";
|
|
634
|
+
aac: "aac";
|
|
636
635
|
copy: "copy";
|
|
637
636
|
opus: "opus";
|
|
638
|
-
|
|
637
|
+
pcma: "pcma";
|
|
638
|
+
pcmu: "pcmu";
|
|
639
639
|
}>;
|
|
640
640
|
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
641
641
|
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
@@ -657,8 +657,8 @@ export declare const streamBrokerCapability: {
|
|
|
657
657
|
deviceId: z.ZodNumber;
|
|
658
658
|
profile: z.ZodEnum<{
|
|
659
659
|
high: "high";
|
|
660
|
-
mid: "mid";
|
|
661
660
|
low: "low";
|
|
661
|
+
mid: "mid";
|
|
662
662
|
}>;
|
|
663
663
|
camStreamId: z.ZodString;
|
|
664
664
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -668,8 +668,8 @@ export declare const streamBrokerCapability: {
|
|
|
668
668
|
deviceId: z.ZodNumber;
|
|
669
669
|
profile: z.ZodEnum<{
|
|
670
670
|
high: "high";
|
|
671
|
-
mid: "mid";
|
|
672
671
|
low: "low";
|
|
672
|
+
mid: "mid";
|
|
673
673
|
}>;
|
|
674
674
|
}, z.core.$strip>, z.ZodObject<{
|
|
675
675
|
success: z.ZodLiteral<true>;
|
|
@@ -728,15 +728,15 @@ export declare const streamBrokerCapability: {
|
|
|
728
728
|
deviceId: z.ZodNumber;
|
|
729
729
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
730
730
|
high: "high";
|
|
731
|
-
mid: "mid";
|
|
732
731
|
low: "low";
|
|
732
|
+
mid: "mid";
|
|
733
733
|
}>>;
|
|
734
734
|
aroundMs: z.ZodNumber;
|
|
735
735
|
preRollSec: z.ZodDefault<z.ZodNumber>;
|
|
736
736
|
postRollSec: z.ZodDefault<z.ZodNumber>;
|
|
737
737
|
format: z.ZodDefault<z.ZodEnum<{
|
|
738
|
-
mp4: "mp4";
|
|
739
738
|
gif: "gif";
|
|
739
|
+
mp4: "mp4";
|
|
740
740
|
}>>;
|
|
741
741
|
maxWidth: z.ZodDefault<z.ZodNumber>;
|
|
742
742
|
fps: z.ZodDefault<z.ZodNumber>;
|
|
@@ -747,8 +747,8 @@ export declare const streamBrokerCapability: {
|
|
|
747
747
|
bytes: z.ZodNumber;
|
|
748
748
|
profile: z.ZodEnum<{
|
|
749
749
|
high: "high";
|
|
750
|
-
mid: "mid";
|
|
751
750
|
low: "low";
|
|
751
|
+
mid: "mid";
|
|
752
752
|
}>;
|
|
753
753
|
durationMs: z.ZodNumber;
|
|
754
754
|
}, z.core.$strip>, "mutation">;
|
|
@@ -777,15 +777,15 @@ export declare const streamBrokerCapability: {
|
|
|
777
777
|
deviceId: z.ZodNumber;
|
|
778
778
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
779
779
|
high: "high";
|
|
780
|
-
mid: "mid";
|
|
781
780
|
low: "low";
|
|
781
|
+
mid: "mid";
|
|
782
782
|
}>>;
|
|
783
783
|
aroundMs: z.ZodNumber;
|
|
784
784
|
preSeconds: z.ZodDefault<z.ZodNumber>;
|
|
785
785
|
postSeconds: z.ZodDefault<z.ZodNumber>;
|
|
786
786
|
kinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
787
|
-
mp4: "mp4";
|
|
788
787
|
gif: "gif";
|
|
788
|
+
mp4: "mp4";
|
|
789
789
|
}>>>;
|
|
790
790
|
gifMaxWidth: z.ZodDefault<z.ZodNumber>;
|
|
791
791
|
gifFps: z.ZodDefault<z.ZodNumber>;
|
|
@@ -794,8 +794,8 @@ export declare const streamBrokerCapability: {
|
|
|
794
794
|
}, z.core.$strip>, z.ZodObject<{
|
|
795
795
|
media: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
796
796
|
kind: z.ZodEnum<{
|
|
797
|
-
mp4: "mp4";
|
|
798
797
|
gif: "gif";
|
|
798
|
+
mp4: "mp4";
|
|
799
799
|
}>;
|
|
800
800
|
handle: z.ZodString;
|
|
801
801
|
nodeId: z.ZodString;
|
|
@@ -811,12 +811,12 @@ export declare const streamBrokerCapability: {
|
|
|
811
811
|
}, z.core.$strip>;
|
|
812
812
|
profile: z.ZodEnum<{
|
|
813
813
|
high: "high";
|
|
814
|
-
mid: "mid";
|
|
815
814
|
low: "low";
|
|
815
|
+
mid: "mid";
|
|
816
816
|
}>;
|
|
817
817
|
video: z.ZodEnum<{
|
|
818
|
-
encode: "encode";
|
|
819
818
|
copy: "copy";
|
|
819
|
+
encode: "encode";
|
|
820
820
|
}>;
|
|
821
821
|
}, z.core.$strip>, "mutation">;
|
|
822
822
|
/**
|
|
@@ -839,13 +839,13 @@ export declare const streamBrokerCapability: {
|
|
|
839
839
|
camStreamId: z.ZodString;
|
|
840
840
|
deviceId: z.ZodNumber;
|
|
841
841
|
kind: z.ZodEnum<{
|
|
842
|
-
|
|
843
|
-
"pull-rtmp": "pull-rtmp";
|
|
844
|
-
"pull-http": "pull-http";
|
|
842
|
+
derived: "derived";
|
|
845
843
|
"pull-flv": "pull-flv";
|
|
844
|
+
"pull-http": "pull-http";
|
|
846
845
|
"pull-rfc4571": "pull-rfc4571";
|
|
846
|
+
"pull-rtmp": "pull-rtmp";
|
|
847
|
+
"pull-rtsp": "pull-rtsp";
|
|
847
848
|
"push-annexb": "push-annexb";
|
|
848
|
-
derived: "derived";
|
|
849
849
|
}>;
|
|
850
850
|
url: z.ZodOptional<z.ZodString>;
|
|
851
851
|
codec: z.ZodOptional<z.ZodString>;
|
|
@@ -859,8 +859,8 @@ export declare const streamBrokerCapability: {
|
|
|
859
859
|
autoEligible: z.ZodOptional<z.ZodBoolean>;
|
|
860
860
|
profileHint: z.ZodOptional<z.ZodEnum<{
|
|
861
861
|
high: "high";
|
|
862
|
-
mid: "mid";
|
|
863
862
|
low: "low";
|
|
863
|
+
mid: "mid";
|
|
864
864
|
}>>;
|
|
865
865
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
866
866
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -868,17 +868,17 @@ export declare const streamBrokerCapability: {
|
|
|
868
868
|
deviceId: z.ZodNumber;
|
|
869
869
|
profile: z.ZodEnum<{
|
|
870
870
|
high: "high";
|
|
871
|
-
mid: "mid";
|
|
872
871
|
low: "low";
|
|
872
|
+
mid: "mid";
|
|
873
873
|
}>;
|
|
874
874
|
brokerId: z.ZodString;
|
|
875
875
|
sourceCamStreamId: z.ZodNullable<z.ZodString>;
|
|
876
876
|
status: z.ZodEnum<{
|
|
877
|
+
connecting: "connecting";
|
|
877
878
|
error: "error";
|
|
878
879
|
idle: "idle";
|
|
879
|
-
unassigned: "unassigned";
|
|
880
|
-
connecting: "connecting";
|
|
881
880
|
streaming: "streaming";
|
|
881
|
+
unassigned: "unassigned";
|
|
882
882
|
}>;
|
|
883
883
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
884
884
|
width: z.ZodNumber;
|
|
@@ -892,11 +892,11 @@ export declare const streamBrokerCapability: {
|
|
|
892
892
|
brokerId: z.ZodString;
|
|
893
893
|
}, z.core.$strip>, z.ZodObject<{
|
|
894
894
|
status: z.ZodEnum<{
|
|
895
|
+
connecting: "connecting";
|
|
895
896
|
error: "error";
|
|
896
897
|
idle: "idle";
|
|
897
|
-
connecting: "connecting";
|
|
898
|
-
streaming: "streaming";
|
|
899
898
|
stopped: "stopped";
|
|
899
|
+
streaming: "streaming";
|
|
900
900
|
}>;
|
|
901
901
|
inputFps: z.ZodNumber;
|
|
902
902
|
encodedSubscribers: z.ZodNumber;
|
|
@@ -960,24 +960,24 @@ export declare const streamBrokerCapability: {
|
|
|
960
960
|
}>;
|
|
961
961
|
attribution: z.ZodReadonly<z.ZodObject<{
|
|
962
962
|
kind: z.ZodEnum<{
|
|
963
|
-
unknown: "unknown";
|
|
964
|
-
recording: "recording";
|
|
965
|
-
pipeline: "pipeline";
|
|
966
|
-
snapshot: "snapshot";
|
|
967
963
|
alexa: "alexa";
|
|
964
|
+
"derived-broker": "derived-broker";
|
|
968
965
|
homekit: "homekit";
|
|
966
|
+
pipeline: "pipeline";
|
|
967
|
+
recording: "recording";
|
|
968
|
+
"rtsp-listen": "rtsp-listen";
|
|
969
|
+
snapshot: "snapshot";
|
|
970
|
+
unknown: "unknown";
|
|
971
|
+
warmup: "warmup";
|
|
969
972
|
"webrtc-browser": "webrtc-browser";
|
|
970
973
|
"webrtc-mobile": "webrtc-mobile";
|
|
971
974
|
"webrtc-whep": "webrtc-whep";
|
|
972
|
-
"rtsp-listen": "rtsp-listen";
|
|
973
|
-
"derived-broker": "derived-broker";
|
|
974
|
-
warmup: "warmup";
|
|
975
975
|
}>;
|
|
976
976
|
label: z.ZodOptional<z.ZodString>;
|
|
977
977
|
media: z.ZodOptional<z.ZodEnum<{
|
|
978
978
|
audio: "audio";
|
|
979
|
-
video: "video";
|
|
980
979
|
both: "both";
|
|
980
|
+
video: "video";
|
|
981
981
|
}>>;
|
|
982
982
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
983
983
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1011,8 +1011,8 @@ export declare const streamBrokerCapability: {
|
|
|
1011
1011
|
deviceId: z.ZodNumber;
|
|
1012
1012
|
profile: z.ZodEnum<{
|
|
1013
1013
|
high: "high";
|
|
1014
|
-
mid: "mid";
|
|
1015
1014
|
low: "low";
|
|
1015
|
+
mid: "mid";
|
|
1016
1016
|
}>;
|
|
1017
1017
|
}, z.core.$strip>, z.ZodObject<{
|
|
1018
1018
|
success: z.ZodBoolean;
|
|
@@ -1026,10 +1026,10 @@ export declare const streamBrokerCapability: {
|
|
|
1026
1026
|
readonly getStreamUrl: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1027
1027
|
streamId: z.ZodString;
|
|
1028
1028
|
format: z.ZodEnum<{
|
|
1029
|
-
rtsp: "rtsp";
|
|
1030
|
-
webrtc: "webrtc";
|
|
1031
1029
|
hls: "hls";
|
|
1032
1030
|
mjpeg: "mjpeg";
|
|
1031
|
+
rtsp: "rtsp";
|
|
1032
|
+
webrtc: "webrtc";
|
|
1033
1033
|
}>;
|
|
1034
1034
|
}, z.core.$strip>, z.ZodObject<{
|
|
1035
1035
|
url: z.ZodString;
|
|
@@ -1044,21 +1044,21 @@ export declare const streamBrokerCapability: {
|
|
|
1044
1044
|
readonly getStreamWithCodec: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1045
1045
|
deviceId: z.ZodNumber;
|
|
1046
1046
|
video: z.ZodEnum<{
|
|
1047
|
+
copy: "copy";
|
|
1047
1048
|
h264: "h264";
|
|
1048
1049
|
h265: "h265";
|
|
1049
|
-
copy: "copy";
|
|
1050
1050
|
}>;
|
|
1051
1051
|
audio: z.ZodOptional<z.ZodEnum<{
|
|
1052
|
-
|
|
1053
|
-
pcmu: "pcmu";
|
|
1052
|
+
aac: "aac";
|
|
1054
1053
|
copy: "copy";
|
|
1054
|
+
none: "none";
|
|
1055
1055
|
opus: "opus";
|
|
1056
|
-
|
|
1056
|
+
pcmu: "pcmu";
|
|
1057
1057
|
}>>;
|
|
1058
1058
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
1059
1059
|
high: "high";
|
|
1060
|
-
mid: "mid";
|
|
1061
1060
|
low: "low";
|
|
1061
|
+
mid: "mid";
|
|
1062
1062
|
}>>;
|
|
1063
1063
|
targetResolution: z.ZodOptional<z.ZodObject<{
|
|
1064
1064
|
width: z.ZodNumber;
|
|
@@ -1118,35 +1118,23 @@ export declare const streamBrokerCapability: {
|
|
|
1118
1118
|
kind: z.ZodLiteral<"profile">;
|
|
1119
1119
|
profile: z.ZodEnum<{
|
|
1120
1120
|
high: "high";
|
|
1121
|
-
mid: "mid";
|
|
1122
1121
|
low: "low";
|
|
1122
|
+
mid: "mid";
|
|
1123
1123
|
}>;
|
|
1124
1124
|
}, z.core.$strip>, z.ZodObject<{
|
|
1125
1125
|
kind: z.ZodLiteral<"cam-stream">;
|
|
1126
1126
|
camStreamId: z.ZodString;
|
|
1127
1127
|
}, z.core.$strip>], "kind">;
|
|
1128
1128
|
encode: z.ZodObject<{
|
|
1129
|
-
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
1130
|
-
codec: z.ZodEnum<{
|
|
1131
|
-
pcmu: "pcmu";
|
|
1132
|
-
pcma: "pcma";
|
|
1133
|
-
copy: "copy";
|
|
1134
|
-
opus: "opus";
|
|
1135
|
-
aac: "aac";
|
|
1136
|
-
}>;
|
|
1137
|
-
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
1138
|
-
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
1139
|
-
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
1140
|
-
}, z.core.$strip>]>;
|
|
1141
1129
|
video: z.ZodObject<{
|
|
1142
1130
|
codec: z.ZodEnum<{
|
|
1131
|
+
copy: "copy";
|
|
1143
1132
|
h264: "h264";
|
|
1144
1133
|
h265: "h265";
|
|
1145
|
-
copy: "copy";
|
|
1146
1134
|
}>;
|
|
1147
1135
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
1148
|
-
high: "high";
|
|
1149
1136
|
baseline: "baseline";
|
|
1137
|
+
high: "high";
|
|
1150
1138
|
main: "main";
|
|
1151
1139
|
}>>;
|
|
1152
1140
|
level: z.ZodOptional<z.ZodString>;
|
|
@@ -1157,24 +1145,36 @@ export declare const streamBrokerCapability: {
|
|
|
1157
1145
|
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
1158
1146
|
bf: z.ZodOptional<z.ZodNumber>;
|
|
1159
1147
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
1160
|
-
ultrafast: "ultrafast";
|
|
1161
|
-
superfast: "superfast";
|
|
1162
|
-
veryfast: "veryfast";
|
|
1163
|
-
faster: "faster";
|
|
1164
1148
|
fast: "fast";
|
|
1149
|
+
faster: "faster";
|
|
1165
1150
|
medium: "medium";
|
|
1151
|
+
superfast: "superfast";
|
|
1152
|
+
ultrafast: "ultrafast";
|
|
1153
|
+
veryfast: "veryfast";
|
|
1166
1154
|
}>>;
|
|
1167
1155
|
tune: z.ZodOptional<z.ZodEnum<{
|
|
1168
|
-
zerolatency: "zerolatency";
|
|
1169
|
-
film: "film";
|
|
1170
1156
|
animation: "animation";
|
|
1157
|
+
film: "film";
|
|
1158
|
+
zerolatency: "zerolatency";
|
|
1171
1159
|
}>>;
|
|
1172
1160
|
singleSlicePerFrame: z.ZodOptional<z.ZodBoolean>;
|
|
1173
1161
|
}, z.core.$strip>;
|
|
1162
|
+
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
1163
|
+
codec: z.ZodEnum<{
|
|
1164
|
+
aac: "aac";
|
|
1165
|
+
copy: "copy";
|
|
1166
|
+
opus: "opus";
|
|
1167
|
+
pcma: "pcma";
|
|
1168
|
+
pcmu: "pcmu";
|
|
1169
|
+
}>;
|
|
1170
|
+
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
1171
|
+
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
1172
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
1173
|
+
}, z.core.$strip>]>;
|
|
1174
1174
|
}, z.core.$strip>;
|
|
1175
1175
|
rateControl: z.ZodOptional<z.ZodEnum<{
|
|
1176
|
-
tight: "tight";
|
|
1177
1176
|
relaxed: "relaxed";
|
|
1177
|
+
tight: "tight";
|
|
1178
1178
|
}>>;
|
|
1179
1179
|
bitstreamFilter: z.ZodOptional<z.ZodEnum<{
|
|
1180
1180
|
dump_extra: "dump_extra";
|
|
@@ -1183,16 +1183,16 @@ export declare const streamBrokerCapability: {
|
|
|
1183
1183
|
}>>;
|
|
1184
1184
|
publishLocally: z.ZodOptional<z.ZodBoolean>;
|
|
1185
1185
|
pixelFormat: z.ZodOptional<z.ZodEnum<{
|
|
1186
|
-
yuv420p: "yuv420p";
|
|
1187
1186
|
nv12: "nv12";
|
|
1187
|
+
yuv420p: "yuv420p";
|
|
1188
1188
|
}>>;
|
|
1189
1189
|
decodeHwAccel: z.ZodOptional<z.ZodEnum<{
|
|
1190
|
-
none: "none";
|
|
1191
|
-
cuda: "cuda";
|
|
1192
1190
|
auto: "auto";
|
|
1193
|
-
|
|
1194
|
-
|
|
1191
|
+
cuda: "cuda";
|
|
1192
|
+
none: "none";
|
|
1195
1193
|
qsv: "qsv";
|
|
1194
|
+
vaapi: "vaapi";
|
|
1195
|
+
videotoolbox: "videotoolbox";
|
|
1196
1196
|
}>>;
|
|
1197
1197
|
hostname: z.ZodOptional<z.ZodString>;
|
|
1198
1198
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -1242,8 +1242,8 @@ export declare const streamBrokerCapability: {
|
|
|
1242
1242
|
tag: z.ZodOptional<z.ZodString>;
|
|
1243
1243
|
accept: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1244
1244
|
f32le: "f32le";
|
|
1245
|
-
pcmu: "pcmu";
|
|
1246
1245
|
pcma: "pcma";
|
|
1246
|
+
pcmu: "pcmu";
|
|
1247
1247
|
}>>>>;
|
|
1248
1248
|
}, z.core.$strip>, z.ZodObject<{
|
|
1249
1249
|
subscriptionId: z.ZodString;
|
|
@@ -1258,8 +1258,8 @@ export declare const streamBrokerCapability: {
|
|
|
1258
1258
|
timestamp: z.ZodNumber;
|
|
1259
1259
|
format: z.ZodOptional<z.ZodEnum<{
|
|
1260
1260
|
f32le: "f32le";
|
|
1261
|
-
pcmu: "pcmu";
|
|
1262
1261
|
pcma: "pcma";
|
|
1262
|
+
pcmu: "pcmu";
|
|
1263
1263
|
}>>;
|
|
1264
1264
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1265
1265
|
readonly unsubscribeAudioChunks: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -1363,8 +1363,8 @@ export declare const streamBrokerCapability: {
|
|
|
1363
1363
|
camStreamId: z.ZodString;
|
|
1364
1364
|
profile: z.ZodEnum<{
|
|
1365
1365
|
high: "high";
|
|
1366
|
-
mid: "mid";
|
|
1367
1366
|
low: "low";
|
|
1367
|
+
mid: "mid";
|
|
1368
1368
|
}>;
|
|
1369
1369
|
}, z.core.$strip>>;
|
|
1370
1370
|
readonly onCamStreamIdle: import("./capability-definition.js").CapabilityEventSchema<z.ZodObject<{
|