@ceralive/cerastream 2026.7.6 → 2026.8.0

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,10 +184,10 @@ 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>;
@@ -223,18 +223,18 @@ export declare const runtimeErrorEventSchema: z.ZodObject<{
223
223
  type: z.ZodLiteral<"error">;
224
224
  seq: z.ZodNumber;
225
225
  code: z.ZodEnum<{
226
- srtla_initial_connect_failed: "srtla_initial_connect_failed";
227
- srtla_no_connections: "srtla_no_connections";
228
226
  capture_audio_error: "capture_audio_error";
227
+ capture_unrecoverable: "capture_unrecoverable";
229
228
  capture_video_error: "capture_video_error";
230
229
  pipeline_stall: "pipeline_stall";
231
230
  srt_connect_failed: "srt_connect_failed";
232
231
  srt_connection_lost: "srt_connection_lost";
233
- capture_unrecoverable: "capture_unrecoverable";
232
+ srtla_initial_connect_failed: "srtla_initial_connect_failed";
233
+ srtla_no_connections: "srtla_no_connections";
234
234
  }>;
235
235
  source: z.ZodEnum<{
236
- srtla: "srtla";
237
236
  engine: "engine";
237
+ srtla: "srtla";
238
238
  }>;
239
239
  reason: z.ZodOptional<z.ZodString>;
240
240
  selected: z.ZodOptional<z.ZodBoolean>;
@@ -266,8 +266,8 @@ export declare const audioLevelEventSchema: z.ZodObject<{
266
266
  source: z.ZodOptional<z.ZodObject<{
267
267
  identity: z.ZodOptional<z.ZodString>;
268
268
  owner: z.ZodEnum<{
269
- streaming: "streaming";
270
269
  sidecar: "sidecar";
270
+ streaming: "streaming";
271
271
  }>;
272
272
  }, z.core.$strip>>;
273
273
  channels: z.ZodOptional<z.ZodNumber>;
@@ -277,9 +277,9 @@ export declare const audioLevelEventSchema: z.ZodObject<{
277
277
  unavailable: z.ZodOptional<z.ZodLiteral<true>>;
278
278
  reason: z.ZodOptional<z.ZodEnum<{
279
279
  device_busy: "device_busy";
280
- no_device: "no_device";
281
- mode_none: "mode_none";
282
280
  handoff: "handoff";
281
+ mode_none: "mode_none";
282
+ no_device: "no_device";
283
283
  }>>;
284
284
  }, z.core.$strip>;
285
285
  /** Payload of a {@link audioLevelEventSchema} event. */
@@ -297,8 +297,8 @@ export declare const configChangeEventSchema: z.ZodObject<{
297
297
  seq: z.ZodNumber;
298
298
  attempt_id: z.ZodString;
299
299
  phase: z.ZodEnum<{
300
- applying: "applying";
301
300
  applied: "applied";
301
+ applying: "applying";
302
302
  reverted: "reverted";
303
303
  rollback_failed: "rollback_failed";
304
304
  }>;
@@ -313,8 +313,8 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
313
313
  state: z.ZodEnum<{
314
314
  idle: "idle";
315
315
  starting: "starting";
316
- streaming: "streaming";
317
316
  stopping: "stopping";
317
+ streaming: "streaming";
318
318
  }>;
319
319
  streaming: z.ZodBoolean;
320
320
  active_input: z.ZodOptional<z.ZodString>;
@@ -340,8 +340,8 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
340
340
  selected_element: z.ZodOptional<z.ZodString>;
341
341
  realized_element: z.ZodString;
342
342
  mode: z.ZodEnum<{
343
- software: "software";
344
343
  hardware: "hardware";
344
+ software: "software";
345
345
  }>;
346
346
  fallback_reason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
347
347
  code: z.ZodLiteral<"factory-missing">;
@@ -355,13 +355,13 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
355
355
  seq: z.ZodNumber;
356
356
  active_input: z.ZodString;
357
357
  mode: z.ZodEnum<{
358
- manual: "manual";
359
358
  auto: "auto";
359
+ manual: "manual";
360
360
  }>;
361
361
  reason: z.ZodOptional<z.ZodString>;
362
362
  media_class: z.ZodOptional<z.ZodEnum<{
363
- video: "video";
364
363
  audio: "audio";
364
+ video: "video";
365
365
  }>>;
366
366
  }, z.core.$strip>, z.ZodObject<{
367
367
  type: z.ZodLiteral<"device">;
@@ -375,8 +375,8 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
375
375
  device_path: z.ZodString;
376
376
  display_name: z.ZodString;
377
377
  media_class: z.ZodEnum<{
378
- video: "video";
379
378
  audio: "audio";
379
+ video: "video";
380
380
  }>;
381
381
  caps: z.ZodOptional<z.ZodArray<z.ZodObject<{
382
382
  width: z.ZodOptional<z.ZodNumber>;
@@ -386,25 +386,25 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
386
386
  }, z.core.$strip>>>;
387
387
  kind: z.ZodOptional<z.ZodEnum<{
388
388
  audio: "audio";
389
+ camlink: "camlink";
389
390
  hdmi: "hdmi";
390
- uvc_h264: "uvc_h264";
391
- uvc_h265: "uvc_h265";
392
391
  mjpeg: "mjpeg";
393
- camlink: "camlink";
394
- test: "test";
395
392
  network: "network";
393
+ test: "test";
394
+ uvc_h264: "uvc_h264";
395
+ uvc_h265: "uvc_h265";
396
396
  }>>;
397
397
  modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
398
398
  media_type: z.ZodString;
399
399
  pipeline_kind: z.ZodEnum<{
400
400
  audio: "audio";
401
+ camlink: "camlink";
401
402
  hdmi: "hdmi";
402
- uvc_h264: "uvc_h264";
403
- uvc_h265: "uvc_h265";
404
403
  mjpeg: "mjpeg";
405
- camlink: "camlink";
406
- test: "test";
407
404
  network: "network";
405
+ test: "test";
406
+ uvc_h264: "uvc_h264";
407
+ uvc_h265: "uvc_h265";
408
408
  }>;
409
409
  caps: z.ZodArray<z.ZodObject<{
410
410
  width: z.ZodOptional<z.ZodNumber>;
@@ -416,10 +416,10 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
416
416
  alsa_card_id: z.ZodOptional<z.ZodString>;
417
417
  product_name: z.ZodOptional<z.ZodString>;
418
418
  transport: z.ZodOptional<z.ZodEnum<{
419
- hdmi: "hdmi";
420
- usb: "usb";
421
419
  bluetooth: "bluetooth";
420
+ hdmi: "hdmi";
422
421
  onboard: "onboard";
422
+ usb: "usb";
423
423
  }>>;
424
424
  stable_id: z.ZodOptional<z.ZodString>;
425
425
  physical_group_id: z.ZodOptional<z.ZodString>;
@@ -440,18 +440,18 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
440
440
  type: z.ZodLiteral<"error">;
441
441
  seq: z.ZodNumber;
442
442
  code: z.ZodEnum<{
443
- srtla_initial_connect_failed: "srtla_initial_connect_failed";
444
- srtla_no_connections: "srtla_no_connections";
445
443
  capture_audio_error: "capture_audio_error";
444
+ capture_unrecoverable: "capture_unrecoverable";
446
445
  capture_video_error: "capture_video_error";
447
446
  pipeline_stall: "pipeline_stall";
448
447
  srt_connect_failed: "srt_connect_failed";
449
448
  srt_connection_lost: "srt_connection_lost";
450
- capture_unrecoverable: "capture_unrecoverable";
449
+ srtla_initial_connect_failed: "srtla_initial_connect_failed";
450
+ srtla_no_connections: "srtla_no_connections";
451
451
  }>;
452
452
  source: z.ZodEnum<{
453
- srtla: "srtla";
454
453
  engine: "engine";
454
+ srtla: "srtla";
455
455
  }>;
456
456
  reason: z.ZodOptional<z.ZodString>;
457
457
  selected: z.ZodOptional<z.ZodBoolean>;
@@ -466,8 +466,8 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
466
466
  source: z.ZodOptional<z.ZodObject<{
467
467
  identity: z.ZodOptional<z.ZodString>;
468
468
  owner: z.ZodEnum<{
469
- streaming: "streaming";
470
469
  sidecar: "sidecar";
470
+ streaming: "streaming";
471
471
  }>;
472
472
  }, z.core.$strip>>;
473
473
  channels: z.ZodOptional<z.ZodNumber>;
@@ -477,17 +477,17 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
477
477
  unavailable: z.ZodOptional<z.ZodLiteral<true>>;
478
478
  reason: z.ZodOptional<z.ZodEnum<{
479
479
  device_busy: "device_busy";
480
- no_device: "no_device";
481
- mode_none: "mode_none";
482
480
  handoff: "handoff";
481
+ mode_none: "mode_none";
482
+ no_device: "no_device";
483
483
  }>>;
484
484
  }, z.core.$strip>, z.ZodObject<{
485
485
  type: z.ZodLiteral<"config-change">;
486
486
  seq: z.ZodNumber;
487
487
  attempt_id: z.ZodString;
488
488
  phase: z.ZodEnum<{
489
- applying: "applying";
490
489
  applied: "applied";
490
+ applying: "applying";
491
491
  reverted: "reverted";
492
492
  rollback_failed: "rollback_failed";
493
493
  }>;
@@ -504,8 +504,8 @@ export declare const cerastreamEventSchema: z.ZodObject<{
504
504
  state: z.ZodEnum<{
505
505
  idle: "idle";
506
506
  starting: "starting";
507
- streaming: "streaming";
508
507
  stopping: "stopping";
508
+ streaming: "streaming";
509
509
  }>;
510
510
  streaming: z.ZodBoolean;
511
511
  active_input: z.ZodOptional<z.ZodString>;
@@ -531,8 +531,8 @@ export declare const cerastreamEventSchema: z.ZodObject<{
531
531
  selected_element: z.ZodOptional<z.ZodString>;
532
532
  realized_element: z.ZodString;
533
533
  mode: z.ZodEnum<{
534
- software: "software";
535
534
  hardware: "hardware";
535
+ software: "software";
536
536
  }>;
537
537
  fallback_reason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
538
538
  code: z.ZodLiteral<"factory-missing">;
@@ -546,13 +546,13 @@ export declare const cerastreamEventSchema: z.ZodObject<{
546
546
  seq: z.ZodNumber;
547
547
  active_input: z.ZodString;
548
548
  mode: z.ZodEnum<{
549
- manual: "manual";
550
549
  auto: "auto";
550
+ manual: "manual";
551
551
  }>;
552
552
  reason: z.ZodOptional<z.ZodString>;
553
553
  media_class: z.ZodOptional<z.ZodEnum<{
554
- video: "video";
555
554
  audio: "audio";
555
+ video: "video";
556
556
  }>>;
557
557
  }, z.core.$strip>, z.ZodObject<{
558
558
  type: z.ZodLiteral<"device">;
@@ -566,8 +566,8 @@ export declare const cerastreamEventSchema: z.ZodObject<{
566
566
  device_path: z.ZodString;
567
567
  display_name: z.ZodString;
568
568
  media_class: z.ZodEnum<{
569
- video: "video";
570
569
  audio: "audio";
570
+ video: "video";
571
571
  }>;
572
572
  caps: z.ZodOptional<z.ZodArray<z.ZodObject<{
573
573
  width: z.ZodOptional<z.ZodNumber>;
@@ -577,25 +577,25 @@ export declare const cerastreamEventSchema: z.ZodObject<{
577
577
  }, z.core.$strip>>>;
578
578
  kind: z.ZodOptional<z.ZodEnum<{
579
579
  audio: "audio";
580
+ camlink: "camlink";
580
581
  hdmi: "hdmi";
581
- uvc_h264: "uvc_h264";
582
- uvc_h265: "uvc_h265";
583
582
  mjpeg: "mjpeg";
584
- camlink: "camlink";
585
- test: "test";
586
583
  network: "network";
584
+ test: "test";
585
+ uvc_h264: "uvc_h264";
586
+ uvc_h265: "uvc_h265";
587
587
  }>>;
588
588
  modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
589
589
  media_type: z.ZodString;
590
590
  pipeline_kind: z.ZodEnum<{
591
591
  audio: "audio";
592
+ camlink: "camlink";
592
593
  hdmi: "hdmi";
593
- uvc_h264: "uvc_h264";
594
- uvc_h265: "uvc_h265";
595
594
  mjpeg: "mjpeg";
596
- camlink: "camlink";
597
- test: "test";
598
595
  network: "network";
596
+ test: "test";
597
+ uvc_h264: "uvc_h264";
598
+ uvc_h265: "uvc_h265";
599
599
  }>;
600
600
  caps: z.ZodArray<z.ZodObject<{
601
601
  width: z.ZodOptional<z.ZodNumber>;
@@ -607,10 +607,10 @@ export declare const cerastreamEventSchema: z.ZodObject<{
607
607
  alsa_card_id: z.ZodOptional<z.ZodString>;
608
608
  product_name: z.ZodOptional<z.ZodString>;
609
609
  transport: z.ZodOptional<z.ZodEnum<{
610
- hdmi: "hdmi";
611
- usb: "usb";
612
610
  bluetooth: "bluetooth";
611
+ hdmi: "hdmi";
613
612
  onboard: "onboard";
613
+ usb: "usb";
614
614
  }>>;
615
615
  stable_id: z.ZodOptional<z.ZodString>;
616
616
  physical_group_id: z.ZodOptional<z.ZodString>;
@@ -631,18 +631,18 @@ export declare const cerastreamEventSchema: z.ZodObject<{
631
631
  type: z.ZodLiteral<"error">;
632
632
  seq: z.ZodNumber;
633
633
  code: z.ZodEnum<{
634
- srtla_initial_connect_failed: "srtla_initial_connect_failed";
635
- srtla_no_connections: "srtla_no_connections";
636
634
  capture_audio_error: "capture_audio_error";
635
+ capture_unrecoverable: "capture_unrecoverable";
637
636
  capture_video_error: "capture_video_error";
638
637
  pipeline_stall: "pipeline_stall";
639
638
  srt_connect_failed: "srt_connect_failed";
640
639
  srt_connection_lost: "srt_connection_lost";
641
- capture_unrecoverable: "capture_unrecoverable";
640
+ srtla_initial_connect_failed: "srtla_initial_connect_failed";
641
+ srtla_no_connections: "srtla_no_connections";
642
642
  }>;
643
643
  source: z.ZodEnum<{
644
- srtla: "srtla";
645
644
  engine: "engine";
645
+ srtla: "srtla";
646
646
  }>;
647
647
  reason: z.ZodOptional<z.ZodString>;
648
648
  selected: z.ZodOptional<z.ZodBoolean>;
@@ -657,8 +657,8 @@ export declare const cerastreamEventSchema: z.ZodObject<{
657
657
  source: z.ZodOptional<z.ZodObject<{
658
658
  identity: z.ZodOptional<z.ZodString>;
659
659
  owner: z.ZodEnum<{
660
- streaming: "streaming";
661
660
  sidecar: "sidecar";
661
+ streaming: "streaming";
662
662
  }>;
663
663
  }, z.core.$strip>>;
664
664
  channels: z.ZodOptional<z.ZodNumber>;
@@ -668,17 +668,17 @@ export declare const cerastreamEventSchema: z.ZodObject<{
668
668
  unavailable: z.ZodOptional<z.ZodLiteral<true>>;
669
669
  reason: z.ZodOptional<z.ZodEnum<{
670
670
  device_busy: "device_busy";
671
- no_device: "no_device";
672
- mode_none: "mode_none";
673
671
  handoff: "handoff";
672
+ mode_none: "mode_none";
673
+ no_device: "no_device";
674
674
  }>>;
675
675
  }, z.core.$strip>, z.ZodObject<{
676
676
  type: z.ZodLiteral<"config-change">;
677
677
  seq: z.ZodNumber;
678
678
  attempt_id: z.ZodString;
679
679
  phase: z.ZodEnum<{
680
- applying: "applying";
681
680
  applied: "applied";
681
+ applying: "applying";
682
682
  reverted: "reverted";
683
683
  rollback_failed: "rollback_failed";
684
684
  }>;
@@ -689,7 +689,7 @@ export type CerastreamEvent = z.infer<typeof cerastreamEventSchema>;
689
689
  /** The nine event topics (schema.md "Events" table) — count-assertion source.
690
690
  * `audio-level` (Todo 21) and `config-change` (Todo 9) are additive and appended
691
691
  * 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"];
692
+ export declare const EVENT_TOPICS: readonly ['status', 'switch', 'device', 'bitrate', 'srt-stats', 'error', 'preview', 'audio-level', 'config-change'];
693
693
  export type EventTopicName = (typeof EVENT_TOPICS)[number];
694
694
  /** topic → payload Zod schema. Tests assert every topic is represented here. */
695
695
  export declare const eventSchemas: {
@@ -699,8 +699,8 @@ export declare const eventSchemas: {
699
699
  state: z.ZodEnum<{
700
700
  idle: "idle";
701
701
  starting: "starting";
702
- streaming: "streaming";
703
702
  stopping: "stopping";
703
+ streaming: "streaming";
704
704
  }>;
705
705
  streaming: z.ZodBoolean;
706
706
  active_input: z.ZodOptional<z.ZodString>;
@@ -726,8 +726,8 @@ export declare const eventSchemas: {
726
726
  selected_element: z.ZodOptional<z.ZodString>;
727
727
  realized_element: z.ZodString;
728
728
  mode: z.ZodEnum<{
729
- software: "software";
730
729
  hardware: "hardware";
730
+ software: "software";
731
731
  }>;
732
732
  fallback_reason: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
733
733
  code: z.ZodLiteral<"factory-missing">;
@@ -742,13 +742,13 @@ export declare const eventSchemas: {
742
742
  seq: z.ZodNumber;
743
743
  active_input: z.ZodString;
744
744
  mode: z.ZodEnum<{
745
- manual: "manual";
746
745
  auto: "auto";
746
+ manual: "manual";
747
747
  }>;
748
748
  reason: z.ZodOptional<z.ZodString>;
749
749
  media_class: z.ZodOptional<z.ZodEnum<{
750
- video: "video";
751
750
  audio: "audio";
751
+ video: "video";
752
752
  }>>;
753
753
  }, z.core.$strip>;
754
754
  readonly device: z.ZodObject<{
@@ -763,8 +763,8 @@ export declare const eventSchemas: {
763
763
  device_path: z.ZodString;
764
764
  display_name: z.ZodString;
765
765
  media_class: z.ZodEnum<{
766
- video: "video";
767
766
  audio: "audio";
767
+ video: "video";
768
768
  }>;
769
769
  caps: z.ZodOptional<z.ZodArray<z.ZodObject<{
770
770
  width: z.ZodOptional<z.ZodNumber>;
@@ -774,25 +774,25 @@ export declare const eventSchemas: {
774
774
  }, z.core.$strip>>>;
775
775
  kind: z.ZodOptional<z.ZodEnum<{
776
776
  audio: "audio";
777
+ camlink: "camlink";
777
778
  hdmi: "hdmi";
778
- uvc_h264: "uvc_h264";
779
- uvc_h265: "uvc_h265";
780
779
  mjpeg: "mjpeg";
781
- camlink: "camlink";
782
- test: "test";
783
780
  network: "network";
781
+ test: "test";
782
+ uvc_h264: "uvc_h264";
783
+ uvc_h265: "uvc_h265";
784
784
  }>>;
785
785
  modes: z.ZodOptional<z.ZodArray<z.ZodObject<{
786
786
  media_type: z.ZodString;
787
787
  pipeline_kind: z.ZodEnum<{
788
788
  audio: "audio";
789
+ camlink: "camlink";
789
790
  hdmi: "hdmi";
790
- uvc_h264: "uvc_h264";
791
- uvc_h265: "uvc_h265";
792
791
  mjpeg: "mjpeg";
793
- camlink: "camlink";
794
- test: "test";
795
792
  network: "network";
793
+ test: "test";
794
+ uvc_h264: "uvc_h264";
795
+ uvc_h265: "uvc_h265";
796
796
  }>;
797
797
  caps: z.ZodArray<z.ZodObject<{
798
798
  width: z.ZodOptional<z.ZodNumber>;
@@ -804,10 +804,10 @@ export declare const eventSchemas: {
804
804
  alsa_card_id: z.ZodOptional<z.ZodString>;
805
805
  product_name: z.ZodOptional<z.ZodString>;
806
806
  transport: z.ZodOptional<z.ZodEnum<{
807
- hdmi: "hdmi";
808
- usb: "usb";
809
807
  bluetooth: "bluetooth";
808
+ hdmi: "hdmi";
810
809
  onboard: "onboard";
810
+ usb: "usb";
811
811
  }>>;
812
812
  stable_id: z.ZodOptional<z.ZodString>;
813
813
  physical_group_id: z.ZodOptional<z.ZodString>;
@@ -820,7 +820,7 @@ export declare const eventSchemas: {
820
820
  current_bitrate: z.ZodNumber;
821
821
  max_bitrate: z.ZodNumber;
822
822
  }, z.core.$strip>;
823
- readonly "srt-stats": z.ZodObject<{
823
+ readonly 'srt-stats': z.ZodObject<{
824
824
  type: z.ZodLiteral<"srt-stats">;
825
825
  seq: z.ZodNumber;
826
826
  rtt_ms: z.ZodNumber;
@@ -831,18 +831,18 @@ export declare const eventSchemas: {
831
831
  type: z.ZodLiteral<"error">;
832
832
  seq: z.ZodNumber;
833
833
  code: z.ZodEnum<{
834
- srtla_initial_connect_failed: "srtla_initial_connect_failed";
835
- srtla_no_connections: "srtla_no_connections";
836
834
  capture_audio_error: "capture_audio_error";
835
+ capture_unrecoverable: "capture_unrecoverable";
837
836
  capture_video_error: "capture_video_error";
838
837
  pipeline_stall: "pipeline_stall";
839
838
  srt_connect_failed: "srt_connect_failed";
840
839
  srt_connection_lost: "srt_connection_lost";
841
- capture_unrecoverable: "capture_unrecoverable";
840
+ srtla_initial_connect_failed: "srtla_initial_connect_failed";
841
+ srtla_no_connections: "srtla_no_connections";
842
842
  }>;
843
843
  source: z.ZodEnum<{
844
- srtla: "srtla";
845
844
  engine: "engine";
845
+ srtla: "srtla";
846
846
  }>;
847
847
  reason: z.ZodOptional<z.ZodString>;
848
848
  selected: z.ZodOptional<z.ZodBoolean>;
@@ -853,14 +853,14 @@ export declare const eventSchemas: {
853
853
  session_id: z.ZodString;
854
854
  phase: z.ZodString;
855
855
  }, z.core.$strip>;
856
- readonly "audio-level": z.ZodObject<{
856
+ readonly 'audio-level': z.ZodObject<{
857
857
  type: z.ZodLiteral<"audio-level">;
858
858
  seq: z.ZodNumber;
859
859
  source: z.ZodOptional<z.ZodObject<{
860
860
  identity: z.ZodOptional<z.ZodString>;
861
861
  owner: z.ZodEnum<{
862
- streaming: "streaming";
863
862
  sidecar: "sidecar";
863
+ streaming: "streaming";
864
864
  }>;
865
865
  }, z.core.$strip>>;
866
866
  channels: z.ZodOptional<z.ZodNumber>;
@@ -870,18 +870,18 @@ export declare const eventSchemas: {
870
870
  unavailable: z.ZodOptional<z.ZodLiteral<true>>;
871
871
  reason: z.ZodOptional<z.ZodEnum<{
872
872
  device_busy: "device_busy";
873
- no_device: "no_device";
874
- mode_none: "mode_none";
875
873
  handoff: "handoff";
874
+ mode_none: "mode_none";
875
+ no_device: "no_device";
876
876
  }>>;
877
877
  }, z.core.$strip>;
878
- readonly "config-change": z.ZodObject<{
878
+ readonly 'config-change': z.ZodObject<{
879
879
  type: z.ZodLiteral<"config-change">;
880
880
  seq: z.ZodNumber;
881
881
  attempt_id: z.ZodString;
882
882
  phase: z.ZodEnum<{
883
- applying: "applying";
884
883
  applied: "applied";
884
+ applying: "applying";
885
885
  reverted: "reverted";
886
886
  rollback_failed: "rollback_failed";
887
887
  }>;