@ceralive/cerastream 2026.9.8 → 2026.9.9
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/README.md +5 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/events.d.ts +16 -0
- package/dist/messages.d.ts +18 -0
- package/dist/types.d.ts +10 -0
- package/dist/types.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# @ceralive/cerastream
|
|
2
2
|
|
|
3
|
+
Prepared **2026.9.9 / schema 0.19.0** adds `raw_video` and `unknown` capture
|
|
4
|
+
classifications. They do not promise a selectable capture mode. `camlink` remains
|
|
5
|
+
unchanged for identified Elgato hardware. Publish before consumer merge: older
|
|
6
|
+
closed-enum validators can reject the entire device reply. This is not a publish receipt.
|
|
7
|
+
|
|
3
8
|
Type-safe control-IPC **schema + client** for the cerastream streaming engine.
|
|
4
9
|
A zero-native-dependency package — the published contract for driving the
|
|
5
10
|
engine's JSON-RPC 2.0 / NDJSON control plane over a Unix domain socket.
|
package/dist/constants.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const PROTOCOL_VERSION: 'cerastream-ipc/1';
|
|
|
8
8
|
* additive-only within protocol major `cerastream-ipc/1` (ADR-0002 §4); this value
|
|
9
9
|
* only moves when the wire schema itself does, in lockstep across both languages.
|
|
10
10
|
*/
|
|
11
|
-
export declare const SCHEMA_VERSION: '0.
|
|
11
|
+
export declare const SCHEMA_VERSION: '0.19.0';
|
|
12
12
|
/** Runtime dir holding both control + preview sockets. systemd `RuntimeDirectory=cerastream`. */
|
|
13
13
|
export declare const DEFAULT_IPC_DIR: '/run/cerastream';
|
|
14
14
|
/** Env override for the IPC dir (tests/dev). Defaults to {@link DEFAULT_IPC_DIR}. */
|
package/dist/constants.js
CHANGED
|
@@ -11,7 +11,7 @@ export const PROTOCOL_VERSION = 'cerastream-ipc/1';
|
|
|
11
11
|
* additive-only within protocol major `cerastream-ipc/1` (ADR-0002 §4); this value
|
|
12
12
|
* only moves when the wire schema itself does, in lockstep across both languages.
|
|
13
13
|
*/
|
|
14
|
-
export const SCHEMA_VERSION = '0.
|
|
14
|
+
export const SCHEMA_VERSION = '0.19.0';
|
|
15
15
|
/** Runtime dir holding both control + preview sockets. systemd `RuntimeDirectory=cerastream`. */
|
|
16
16
|
export const DEFAULT_IPC_DIR = '/run/cerastream';
|
|
17
17
|
/** Env override for the IPC dir (tests/dev). Defaults to {@link DEFAULT_IPC_DIR}. */
|
package/dist/events.d.ts
CHANGED
|
@@ -174,7 +174,9 @@ export declare const deviceEventSchema: z.ZodObject<{
|
|
|
174
174
|
hdmi: "hdmi";
|
|
175
175
|
mjpeg: "mjpeg";
|
|
176
176
|
network: "network";
|
|
177
|
+
raw_video: "raw_video";
|
|
177
178
|
test: "test";
|
|
179
|
+
unknown: "unknown";
|
|
178
180
|
uvc_h264: "uvc_h264";
|
|
179
181
|
uvc_h265: "uvc_h265";
|
|
180
182
|
}>>;
|
|
@@ -186,7 +188,9 @@ export declare const deviceEventSchema: z.ZodObject<{
|
|
|
186
188
|
hdmi: "hdmi";
|
|
187
189
|
mjpeg: "mjpeg";
|
|
188
190
|
network: "network";
|
|
191
|
+
raw_video: "raw_video";
|
|
189
192
|
test: "test";
|
|
193
|
+
unknown: "unknown";
|
|
190
194
|
uvc_h264: "uvc_h264";
|
|
191
195
|
uvc_h265: "uvc_h265";
|
|
192
196
|
}>;
|
|
@@ -428,7 +432,9 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
428
432
|
hdmi: "hdmi";
|
|
429
433
|
mjpeg: "mjpeg";
|
|
430
434
|
network: "network";
|
|
435
|
+
raw_video: "raw_video";
|
|
431
436
|
test: "test";
|
|
437
|
+
unknown: "unknown";
|
|
432
438
|
uvc_h264: "uvc_h264";
|
|
433
439
|
uvc_h265: "uvc_h265";
|
|
434
440
|
}>>;
|
|
@@ -440,7 +446,9 @@ export declare const eventParamsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
440
446
|
hdmi: "hdmi";
|
|
441
447
|
mjpeg: "mjpeg";
|
|
442
448
|
network: "network";
|
|
449
|
+
raw_video: "raw_video";
|
|
443
450
|
test: "test";
|
|
451
|
+
unknown: "unknown";
|
|
444
452
|
uvc_h264: "uvc_h264";
|
|
445
453
|
uvc_h265: "uvc_h265";
|
|
446
454
|
}>;
|
|
@@ -641,7 +649,9 @@ export declare const cerastreamEventSchema: z.ZodObject<{
|
|
|
641
649
|
hdmi: "hdmi";
|
|
642
650
|
mjpeg: "mjpeg";
|
|
643
651
|
network: "network";
|
|
652
|
+
raw_video: "raw_video";
|
|
644
653
|
test: "test";
|
|
654
|
+
unknown: "unknown";
|
|
645
655
|
uvc_h264: "uvc_h264";
|
|
646
656
|
uvc_h265: "uvc_h265";
|
|
647
657
|
}>>;
|
|
@@ -653,7 +663,9 @@ export declare const cerastreamEventSchema: z.ZodObject<{
|
|
|
653
663
|
hdmi: "hdmi";
|
|
654
664
|
mjpeg: "mjpeg";
|
|
655
665
|
network: "network";
|
|
666
|
+
raw_video: "raw_video";
|
|
656
667
|
test: "test";
|
|
668
|
+
unknown: "unknown";
|
|
657
669
|
uvc_h264: "uvc_h264";
|
|
658
670
|
uvc_h265: "uvc_h265";
|
|
659
671
|
}>;
|
|
@@ -860,7 +872,9 @@ export declare const eventSchemas: {
|
|
|
860
872
|
hdmi: "hdmi";
|
|
861
873
|
mjpeg: "mjpeg";
|
|
862
874
|
network: "network";
|
|
875
|
+
raw_video: "raw_video";
|
|
863
876
|
test: "test";
|
|
877
|
+
unknown: "unknown";
|
|
864
878
|
uvc_h264: "uvc_h264";
|
|
865
879
|
uvc_h265: "uvc_h265";
|
|
866
880
|
}>>;
|
|
@@ -872,7 +886,9 @@ export declare const eventSchemas: {
|
|
|
872
886
|
hdmi: "hdmi";
|
|
873
887
|
mjpeg: "mjpeg";
|
|
874
888
|
network: "network";
|
|
889
|
+
raw_video: "raw_video";
|
|
875
890
|
test: "test";
|
|
891
|
+
unknown: "unknown";
|
|
876
892
|
uvc_h264: "uvc_h264";
|
|
877
893
|
uvc_h265: "uvc_h265";
|
|
878
894
|
}>;
|
package/dist/messages.d.ts
CHANGED
|
@@ -53,7 +53,9 @@ export declare const startParamsSchema: z.ZodObject<{
|
|
|
53
53
|
hdmi: "hdmi";
|
|
54
54
|
mjpeg: "mjpeg";
|
|
55
55
|
network: "network";
|
|
56
|
+
raw_video: "raw_video";
|
|
56
57
|
test: "test";
|
|
58
|
+
unknown: "unknown";
|
|
57
59
|
uvc_h264: "uvc_h264";
|
|
58
60
|
uvc_h265: "uvc_h265";
|
|
59
61
|
}>>;
|
|
@@ -232,7 +234,9 @@ export declare const setEdidProfileResultSchema: z.ZodObject<{
|
|
|
232
234
|
hdmi: "hdmi";
|
|
233
235
|
mjpeg: "mjpeg";
|
|
234
236
|
network: "network";
|
|
237
|
+
raw_video: "raw_video";
|
|
235
238
|
test: "test";
|
|
239
|
+
unknown: "unknown";
|
|
236
240
|
uvc_h264: "uvc_h264";
|
|
237
241
|
uvc_h265: "uvc_h265";
|
|
238
242
|
}>>;
|
|
@@ -244,7 +248,9 @@ export declare const setEdidProfileResultSchema: z.ZodObject<{
|
|
|
244
248
|
hdmi: "hdmi";
|
|
245
249
|
mjpeg: "mjpeg";
|
|
246
250
|
network: "network";
|
|
251
|
+
raw_video: "raw_video";
|
|
247
252
|
test: "test";
|
|
253
|
+
unknown: "unknown";
|
|
248
254
|
uvc_h264: "uvc_h264";
|
|
249
255
|
uvc_h265: "uvc_h265";
|
|
250
256
|
}>;
|
|
@@ -330,7 +336,9 @@ export declare const listDevicesResultSchema: z.ZodObject<{
|
|
|
330
336
|
hdmi: "hdmi";
|
|
331
337
|
mjpeg: "mjpeg";
|
|
332
338
|
network: "network";
|
|
339
|
+
raw_video: "raw_video";
|
|
333
340
|
test: "test";
|
|
341
|
+
unknown: "unknown";
|
|
334
342
|
uvc_h264: "uvc_h264";
|
|
335
343
|
uvc_h265: "uvc_h265";
|
|
336
344
|
}>>;
|
|
@@ -342,7 +350,9 @@ export declare const listDevicesResultSchema: z.ZodObject<{
|
|
|
342
350
|
hdmi: "hdmi";
|
|
343
351
|
mjpeg: "mjpeg";
|
|
344
352
|
network: "network";
|
|
353
|
+
raw_video: "raw_video";
|
|
345
354
|
test: "test";
|
|
355
|
+
unknown: "unknown";
|
|
346
356
|
uvc_h264: "uvc_h264";
|
|
347
357
|
uvc_h265: "uvc_h265";
|
|
348
358
|
}>;
|
|
@@ -621,7 +631,9 @@ export declare const changeConfigParamsSchema: z.ZodObject<{
|
|
|
621
631
|
hdmi: "hdmi";
|
|
622
632
|
mjpeg: "mjpeg";
|
|
623
633
|
network: "network";
|
|
634
|
+
raw_video: "raw_video";
|
|
624
635
|
test: "test";
|
|
636
|
+
unknown: "unknown";
|
|
625
637
|
uvc_h264: "uvc_h264";
|
|
626
638
|
uvc_h265: "uvc_h265";
|
|
627
639
|
}>>;
|
|
@@ -739,7 +751,9 @@ export declare const requestSchemas: {
|
|
|
739
751
|
hdmi: "hdmi";
|
|
740
752
|
mjpeg: "mjpeg";
|
|
741
753
|
network: "network";
|
|
754
|
+
raw_video: "raw_video";
|
|
742
755
|
test: "test";
|
|
756
|
+
unknown: "unknown";
|
|
743
757
|
uvc_h264: "uvc_h264";
|
|
744
758
|
uvc_h265: "uvc_h265";
|
|
745
759
|
}>>;
|
|
@@ -902,7 +916,9 @@ export declare const requestSchemas: {
|
|
|
902
916
|
hdmi: "hdmi";
|
|
903
917
|
mjpeg: "mjpeg";
|
|
904
918
|
network: "network";
|
|
919
|
+
raw_video: "raw_video";
|
|
905
920
|
test: "test";
|
|
921
|
+
unknown: "unknown";
|
|
906
922
|
uvc_h264: "uvc_h264";
|
|
907
923
|
uvc_h265: "uvc_h265";
|
|
908
924
|
}>>;
|
|
@@ -914,7 +930,9 @@ export declare const requestSchemas: {
|
|
|
914
930
|
hdmi: "hdmi";
|
|
915
931
|
mjpeg: "mjpeg";
|
|
916
932
|
network: "network";
|
|
933
|
+
raw_video: "raw_video";
|
|
917
934
|
test: "test";
|
|
935
|
+
unknown: "unknown";
|
|
918
936
|
uvc_h264: "uvc_h264";
|
|
919
937
|
uvc_h265: "uvc_h265";
|
|
920
938
|
}>;
|
package/dist/types.d.ts
CHANGED
|
@@ -86,7 +86,9 @@ export declare const captureDeviceKindSchema: z.ZodEnum<{
|
|
|
86
86
|
hdmi: "hdmi";
|
|
87
87
|
mjpeg: "mjpeg";
|
|
88
88
|
network: "network";
|
|
89
|
+
raw_video: "raw_video";
|
|
89
90
|
test: "test";
|
|
91
|
+
unknown: "unknown";
|
|
90
92
|
uvc_h264: "uvc_h264";
|
|
91
93
|
uvc_h265: "uvc_h265";
|
|
92
94
|
}>;
|
|
@@ -221,7 +223,9 @@ export declare const cerastreamConfigSchema: z.ZodObject<{
|
|
|
221
223
|
hdmi: "hdmi";
|
|
222
224
|
mjpeg: "mjpeg";
|
|
223
225
|
network: "network";
|
|
226
|
+
raw_video: "raw_video";
|
|
224
227
|
test: "test";
|
|
228
|
+
unknown: "unknown";
|
|
225
229
|
uvc_h264: "uvc_h264";
|
|
226
230
|
uvc_h265: "uvc_h265";
|
|
227
231
|
}>>;
|
|
@@ -261,7 +265,9 @@ export declare const captureModeSchema: z.ZodObject<{
|
|
|
261
265
|
hdmi: "hdmi";
|
|
262
266
|
mjpeg: "mjpeg";
|
|
263
267
|
network: "network";
|
|
268
|
+
raw_video: "raw_video";
|
|
264
269
|
test: "test";
|
|
270
|
+
unknown: "unknown";
|
|
265
271
|
uvc_h264: "uvc_h264";
|
|
266
272
|
uvc_h265: "uvc_h265";
|
|
267
273
|
}>;
|
|
@@ -293,7 +299,9 @@ export declare const captureDeviceSchema: z.ZodObject<{
|
|
|
293
299
|
hdmi: "hdmi";
|
|
294
300
|
mjpeg: "mjpeg";
|
|
295
301
|
network: "network";
|
|
302
|
+
raw_video: "raw_video";
|
|
296
303
|
test: "test";
|
|
304
|
+
unknown: "unknown";
|
|
297
305
|
uvc_h264: "uvc_h264";
|
|
298
306
|
uvc_h265: "uvc_h265";
|
|
299
307
|
}>>;
|
|
@@ -305,7 +313,9 @@ export declare const captureDeviceSchema: z.ZodObject<{
|
|
|
305
313
|
hdmi: "hdmi";
|
|
306
314
|
mjpeg: "mjpeg";
|
|
307
315
|
network: "network";
|
|
316
|
+
raw_video: "raw_video";
|
|
308
317
|
test: "test";
|
|
318
|
+
unknown: "unknown";
|
|
309
319
|
uvc_h264: "uvc_h264";
|
|
310
320
|
uvc_h265: "uvc_h265";
|
|
311
321
|
}>;
|
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ceralive/cerastream",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.9",
|
|
4
4
|
"description": "Type-safe TypeScript schema + IPC client for the cerastream streaming engine (JSON-RPC 2.0 / NDJSON over a Unix domain socket).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|