@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.
package/dist/events.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
2
  /**
3
3
  * The engine's RESOLVED runtime encode state (0.4.0, additive), reported on the
4
4
  * `status` event as `active_encode`. Engine = reporter of record: this is the
@@ -40,8 +40,8 @@ export declare const previewEncoderRealizedSchema: z.ZodObject<{
40
40
  selected_element: z.ZodOptional<z.ZodString>;
41
41
  realized_element: z.ZodString;
42
42
  mode: z.ZodEnum<{
43
- software: "software";
44
43
  hardware: "hardware";
44
+ software: "software";
45
45
  }>;
46
46
  fallback_reason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
47
47
  code: z.ZodLiteral<"factory-missing">;
@@ -69,8 +69,8 @@ export declare const statusEventSchema: z.ZodObject<{
69
69
  state: z.ZodEnum<{
70
70
  idle: "idle";
71
71
  starting: "starting";
72
- streaming: "streaming";
73
72
  stopping: "stopping";
73
+ streaming: "streaming";
74
74
  }>;
75
75
  streaming: z.ZodBoolean;
76
76
  active_input: z.ZodOptional<z.ZodString>;
@@ -96,8 +96,8 @@ export declare const statusEventSchema: z.ZodObject<{
96
96
  selected_element: z.ZodOptional<z.ZodString>;
97
97
  realized_element: z.ZodString;
98
98
  mode: z.ZodEnum<{
99
- software: "software";
100
99
  hardware: "hardware";
100
+ software: "software";
101
101
  }>;
102
102
  fallback_reason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
103
103
  code: z.ZodLiteral<"factory-missing">;
@@ -119,13 +119,13 @@ export declare const switchEventSchema: z.ZodObject<{
119
119
  seq: z.ZodNumber;
120
120
  active_input: z.ZodString;
121
121
  mode: z.ZodEnum<{
122
- manual: "manual";
123
122
  auto: "auto";
123
+ manual: "manual";
124
124
  }>;
125
125
  reason: z.ZodOptional<z.ZodString>;
126
126
  media_class: z.ZodOptional<z.ZodEnum<{
127
- video: "video";
128
127
  audio: "audio";
128
+ video: "video";
129
129
  }>>;
130
130
  }, z.core.$strip>;
131
131
  /** Payload of a {@link switchEventSchema} event. */
@@ -143,8 +143,8 @@ export declare const deviceEventSchema: z.ZodObject<{
143
143
  device_path: z.ZodString;
144
144
  display_name: z.ZodString;
145
145
  media_class: z.ZodEnum<{
146
- video: "video";
147
146
  audio: "audio";
147
+ video: "video";
148
148
  }>;
149
149
  caps: z.ZodOptional<z.ZodArray<z.ZodObject<{
150
150
  width: z.ZodOptional<z.ZodNumber>;
@@ -154,25 +154,25 @@ export declare const deviceEventSchema: z.ZodObject<{
154
154
  }, z.core.$strip>>>;
155
155
  kind: z.ZodOptional<z.ZodEnum<{
156
156
  audio: "audio";
157
+ camlink: "camlink";
157
158
  hdmi: "hdmi";
158
- uvc_h264: "uvc_h264";
159
- uvc_h265: "uvc_h265";
160
159
  mjpeg: "mjpeg";
161
- camlink: "camlink";
162
- test: "test";
163
160
  network: "network";
161
+ test: "test";
162
+ uvc_h264: "uvc_h264";
163
+ uvc_h265: "uvc_h265";
164
164
  }>>;
165
165
  modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
166
166
  media_type: z.ZodString;
167
167
  pipeline_kind: z.ZodEnum<{
168
168
  audio: "audio";
169
+ camlink: "camlink";
169
170
  hdmi: "hdmi";
170
- uvc_h264: "uvc_h264";
171
- uvc_h265: "uvc_h265";
172
171
  mjpeg: "mjpeg";
173
- camlink: "camlink";
174
- test: "test";
175
172
  network: "network";
173
+ test: "test";
174
+ uvc_h264: "uvc_h264";
175
+ uvc_h265: "uvc_h265";
176
176
  }>;
177
177
  caps: z.ZodArray<z.ZodObject<{
178
178
  width: z.ZodOptional<z.ZodNumber>;
@@ -184,14 +184,15 @@ export declare const deviceEventSchema: z.ZodObject<{
184
184
  alsa_card_id: z.ZodOptional<z.ZodString>;
185
185
  product_name: z.ZodOptional<z.ZodString>;
186
186
  transport: z.ZodOptional<z.ZodEnum<{
187
- hdmi: "hdmi";
188
- usb: "usb";
189
187
  bluetooth: "bluetooth";
188
+ hdmi: "hdmi";
190
189
  onboard: "onboard";
190
+ usb: "usb";
191
191
  }>>;
192
192
  stable_id: z.ZodOptional<z.ZodString>;
193
193
  physical_group_id: z.ZodOptional<z.ZodString>;
194
194
  hardware_serial: z.ZodOptional<z.ZodString>;
195
+ device_address: z.ZodOptional<z.ZodString>;
195
196
  }, z.core.$strip>;
196
197
  }, z.core.$strip>;
197
198
  /** Payload of a {@link deviceEventSchema} event. */
@@ -223,18 +224,18 @@ export declare const runtimeErrorEventSchema: z.ZodObject<{
223
224
  type: z.ZodLiteral<"error">;
224
225
  seq: z.ZodNumber;
225
226
  code: z.ZodEnum<{
226
- srtla_initial_connect_failed: "srtla_initial_connect_failed";
227
- srtla_no_connections: "srtla_no_connections";
228
227
  capture_audio_error: "capture_audio_error";
228
+ capture_unrecoverable: "capture_unrecoverable";
229
229
  capture_video_error: "capture_video_error";
230
230
  pipeline_stall: "pipeline_stall";
231
231
  srt_connect_failed: "srt_connect_failed";
232
232
  srt_connection_lost: "srt_connection_lost";
233
- capture_unrecoverable: "capture_unrecoverable";
233
+ srtla_initial_connect_failed: "srtla_initial_connect_failed";
234
+ srtla_no_connections: "srtla_no_connections";
234
235
  }>;
235
236
  source: z.ZodEnum<{
236
- srtla: "srtla";
237
237
  engine: "engine";
238
+ srtla: "srtla";
238
239
  }>;
239
240
  reason: z.ZodOptional<z.ZodString>;
240
241
  selected: z.ZodOptional<z.ZodBoolean>;
@@ -266,8 +267,8 @@ export declare const audioLevelEventSchema: z.ZodObject<{
266
267
  source: z.ZodOptional<z.ZodObject<{
267
268
  identity: z.ZodOptional<z.ZodString>;
268
269
  owner: z.ZodEnum<{
269
- streaming: "streaming";
270
270
  sidecar: "sidecar";
271
+ streaming: "streaming";
271
272
  }>;
272
273
  }, z.core.$strip>>;
273
274
  channels: z.ZodOptional<z.ZodNumber>;
@@ -277,9 +278,9 @@ export declare const audioLevelEventSchema: z.ZodObject<{
277
278
  unavailable: z.ZodOptional<z.ZodLiteral<true>>;
278
279
  reason: z.ZodOptional<z.ZodEnum<{
279
280
  device_busy: "device_busy";
280
- no_device: "no_device";
281
- mode_none: "mode_none";
282
281
  handoff: "handoff";
282
+ mode_none: "mode_none";
283
+ no_device: "no_device";
283
284
  }>>;
284
285
  }, z.core.$strip>;
285
286
  /** Payload of a {@link audioLevelEventSchema} event. */
@@ -297,8 +298,8 @@ export declare const configChangeEventSchema: z.ZodObject<{
297
298
  seq: z.ZodNumber;
298
299
  attempt_id: z.ZodString;
299
300
  phase: z.ZodEnum<{
300
- applying: "applying";
301
301
  applied: "applied";
302
+ applying: "applying";
302
303
  reverted: "reverted";
303
304
  rollback_failed: "rollback_failed";
304
305
  }>;
@@ -313,8 +314,8 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
313
314
  state: z.ZodEnum<{
314
315
  idle: "idle";
315
316
  starting: "starting";
316
- streaming: "streaming";
317
317
  stopping: "stopping";
318
+ streaming: "streaming";
318
319
  }>;
319
320
  streaming: z.ZodBoolean;
320
321
  active_input: z.ZodOptional<z.ZodString>;
@@ -340,8 +341,8 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
340
341
  selected_element: z.ZodOptional<z.ZodString>;
341
342
  realized_element: z.ZodString;
342
343
  mode: z.ZodEnum<{
343
- software: "software";
344
344
  hardware: "hardware";
345
+ software: "software";
345
346
  }>;
346
347
  fallback_reason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
347
348
  code: z.ZodLiteral<"factory-missing">;
@@ -355,13 +356,13 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
355
356
  seq: z.ZodNumber;
356
357
  active_input: z.ZodString;
357
358
  mode: z.ZodEnum<{
358
- manual: "manual";
359
359
  auto: "auto";
360
+ manual: "manual";
360
361
  }>;
361
362
  reason: z.ZodOptional<z.ZodString>;
362
363
  media_class: z.ZodOptional<z.ZodEnum<{
363
- video: "video";
364
364
  audio: "audio";
365
+ video: "video";
365
366
  }>>;
366
367
  }, z.core.$strip>, z.ZodObject<{
367
368
  type: z.ZodLiteral<"device">;
@@ -375,8 +376,8 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
375
376
  device_path: z.ZodString;
376
377
  display_name: z.ZodString;
377
378
  media_class: z.ZodEnum<{
378
- video: "video";
379
379
  audio: "audio";
380
+ video: "video";
380
381
  }>;
381
382
  caps: z.ZodOptional<z.ZodArray<z.ZodObject<{
382
383
  width: z.ZodOptional<z.ZodNumber>;
@@ -386,25 +387,25 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
386
387
  }, z.core.$strip>>>;
387
388
  kind: z.ZodOptional<z.ZodEnum<{
388
389
  audio: "audio";
390
+ camlink: "camlink";
389
391
  hdmi: "hdmi";
390
- uvc_h264: "uvc_h264";
391
- uvc_h265: "uvc_h265";
392
392
  mjpeg: "mjpeg";
393
- camlink: "camlink";
394
- test: "test";
395
393
  network: "network";
394
+ test: "test";
395
+ uvc_h264: "uvc_h264";
396
+ uvc_h265: "uvc_h265";
396
397
  }>>;
397
398
  modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
398
399
  media_type: z.ZodString;
399
400
  pipeline_kind: z.ZodEnum<{
400
401
  audio: "audio";
402
+ camlink: "camlink";
401
403
  hdmi: "hdmi";
402
- uvc_h264: "uvc_h264";
403
- uvc_h265: "uvc_h265";
404
404
  mjpeg: "mjpeg";
405
- camlink: "camlink";
406
- test: "test";
407
405
  network: "network";
406
+ test: "test";
407
+ uvc_h264: "uvc_h264";
408
+ uvc_h265: "uvc_h265";
408
409
  }>;
409
410
  caps: z.ZodArray<z.ZodObject<{
410
411
  width: z.ZodOptional<z.ZodNumber>;
@@ -416,14 +417,15 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
416
417
  alsa_card_id: z.ZodOptional<z.ZodString>;
417
418
  product_name: z.ZodOptional<z.ZodString>;
418
419
  transport: z.ZodOptional<z.ZodEnum<{
419
- hdmi: "hdmi";
420
- usb: "usb";
421
420
  bluetooth: "bluetooth";
421
+ hdmi: "hdmi";
422
422
  onboard: "onboard";
423
+ usb: "usb";
423
424
  }>>;
424
425
  stable_id: z.ZodOptional<z.ZodString>;
425
426
  physical_group_id: z.ZodOptional<z.ZodString>;
426
427
  hardware_serial: z.ZodOptional<z.ZodString>;
428
+ device_address: z.ZodOptional<z.ZodString>;
427
429
  }, z.core.$strip>;
428
430
  }, z.core.$strip>, z.ZodObject<{
429
431
  type: z.ZodLiteral<"bitrate">;
@@ -440,18 +442,18 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
440
442
  type: z.ZodLiteral<"error">;
441
443
  seq: z.ZodNumber;
442
444
  code: z.ZodEnum<{
443
- srtla_initial_connect_failed: "srtla_initial_connect_failed";
444
- srtla_no_connections: "srtla_no_connections";
445
445
  capture_audio_error: "capture_audio_error";
446
+ capture_unrecoverable: "capture_unrecoverable";
446
447
  capture_video_error: "capture_video_error";
447
448
  pipeline_stall: "pipeline_stall";
448
449
  srt_connect_failed: "srt_connect_failed";
449
450
  srt_connection_lost: "srt_connection_lost";
450
- capture_unrecoverable: "capture_unrecoverable";
451
+ srtla_initial_connect_failed: "srtla_initial_connect_failed";
452
+ srtla_no_connections: "srtla_no_connections";
451
453
  }>;
452
454
  source: z.ZodEnum<{
453
- srtla: "srtla";
454
455
  engine: "engine";
456
+ srtla: "srtla";
455
457
  }>;
456
458
  reason: z.ZodOptional<z.ZodString>;
457
459
  selected: z.ZodOptional<z.ZodBoolean>;
@@ -466,8 +468,8 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
466
468
  source: z.ZodOptional<z.ZodObject<{
467
469
  identity: z.ZodOptional<z.ZodString>;
468
470
  owner: z.ZodEnum<{
469
- streaming: "streaming";
470
471
  sidecar: "sidecar";
472
+ streaming: "streaming";
471
473
  }>;
472
474
  }, z.core.$strip>>;
473
475
  channels: z.ZodOptional<z.ZodNumber>;
@@ -477,17 +479,17 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
477
479
  unavailable: z.ZodOptional<z.ZodLiteral<true>>;
478
480
  reason: z.ZodOptional<z.ZodEnum<{
479
481
  device_busy: "device_busy";
480
- no_device: "no_device";
481
- mode_none: "mode_none";
482
482
  handoff: "handoff";
483
+ mode_none: "mode_none";
484
+ no_device: "no_device";
483
485
  }>>;
484
486
  }, z.core.$strip>, z.ZodObject<{
485
487
  type: z.ZodLiteral<"config-change">;
486
488
  seq: z.ZodNumber;
487
489
  attempt_id: z.ZodString;
488
490
  phase: z.ZodEnum<{
489
- applying: "applying";
490
491
  applied: "applied";
492
+ applying: "applying";
491
493
  reverted: "reverted";
492
494
  rollback_failed: "rollback_failed";
493
495
  }>;
@@ -504,8 +506,8 @@ export declare const cerastreamEventSchema: z.ZodObject<{
504
506
  state: z.ZodEnum<{
505
507
  idle: "idle";
506
508
  starting: "starting";
507
- streaming: "streaming";
508
509
  stopping: "stopping";
510
+ streaming: "streaming";
509
511
  }>;
510
512
  streaming: z.ZodBoolean;
511
513
  active_input: z.ZodOptional<z.ZodString>;
@@ -531,8 +533,8 @@ export declare const cerastreamEventSchema: z.ZodObject<{
531
533
  selected_element: z.ZodOptional<z.ZodString>;
532
534
  realized_element: z.ZodString;
533
535
  mode: z.ZodEnum<{
534
- software: "software";
535
536
  hardware: "hardware";
537
+ software: "software";
536
538
  }>;
537
539
  fallback_reason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
538
540
  code: z.ZodLiteral<"factory-missing">;
@@ -546,13 +548,13 @@ export declare const cerastreamEventSchema: z.ZodObject<{
546
548
  seq: z.ZodNumber;
547
549
  active_input: z.ZodString;
548
550
  mode: z.ZodEnum<{
549
- manual: "manual";
550
551
  auto: "auto";
552
+ manual: "manual";
551
553
  }>;
552
554
  reason: z.ZodOptional<z.ZodString>;
553
555
  media_class: z.ZodOptional<z.ZodEnum<{
554
- video: "video";
555
556
  audio: "audio";
557
+ video: "video";
556
558
  }>>;
557
559
  }, z.core.$strip>, z.ZodObject<{
558
560
  type: z.ZodLiteral<"device">;
@@ -566,8 +568,8 @@ export declare const cerastreamEventSchema: z.ZodObject<{
566
568
  device_path: z.ZodString;
567
569
  display_name: z.ZodString;
568
570
  media_class: z.ZodEnum<{
569
- video: "video";
570
571
  audio: "audio";
572
+ video: "video";
571
573
  }>;
572
574
  caps: z.ZodOptional<z.ZodArray<z.ZodObject<{
573
575
  width: z.ZodOptional<z.ZodNumber>;
@@ -577,25 +579,25 @@ export declare const cerastreamEventSchema: z.ZodObject<{
577
579
  }, z.core.$strip>>>;
578
580
  kind: z.ZodOptional<z.ZodEnum<{
579
581
  audio: "audio";
582
+ camlink: "camlink";
580
583
  hdmi: "hdmi";
581
- uvc_h264: "uvc_h264";
582
- uvc_h265: "uvc_h265";
583
584
  mjpeg: "mjpeg";
584
- camlink: "camlink";
585
- test: "test";
586
585
  network: "network";
586
+ test: "test";
587
+ uvc_h264: "uvc_h264";
588
+ uvc_h265: "uvc_h265";
587
589
  }>>;
588
590
  modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
589
591
  media_type: z.ZodString;
590
592
  pipeline_kind: z.ZodEnum<{
591
593
  audio: "audio";
594
+ camlink: "camlink";
592
595
  hdmi: "hdmi";
593
- uvc_h264: "uvc_h264";
594
- uvc_h265: "uvc_h265";
595
596
  mjpeg: "mjpeg";
596
- camlink: "camlink";
597
- test: "test";
598
597
  network: "network";
598
+ test: "test";
599
+ uvc_h264: "uvc_h264";
600
+ uvc_h265: "uvc_h265";
599
601
  }>;
600
602
  caps: z.ZodArray<z.ZodObject<{
601
603
  width: z.ZodOptional<z.ZodNumber>;
@@ -607,14 +609,15 @@ export declare const cerastreamEventSchema: z.ZodObject<{
607
609
  alsa_card_id: z.ZodOptional<z.ZodString>;
608
610
  product_name: z.ZodOptional<z.ZodString>;
609
611
  transport: z.ZodOptional<z.ZodEnum<{
610
- hdmi: "hdmi";
611
- usb: "usb";
612
612
  bluetooth: "bluetooth";
613
+ hdmi: "hdmi";
613
614
  onboard: "onboard";
615
+ usb: "usb";
614
616
  }>>;
615
617
  stable_id: z.ZodOptional<z.ZodString>;
616
618
  physical_group_id: z.ZodOptional<z.ZodString>;
617
619
  hardware_serial: z.ZodOptional<z.ZodString>;
620
+ device_address: z.ZodOptional<z.ZodString>;
618
621
  }, z.core.$strip>;
619
622
  }, z.core.$strip>, z.ZodObject<{
620
623
  type: z.ZodLiteral<"bitrate">;
@@ -631,18 +634,18 @@ export declare const cerastreamEventSchema: z.ZodObject<{
631
634
  type: z.ZodLiteral<"error">;
632
635
  seq: z.ZodNumber;
633
636
  code: z.ZodEnum<{
634
- srtla_initial_connect_failed: "srtla_initial_connect_failed";
635
- srtla_no_connections: "srtla_no_connections";
636
637
  capture_audio_error: "capture_audio_error";
638
+ capture_unrecoverable: "capture_unrecoverable";
637
639
  capture_video_error: "capture_video_error";
638
640
  pipeline_stall: "pipeline_stall";
639
641
  srt_connect_failed: "srt_connect_failed";
640
642
  srt_connection_lost: "srt_connection_lost";
641
- capture_unrecoverable: "capture_unrecoverable";
643
+ srtla_initial_connect_failed: "srtla_initial_connect_failed";
644
+ srtla_no_connections: "srtla_no_connections";
642
645
  }>;
643
646
  source: z.ZodEnum<{
644
- srtla: "srtla";
645
647
  engine: "engine";
648
+ srtla: "srtla";
646
649
  }>;
647
650
  reason: z.ZodOptional<z.ZodString>;
648
651
  selected: z.ZodOptional<z.ZodBoolean>;
@@ -657,8 +660,8 @@ export declare const cerastreamEventSchema: z.ZodObject<{
657
660
  source: z.ZodOptional<z.ZodObject<{
658
661
  identity: z.ZodOptional<z.ZodString>;
659
662
  owner: z.ZodEnum<{
660
- streaming: "streaming";
661
663
  sidecar: "sidecar";
664
+ streaming: "streaming";
662
665
  }>;
663
666
  }, z.core.$strip>>;
664
667
  channels: z.ZodOptional<z.ZodNumber>;
@@ -668,17 +671,17 @@ export declare const cerastreamEventSchema: z.ZodObject<{
668
671
  unavailable: z.ZodOptional<z.ZodLiteral<true>>;
669
672
  reason: z.ZodOptional<z.ZodEnum<{
670
673
  device_busy: "device_busy";
671
- no_device: "no_device";
672
- mode_none: "mode_none";
673
674
  handoff: "handoff";
675
+ mode_none: "mode_none";
676
+ no_device: "no_device";
674
677
  }>>;
675
678
  }, z.core.$strip>, z.ZodObject<{
676
679
  type: z.ZodLiteral<"config-change">;
677
680
  seq: z.ZodNumber;
678
681
  attempt_id: z.ZodString;
679
682
  phase: z.ZodEnum<{
680
- applying: "applying";
681
683
  applied: "applied";
684
+ applying: "applying";
682
685
  reverted: "reverted";
683
686
  rollback_failed: "rollback_failed";
684
687
  }>;
@@ -689,7 +692,7 @@ export type CerastreamEvent = z.infer<typeof cerastreamEventSchema>;
689
692
  /** The nine event topics (schema.md "Events" table) — count-assertion source.
690
693
  * `audio-level` (Todo 21) and `config-change` (Todo 9) are additive and appended
691
694
  * last, preserving the order of every prior topic. */
692
- export declare const EVENT_TOPICS: readonly ["status", "switch", "device", "bitrate", "srt-stats", "error", "preview", "audio-level", "config-change"];
695
+ export declare const EVENT_TOPICS: readonly ['status', 'switch', 'device', 'bitrate', 'srt-stats', 'error', 'preview', 'audio-level', 'config-change'];
693
696
  export type EventTopicName = (typeof EVENT_TOPICS)[number];
694
697
  /** topic → payload Zod schema. Tests assert every topic is represented here. */
695
698
  export declare const eventSchemas: {
@@ -699,8 +702,8 @@ export declare const eventSchemas: {
699
702
  state: z.ZodEnum<{
700
703
  idle: "idle";
701
704
  starting: "starting";
702
- streaming: "streaming";
703
705
  stopping: "stopping";
706
+ streaming: "streaming";
704
707
  }>;
705
708
  streaming: z.ZodBoolean;
706
709
  active_input: z.ZodOptional<z.ZodString>;
@@ -726,8 +729,8 @@ export declare const eventSchemas: {
726
729
  selected_element: z.ZodOptional<z.ZodString>;
727
730
  realized_element: z.ZodString;
728
731
  mode: z.ZodEnum<{
729
- software: "software";
730
732
  hardware: "hardware";
733
+ software: "software";
731
734
  }>;
732
735
  fallback_reason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
733
736
  code: z.ZodLiteral<"factory-missing">;
@@ -742,13 +745,13 @@ export declare const eventSchemas: {
742
745
  seq: z.ZodNumber;
743
746
  active_input: z.ZodString;
744
747
  mode: z.ZodEnum<{
745
- manual: "manual";
746
748
  auto: "auto";
749
+ manual: "manual";
747
750
  }>;
748
751
  reason: z.ZodOptional<z.ZodString>;
749
752
  media_class: z.ZodOptional<z.ZodEnum<{
750
- video: "video";
751
753
  audio: "audio";
754
+ video: "video";
752
755
  }>>;
753
756
  }, z.core.$strip>;
754
757
  readonly device: z.ZodObject<{
@@ -763,8 +766,8 @@ export declare const eventSchemas: {
763
766
  device_path: z.ZodString;
764
767
  display_name: z.ZodString;
765
768
  media_class: z.ZodEnum<{
766
- video: "video";
767
769
  audio: "audio";
770
+ video: "video";
768
771
  }>;
769
772
  caps: z.ZodOptional<z.ZodArray<z.ZodObject<{
770
773
  width: z.ZodOptional<z.ZodNumber>;
@@ -774,25 +777,25 @@ export declare const eventSchemas: {
774
777
  }, z.core.$strip>>>;
775
778
  kind: z.ZodOptional<z.ZodEnum<{
776
779
  audio: "audio";
780
+ camlink: "camlink";
777
781
  hdmi: "hdmi";
778
- uvc_h264: "uvc_h264";
779
- uvc_h265: "uvc_h265";
780
782
  mjpeg: "mjpeg";
781
- camlink: "camlink";
782
- test: "test";
783
783
  network: "network";
784
+ test: "test";
785
+ uvc_h264: "uvc_h264";
786
+ uvc_h265: "uvc_h265";
784
787
  }>>;
785
788
  modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
786
789
  media_type: z.ZodString;
787
790
  pipeline_kind: z.ZodEnum<{
788
791
  audio: "audio";
792
+ camlink: "camlink";
789
793
  hdmi: "hdmi";
790
- uvc_h264: "uvc_h264";
791
- uvc_h265: "uvc_h265";
792
794
  mjpeg: "mjpeg";
793
- camlink: "camlink";
794
- test: "test";
795
795
  network: "network";
796
+ test: "test";
797
+ uvc_h264: "uvc_h264";
798
+ uvc_h265: "uvc_h265";
796
799
  }>;
797
800
  caps: z.ZodArray<z.ZodObject<{
798
801
  width: z.ZodOptional<z.ZodNumber>;
@@ -804,14 +807,15 @@ export declare const eventSchemas: {
804
807
  alsa_card_id: z.ZodOptional<z.ZodString>;
805
808
  product_name: z.ZodOptional<z.ZodString>;
806
809
  transport: z.ZodOptional<z.ZodEnum<{
807
- hdmi: "hdmi";
808
- usb: "usb";
809
810
  bluetooth: "bluetooth";
811
+ hdmi: "hdmi";
810
812
  onboard: "onboard";
813
+ usb: "usb";
811
814
  }>>;
812
815
  stable_id: z.ZodOptional<z.ZodString>;
813
816
  physical_group_id: z.ZodOptional<z.ZodString>;
814
817
  hardware_serial: z.ZodOptional<z.ZodString>;
818
+ device_address: z.ZodOptional<z.ZodString>;
815
819
  }, z.core.$strip>;
816
820
  }, z.core.$strip>;
817
821
  readonly bitrate: z.ZodObject<{
@@ -820,7 +824,7 @@ export declare const eventSchemas: {
820
824
  current_bitrate: z.ZodNumber;
821
825
  max_bitrate: z.ZodNumber;
822
826
  }, z.core.$strip>;
823
- readonly "srt-stats": z.ZodObject<{
827
+ readonly 'srt-stats': z.ZodObject<{
824
828
  type: z.ZodLiteral<"srt-stats">;
825
829
  seq: z.ZodNumber;
826
830
  rtt_ms: z.ZodNumber;
@@ -831,18 +835,18 @@ export declare const eventSchemas: {
831
835
  type: z.ZodLiteral<"error">;
832
836
  seq: z.ZodNumber;
833
837
  code: z.ZodEnum<{
834
- srtla_initial_connect_failed: "srtla_initial_connect_failed";
835
- srtla_no_connections: "srtla_no_connections";
836
838
  capture_audio_error: "capture_audio_error";
839
+ capture_unrecoverable: "capture_unrecoverable";
837
840
  capture_video_error: "capture_video_error";
838
841
  pipeline_stall: "pipeline_stall";
839
842
  srt_connect_failed: "srt_connect_failed";
840
843
  srt_connection_lost: "srt_connection_lost";
841
- capture_unrecoverable: "capture_unrecoverable";
844
+ srtla_initial_connect_failed: "srtla_initial_connect_failed";
845
+ srtla_no_connections: "srtla_no_connections";
842
846
  }>;
843
847
  source: z.ZodEnum<{
844
- srtla: "srtla";
845
848
  engine: "engine";
849
+ srtla: "srtla";
846
850
  }>;
847
851
  reason: z.ZodOptional<z.ZodString>;
848
852
  selected: z.ZodOptional<z.ZodBoolean>;
@@ -853,14 +857,14 @@ export declare const eventSchemas: {
853
857
  session_id: z.ZodString;
854
858
  phase: z.ZodString;
855
859
  }, z.core.$strip>;
856
- readonly "audio-level": z.ZodObject<{
860
+ readonly 'audio-level': z.ZodObject<{
857
861
  type: z.ZodLiteral<"audio-level">;
858
862
  seq: z.ZodNumber;
859
863
  source: z.ZodOptional<z.ZodObject<{
860
864
  identity: z.ZodOptional<z.ZodString>;
861
865
  owner: z.ZodEnum<{
862
- streaming: "streaming";
863
866
  sidecar: "sidecar";
867
+ streaming: "streaming";
864
868
  }>;
865
869
  }, z.core.$strip>>;
866
870
  channels: z.ZodOptional<z.ZodNumber>;
@@ -870,18 +874,18 @@ export declare const eventSchemas: {
870
874
  unavailable: z.ZodOptional<z.ZodLiteral<true>>;
871
875
  reason: z.ZodOptional<z.ZodEnum<{
872
876
  device_busy: "device_busy";
873
- no_device: "no_device";
874
- mode_none: "mode_none";
875
877
  handoff: "handoff";
878
+ mode_none: "mode_none";
879
+ no_device: "no_device";
876
880
  }>>;
877
881
  }, z.core.$strip>;
878
- readonly "config-change": z.ZodObject<{
882
+ readonly 'config-change': z.ZodObject<{
879
883
  type: z.ZodLiteral<"config-change">;
880
884
  seq: z.ZodNumber;
881
885
  attempt_id: z.ZodString;
882
886
  phase: z.ZodEnum<{
883
- applying: "applying";
884
887
  applied: "applied";
888
+ applying: "applying";
885
889
  reverted: "reverted";
886
890
  rollback_failed: "rollback_failed";
887
891
  }>;