@ceralive/cerastream 2026.7.6 → 2026.8.1

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.
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
2
  export declare const startParamsSchema: z.ZodObject<{
3
3
  pipeline: z.ZodString;
4
4
  srt: z.ZodObject<{
@@ -16,8 +16,8 @@ export declare const startParamsSchema: z.ZodObject<{
16
16
  max_bitrate: z.ZodNumber;
17
17
  balancer: z.ZodDefault<z.ZodEnum<{
18
18
  adaptive: "adaptive";
19
- fixed: "fixed";
20
19
  aimd: "aimd";
20
+ fixed: "fixed";
21
21
  }>>;
22
22
  }, z.core.$strip>;
23
23
  input_id: z.ZodOptional<z.ZodString>;
@@ -30,8 +30,8 @@ export declare const startParamsSchema: z.ZodObject<{
30
30
  audio: z.ZodOptional<z.ZodObject<{
31
31
  mode: z.ZodOptional<z.ZodEnum<{
32
32
  default: "default";
33
- none: "none";
34
33
  device: "device";
34
+ none: "none";
35
35
  }>>;
36
36
  device: z.ZodOptional<z.ZodString>;
37
37
  codec: z.ZodOptional<z.ZodString>;
@@ -44,13 +44,13 @@ export declare const startParamsSchema: z.ZodObject<{
44
44
  }>>;
45
45
  input_mode: z.ZodOptional<z.ZodEnum<{
46
46
  audio: "audio";
47
+ camlink: "camlink";
47
48
  hdmi: "hdmi";
48
- uvc_h264: "uvc_h264";
49
- uvc_h265: "uvc_h265";
50
49
  mjpeg: "mjpeg";
51
- camlink: "camlink";
52
- test: "test";
53
50
  network: "network";
51
+ test: "test";
52
+ uvc_h264: "uvc_h264";
53
+ uvc_h265: "uvc_h265";
54
54
  }>>;
55
55
  }, z.core.$strip>;
56
56
  export type StartParams = z.infer<typeof startParamsSchema>;
@@ -59,8 +59,8 @@ export declare const startResultSchema: z.ZodObject<{
59
59
  state: z.ZodEnum<{
60
60
  idle: "idle";
61
61
  starting: "starting";
62
- streaming: "streaming";
63
62
  stopping: "stopping";
63
+ streaming: "streaming";
64
64
  }>;
65
65
  }, z.core.$strip>;
66
66
  export type StartResult = z.infer<typeof startResultSchema>;
@@ -72,8 +72,8 @@ export declare const stopResultSchema: z.ZodObject<{
72
72
  state: z.ZodEnum<{
73
73
  idle: "idle";
74
74
  starting: "starting";
75
- streaming: "streaming";
76
75
  stopping: "stopping";
76
+ streaming: "streaming";
77
77
  }>;
78
78
  }, z.core.$strip>;
79
79
  export type StopResult = z.infer<typeof stopResultSchema>;
@@ -83,8 +83,8 @@ export declare const reloadConfigParamsSchema: z.ZodObject<{
83
83
  max_bitrate: z.ZodOptional<z.ZodNumber>;
84
84
  balancer: z.ZodOptional<z.ZodEnum<{
85
85
  adaptive: "adaptive";
86
- fixed: "fixed";
87
86
  aimd: "aimd";
87
+ fixed: "fixed";
88
88
  }>>;
89
89
  }, z.core.$strip>>;
90
90
  srt: z.ZodOptional<z.ZodObject<{
@@ -96,8 +96,8 @@ export declare const reloadConfigParamsSchema: z.ZodObject<{
96
96
  meter_device: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
97
  }, z.core.$strip>>;
98
98
  preview_encode: z.ZodOptional<z.ZodEnum<{
99
- software: "software";
100
99
  hardware: "hardware";
100
+ software: "software";
101
101
  }>>;
102
102
  }, z.core.$strip>;
103
103
  export type ReloadConfigParams = z.infer<typeof reloadConfigParamsSchema>;
@@ -108,8 +108,8 @@ export declare const reloadConfigResultSchema: z.ZodObject<{
108
108
  max_bitrate: z.ZodOptional<z.ZodNumber>;
109
109
  balancer: z.ZodOptional<z.ZodEnum<{
110
110
  adaptive: "adaptive";
111
- fixed: "fixed";
112
111
  aimd: "aimd";
112
+ fixed: "fixed";
113
113
  }>>;
114
114
  }, z.core.$strip>>;
115
115
  srt: z.ZodOptional<z.ZodObject<{
@@ -121,8 +121,8 @@ export declare const reloadConfigResultSchema: z.ZodObject<{
121
121
  meter_device: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
122
  }, z.core.$strip>>;
123
123
  preview_encode: z.ZodOptional<z.ZodEnum<{
124
- software: "software";
125
124
  hardware: "hardware";
125
+ software: "software";
126
126
  }>>;
127
127
  }, z.core.$strip>;
128
128
  bitrate_control: z.ZodOptional<z.ZodEnum<{
@@ -150,39 +150,39 @@ export type SetBitrateResult = z.infer<typeof setBitrateResultSchema>;
150
150
  export declare const switchInputParamsSchema: z.ZodObject<{
151
151
  input_id: z.ZodString;
152
152
  mode: z.ZodDefault<z.ZodEnum<{
153
- manual: "manual";
154
153
  auto: "auto";
154
+ manual: "manual";
155
155
  }>>;
156
156
  }, z.core.$strip>;
157
157
  export type SwitchInputParams = z.infer<typeof switchInputParamsSchema>;
158
158
  export declare const switchInputResultSchema: z.ZodObject<{
159
159
  active_input: z.ZodString;
160
160
  mode: z.ZodEnum<{
161
- manual: "manual";
162
161
  auto: "auto";
162
+ manual: "manual";
163
163
  }>;
164
164
  }, z.core.$strip>;
165
165
  export type SwitchInputResult = z.infer<typeof switchInputResultSchema>;
166
166
  export declare const switchAudioParamsSchema: z.ZodObject<{
167
167
  audio_input_id: z.ZodString;
168
168
  mode: z.ZodOptional<z.ZodEnum<{
169
- manual: "manual";
170
169
  auto: "auto";
170
+ manual: "manual";
171
171
  }>>;
172
172
  }, z.core.$strip>;
173
173
  export type SwitchAudioParams = z.infer<typeof switchAudioParamsSchema>;
174
174
  export declare const switchAudioResultSchema: z.ZodObject<{
175
175
  active_audio_input: z.ZodString;
176
176
  mode: z.ZodEnum<{
177
- manual: "manual";
178
177
  auto: "auto";
178
+ manual: "manual";
179
179
  }>;
180
180
  }, z.core.$strip>;
181
181
  export type SwitchAudioResult = z.infer<typeof switchAudioResultSchema>;
182
182
  export declare const listDevicesParamsSchema: z.ZodOptional<z.ZodObject<{
183
183
  media_class: z.ZodOptional<z.ZodEnum<{
184
- video: "video";
185
184
  audio: "audio";
185
+ video: "video";
186
186
  }>>;
187
187
  }, z.core.$strip>>;
188
188
  export type ListDevicesParams = z.infer<typeof listDevicesParamsSchema>;
@@ -192,8 +192,8 @@ export declare const listDevicesResultSchema: z.ZodObject<{
192
192
  device_path: z.ZodString;
193
193
  display_name: z.ZodString;
194
194
  media_class: z.ZodEnum<{
195
- video: "video";
196
195
  audio: "audio";
196
+ video: "video";
197
197
  }>;
198
198
  caps: z.ZodOptional<z.ZodArray<z.ZodObject<{
199
199
  width: z.ZodOptional<z.ZodNumber>;
@@ -203,25 +203,25 @@ export declare const listDevicesResultSchema: z.ZodObject<{
203
203
  }, z.core.$strip>>>;
204
204
  kind: z.ZodOptional<z.ZodEnum<{
205
205
  audio: "audio";
206
+ camlink: "camlink";
206
207
  hdmi: "hdmi";
207
- uvc_h264: "uvc_h264";
208
- uvc_h265: "uvc_h265";
209
208
  mjpeg: "mjpeg";
210
- camlink: "camlink";
211
- test: "test";
212
209
  network: "network";
210
+ test: "test";
211
+ uvc_h264: "uvc_h264";
212
+ uvc_h265: "uvc_h265";
213
213
  }>>;
214
214
  modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
215
215
  media_type: z.ZodString;
216
216
  pipeline_kind: z.ZodEnum<{
217
217
  audio: "audio";
218
+ camlink: "camlink";
218
219
  hdmi: "hdmi";
219
- uvc_h264: "uvc_h264";
220
- uvc_h265: "uvc_h265";
221
220
  mjpeg: "mjpeg";
222
- camlink: "camlink";
223
- test: "test";
224
221
  network: "network";
222
+ test: "test";
223
+ uvc_h264: "uvc_h264";
224
+ uvc_h265: "uvc_h265";
225
225
  }>;
226
226
  caps: z.ZodArray<z.ZodObject<{
227
227
  width: z.ZodOptional<z.ZodNumber>;
@@ -233,54 +233,55 @@ export declare const listDevicesResultSchema: z.ZodObject<{
233
233
  alsa_card_id: z.ZodOptional<z.ZodString>;
234
234
  product_name: z.ZodOptional<z.ZodString>;
235
235
  transport: z.ZodOptional<z.ZodEnum<{
236
- hdmi: "hdmi";
237
- usb: "usb";
238
236
  bluetooth: "bluetooth";
237
+ hdmi: "hdmi";
239
238
  onboard: "onboard";
239
+ usb: "usb";
240
240
  }>>;
241
241
  stable_id: z.ZodOptional<z.ZodString>;
242
242
  physical_group_id: z.ZodOptional<z.ZodString>;
243
243
  hardware_serial: z.ZodOptional<z.ZodString>;
244
+ device_address: z.ZodOptional<z.ZodString>;
244
245
  }, z.core.$strip>>;
245
246
  }, z.core.$strip>;
246
247
  export type ListDevicesResult = z.infer<typeof listDevicesResultSchema>;
247
248
  export declare const eventTopicSchema: z.ZodEnum<{
248
- error: "error";
249
- device: "device";
249
+ "audio-level": "audio-level";
250
250
  bitrate: "bitrate";
251
+ "config-change": "config-change";
252
+ device: "device";
253
+ error: "error";
254
+ preview: "preview";
255
+ "srt-stats": "srt-stats";
251
256
  status: "status";
252
257
  switch: "switch";
253
- "srt-stats": "srt-stats";
254
- preview: "preview";
255
- "audio-level": "audio-level";
256
- "config-change": "config-change";
257
258
  }>;
258
259
  export type EventTopic = z.infer<typeof eventTopicSchema>;
259
260
  export declare const subscribeEventsParamsSchema: z.ZodObject<{
260
261
  topics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
261
- error: "error";
262
- device: "device";
262
+ "audio-level": "audio-level";
263
263
  bitrate: "bitrate";
264
+ "config-change": "config-change";
265
+ device: "device";
266
+ error: "error";
267
+ preview: "preview";
268
+ "srt-stats": "srt-stats";
264
269
  status: "status";
265
270
  switch: "switch";
266
- "srt-stats": "srt-stats";
267
- preview: "preview";
268
- "audio-level": "audio-level";
269
- "config-change": "config-change";
270
271
  }>>>;
271
272
  }, z.core.$strip>;
272
273
  export type SubscribeEventsParams = z.infer<typeof subscribeEventsParamsSchema>;
273
274
  export declare const subscribeEventsResultSchema: z.ZodObject<{
274
275
  subscribed: z.ZodArray<z.ZodEnum<{
275
- error: "error";
276
- device: "device";
276
+ "audio-level": "audio-level";
277
277
  bitrate: "bitrate";
278
+ "config-change": "config-change";
279
+ device: "device";
280
+ error: "error";
281
+ preview: "preview";
282
+ "srt-stats": "srt-stats";
278
283
  status: "status";
279
284
  switch: "switch";
280
- "srt-stats": "srt-stats";
281
- preview: "preview";
282
- "audio-level": "audio-level";
283
- "config-change": "config-change";
284
285
  }>>;
285
286
  }, z.core.$strip>;
286
287
  export type SubscribeEventsResult = z.infer<typeof subscribeEventsResultSchema>;
@@ -350,10 +351,10 @@ export declare const platformCapsSchema: z.ZodObject<{
350
351
  hardware_accelerated: z.ZodBoolean;
351
352
  max_resolution: z.ZodString;
352
353
  hardware_kind: z.ZodOptional<z.ZodEnum<{
353
- rk3588: "rk3588";
354
+ generic: "generic";
354
355
  jetson: "jetson";
355
356
  n100: "n100";
356
- generic: "generic";
357
+ rk3588: "rk3588";
357
358
  }>>;
358
359
  source: z.ZodOptional<z.ZodEnum<{
359
360
  detected: "detected";
@@ -374,10 +375,10 @@ export declare const getCapabilitiesResultSchema: z.ZodObject<{
374
375
  hardware_accelerated: z.ZodBoolean;
375
376
  max_resolution: z.ZodString;
376
377
  hardware_kind: z.ZodOptional<z.ZodEnum<{
377
- rk3588: "rk3588";
378
+ generic: "generic";
378
379
  jetson: "jetson";
379
380
  n100: "n100";
380
- generic: "generic";
381
+ rk3588: "rk3588";
381
382
  }>>;
382
383
  source: z.ZodOptional<z.ZodEnum<{
383
384
  detected: "detected";
@@ -430,29 +431,29 @@ export declare const changeConfigParamsSchema: z.ZodObject<{
430
431
  input_id: z.ZodOptional<z.ZodString>;
431
432
  input_mode: z.ZodOptional<z.ZodEnum<{
432
433
  audio: "audio";
434
+ camlink: "camlink";
433
435
  hdmi: "hdmi";
434
- uvc_h264: "uvc_h264";
435
- uvc_h265: "uvc_h265";
436
436
  mjpeg: "mjpeg";
437
- camlink: "camlink";
438
- test: "test";
439
437
  network: "network";
438
+ test: "test";
439
+ uvc_h264: "uvc_h264";
440
+ uvc_h265: "uvc_h265";
440
441
  }>>;
441
442
  }, z.core.$strip>;
442
443
  export type ChangeConfigParams = z.infer<typeof changeConfigParamsSchema>;
443
444
  export declare const changeConfigResultSchema: z.ZodObject<{
444
445
  attempt_id: z.ZodString;
445
446
  phase: z.ZodEnum<{
446
- applying: "applying";
447
447
  applied: "applied";
448
+ applying: "applying";
448
449
  reverted: "reverted";
449
450
  rollback_failed: "rollback_failed";
450
451
  }>;
451
452
  state: z.ZodEnum<{
452
453
  idle: "idle";
453
454
  starting: "starting";
454
- streaming: "streaming";
455
455
  stopping: "stopping";
456
+ streaming: "streaming";
456
457
  }>;
457
458
  reason: z.ZodOptional<z.ZodString>;
458
459
  }, z.core.$strip>;
@@ -464,9 +465,9 @@ export type ChangeConfigResult = z.infer<typeof changeConfigResultSchema>;
464
465
  * refuses to build a second session that would race it. Mirrors the Rust
465
466
  * `REASON_TEARDOWN_TIMEOUT`; consumers render it distinctly.
466
467
  */
467
- export declare const REASON_TEARDOWN_TIMEOUT: "teardown_timeout";
468
+ export declare const REASON_TEARDOWN_TIMEOUT: 'teardown_timeout';
468
469
  /** The eight v1 control methods (the literal JSON-RPC `method` strings). */
469
- export declare const V1_METHODS: readonly ["start", "stop", "reload-config", "set-bitrate", "switch-input", "list-devices", "subscribe-events", "preview-session"];
470
+ export declare const V1_METHODS: readonly ['start', 'stop', 'reload-config', 'set-bitrate', 'switch-input', 'list-devices', 'subscribe-events', 'preview-session'];
470
471
  export type V1Method = (typeof V1_METHODS)[number];
471
472
  /**
472
473
  * method → { params, result } Zod schema pair. `hello` is the handshake; the
@@ -503,8 +504,8 @@ export declare const requestSchemas: {
503
504
  max_bitrate: z.ZodNumber;
504
505
  balancer: z.ZodDefault<z.ZodEnum<{
505
506
  adaptive: "adaptive";
506
- fixed: "fixed";
507
507
  aimd: "aimd";
508
+ fixed: "fixed";
508
509
  }>>;
509
510
  }, z.core.$strip>;
510
511
  input_id: z.ZodOptional<z.ZodString>;
@@ -517,8 +518,8 @@ export declare const requestSchemas: {
517
518
  audio: z.ZodOptional<z.ZodObject<{
518
519
  mode: z.ZodOptional<z.ZodEnum<{
519
520
  default: "default";
520
- none: "none";
521
521
  device: "device";
522
+ none: "none";
522
523
  }>>;
523
524
  device: z.ZodOptional<z.ZodString>;
524
525
  codec: z.ZodOptional<z.ZodString>;
@@ -531,13 +532,13 @@ export declare const requestSchemas: {
531
532
  }>>;
532
533
  input_mode: z.ZodOptional<z.ZodEnum<{
533
534
  audio: "audio";
535
+ camlink: "camlink";
534
536
  hdmi: "hdmi";
535
- uvc_h264: "uvc_h264";
536
- uvc_h265: "uvc_h265";
537
537
  mjpeg: "mjpeg";
538
- camlink: "camlink";
539
- test: "test";
540
538
  network: "network";
539
+ test: "test";
540
+ uvc_h264: "uvc_h264";
541
+ uvc_h265: "uvc_h265";
541
542
  }>>;
542
543
  }, z.core.$strip>;
543
544
  readonly result: z.ZodObject<{
@@ -545,8 +546,8 @@ export declare const requestSchemas: {
545
546
  state: z.ZodEnum<{
546
547
  idle: "idle";
547
548
  starting: "starting";
548
- streaming: "streaming";
549
549
  stopping: "stopping";
550
+ streaming: "streaming";
550
551
  }>;
551
552
  }, z.core.$strip>;
552
553
  };
@@ -558,20 +559,20 @@ export declare const requestSchemas: {
558
559
  state: z.ZodEnum<{
559
560
  idle: "idle";
560
561
  starting: "starting";
561
- streaming: "streaming";
562
562
  stopping: "stopping";
563
+ streaming: "streaming";
563
564
  }>;
564
565
  }, z.core.$strip>;
565
566
  };
566
- readonly "reload-config": {
567
+ readonly 'reload-config': {
567
568
  readonly params: z.ZodObject<{
568
569
  bitrate: z.ZodOptional<z.ZodObject<{
569
570
  min_bitrate: z.ZodOptional<z.ZodNumber>;
570
571
  max_bitrate: z.ZodOptional<z.ZodNumber>;
571
572
  balancer: z.ZodOptional<z.ZodEnum<{
572
573
  adaptive: "adaptive";
573
- fixed: "fixed";
574
574
  aimd: "aimd";
575
+ fixed: "fixed";
575
576
  }>>;
576
577
  }, z.core.$strip>>;
577
578
  srt: z.ZodOptional<z.ZodObject<{
@@ -583,8 +584,8 @@ export declare const requestSchemas: {
583
584
  meter_device: z.ZodOptional<z.ZodNullable<z.ZodString>>;
584
585
  }, z.core.$strip>>;
585
586
  preview_encode: z.ZodOptional<z.ZodEnum<{
586
- software: "software";
587
587
  hardware: "hardware";
588
+ software: "software";
588
589
  }>>;
589
590
  }, z.core.$strip>;
590
591
  readonly result: z.ZodObject<{
@@ -594,8 +595,8 @@ export declare const requestSchemas: {
594
595
  max_bitrate: z.ZodOptional<z.ZodNumber>;
595
596
  balancer: z.ZodOptional<z.ZodEnum<{
596
597
  adaptive: "adaptive";
597
- fixed: "fixed";
598
598
  aimd: "aimd";
599
+ fixed: "fixed";
599
600
  }>>;
600
601
  }, z.core.$strip>>;
601
602
  srt: z.ZodOptional<z.ZodObject<{
@@ -607,8 +608,8 @@ export declare const requestSchemas: {
607
608
  meter_device: z.ZodOptional<z.ZodNullable<z.ZodString>>;
608
609
  }, z.core.$strip>>;
609
610
  preview_encode: z.ZodOptional<z.ZodEnum<{
610
- software: "software";
611
611
  hardware: "hardware";
612
+ software: "software";
612
613
  }>>;
613
614
  }, z.core.$strip>;
614
615
  bitrate_control: z.ZodOptional<z.ZodEnum<{
@@ -618,7 +619,7 @@ export declare const requestSchemas: {
618
619
  reason: z.ZodOptional<z.ZodString>;
619
620
  }, z.core.$strip>;
620
621
  };
621
- readonly "set-bitrate": {
622
+ readonly 'set-bitrate': {
622
623
  readonly params: z.ZodObject<{
623
624
  max_bitrate: z.ZodNumber;
624
625
  }, z.core.$strip>;
@@ -633,27 +634,27 @@ export declare const requestSchemas: {
633
634
  reason: z.ZodOptional<z.ZodString>;
634
635
  }, z.core.$strip>;
635
636
  };
636
- readonly "switch-input": {
637
+ readonly 'switch-input': {
637
638
  readonly params: z.ZodObject<{
638
639
  input_id: z.ZodString;
639
640
  mode: z.ZodDefault<z.ZodEnum<{
640
- manual: "manual";
641
641
  auto: "auto";
642
+ manual: "manual";
642
643
  }>>;
643
644
  }, z.core.$strip>;
644
645
  readonly result: z.ZodObject<{
645
646
  active_input: z.ZodString;
646
647
  mode: z.ZodEnum<{
647
- manual: "manual";
648
648
  auto: "auto";
649
+ manual: "manual";
649
650
  }>;
650
651
  }, z.core.$strip>;
651
652
  };
652
- readonly "list-devices": {
653
+ readonly 'list-devices': {
653
654
  readonly params: z.ZodOptional<z.ZodObject<{
654
655
  media_class: z.ZodOptional<z.ZodEnum<{
655
- video: "video";
656
656
  audio: "audio";
657
+ video: "video";
657
658
  }>>;
658
659
  }, z.core.$strip>>;
659
660
  readonly result: z.ZodObject<{
@@ -662,8 +663,8 @@ export declare const requestSchemas: {
662
663
  device_path: z.ZodString;
663
664
  display_name: z.ZodString;
664
665
  media_class: z.ZodEnum<{
665
- video: "video";
666
666
  audio: "audio";
667
+ video: "video";
667
668
  }>;
668
669
  caps: z.ZodOptional<z.ZodArray<z.ZodObject<{
669
670
  width: z.ZodOptional<z.ZodNumber>;
@@ -673,25 +674,25 @@ export declare const requestSchemas: {
673
674
  }, z.core.$strip>>>;
674
675
  kind: z.ZodOptional<z.ZodEnum<{
675
676
  audio: "audio";
677
+ camlink: "camlink";
676
678
  hdmi: "hdmi";
677
- uvc_h264: "uvc_h264";
678
- uvc_h265: "uvc_h265";
679
679
  mjpeg: "mjpeg";
680
- camlink: "camlink";
681
- test: "test";
682
680
  network: "network";
681
+ test: "test";
682
+ uvc_h264: "uvc_h264";
683
+ uvc_h265: "uvc_h265";
683
684
  }>>;
684
685
  modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
686
  media_type: z.ZodString;
686
687
  pipeline_kind: z.ZodEnum<{
687
688
  audio: "audio";
689
+ camlink: "camlink";
688
690
  hdmi: "hdmi";
689
- uvc_h264: "uvc_h264";
690
- uvc_h265: "uvc_h265";
691
691
  mjpeg: "mjpeg";
692
- camlink: "camlink";
693
- test: "test";
694
692
  network: "network";
693
+ test: "test";
694
+ uvc_h264: "uvc_h264";
695
+ uvc_h265: "uvc_h265";
695
696
  }>;
696
697
  caps: z.ZodArray<z.ZodObject<{
697
698
  width: z.ZodOptional<z.ZodNumber>;
@@ -703,46 +704,47 @@ export declare const requestSchemas: {
703
704
  alsa_card_id: z.ZodOptional<z.ZodString>;
704
705
  product_name: z.ZodOptional<z.ZodString>;
705
706
  transport: z.ZodOptional<z.ZodEnum<{
706
- hdmi: "hdmi";
707
- usb: "usb";
708
707
  bluetooth: "bluetooth";
708
+ hdmi: "hdmi";
709
709
  onboard: "onboard";
710
+ usb: "usb";
710
711
  }>>;
711
712
  stable_id: z.ZodOptional<z.ZodString>;
712
713
  physical_group_id: z.ZodOptional<z.ZodString>;
713
714
  hardware_serial: z.ZodOptional<z.ZodString>;
715
+ device_address: z.ZodOptional<z.ZodString>;
714
716
  }, z.core.$strip>>;
715
717
  }, z.core.$strip>;
716
718
  };
717
- readonly "subscribe-events": {
719
+ readonly 'subscribe-events': {
718
720
  readonly params: z.ZodObject<{
719
721
  topics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
720
- error: "error";
721
- device: "device";
722
+ "audio-level": "audio-level";
722
723
  bitrate: "bitrate";
724
+ "config-change": "config-change";
725
+ device: "device";
726
+ error: "error";
727
+ preview: "preview";
728
+ "srt-stats": "srt-stats";
723
729
  status: "status";
724
730
  switch: "switch";
725
- "srt-stats": "srt-stats";
726
- preview: "preview";
727
- "audio-level": "audio-level";
728
- "config-change": "config-change";
729
731
  }>>>;
730
732
  }, z.core.$strip>;
731
733
  readonly result: z.ZodObject<{
732
734
  subscribed: z.ZodArray<z.ZodEnum<{
733
- error: "error";
734
- device: "device";
735
+ "audio-level": "audio-level";
735
736
  bitrate: "bitrate";
737
+ "config-change": "config-change";
738
+ device: "device";
739
+ error: "error";
740
+ preview: "preview";
741
+ "srt-stats": "srt-stats";
736
742
  status: "status";
737
743
  switch: "switch";
738
- "srt-stats": "srt-stats";
739
- preview: "preview";
740
- "audio-level": "audio-level";
741
- "config-change": "config-change";
742
744
  }>>;
743
745
  }, z.core.$strip>;
744
746
  };
745
- readonly "preview-session": {
747
+ readonly 'preview-session': {
746
748
  readonly params: z.ZodDiscriminatedUnion<[z.ZodObject<{
747
749
  action: z.ZodLiteral<"start">;
748
750
  tier: z.ZodEnum<{