@ceralive/cerastream 2026.9.6 → 2026.9.8
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 +6 -0
- package/dist/messages.d.ts +3 -3
- package/dist/messages.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,6 +26,12 @@ engine's JSON-RPC 2.0 / NDJSON control plane over a Unix domain socket.
|
|
|
26
26
|
framerate, codec, pipeline, source) as one transaction with typed rollback;
|
|
27
27
|
composition-only changes use live layout/alpha writes and secondary rebind
|
|
28
28
|
|
|
29
|
+
Package **2026.9.8** is prepared with `changeConfig({composition: null})`
|
|
30
|
+
to disable composition through a full graph transaction. Omission preserves the
|
|
31
|
+
live mode. Import `ChangeConfigParams` from this package. Verify publication of
|
|
32
|
+
`bindings-v2026.9.8` before consumer merge; a prepared version is not a registry
|
|
33
|
+
receipt. The device engine separately needs the correction from PR #170.
|
|
34
|
+
|
|
29
35
|
The Zod schemas, types, and constants are the frozen wire contract; `connect()`
|
|
30
36
|
drives that contract over an NDJSON/UDS transport with no native dependencies.
|
|
31
37
|
|
package/dist/messages.d.ts
CHANGED
|
@@ -176,7 +176,7 @@ export type SetBitrateResult = z.infer<typeof setBitrateResultSchema>;
|
|
|
176
176
|
export declare const requestKeyframeParamsSchema: z.ZodObject<{}, z.core.$strip>;
|
|
177
177
|
export type RequestKeyframeParams = z.infer<typeof requestKeyframeParamsSchema>;
|
|
178
178
|
export declare const requestKeyframeResultSchema: z.ZodObject<{
|
|
179
|
-
applied: z.
|
|
179
|
+
applied: z.ZodBoolean;
|
|
180
180
|
}, z.core.$strip>;
|
|
181
181
|
export type RequestKeyframeResult = z.infer<typeof requestKeyframeResultSchema>;
|
|
182
182
|
export declare const edidProfileSchema: z.ZodEnum<{
|
|
@@ -625,7 +625,7 @@ export declare const changeConfigParamsSchema: z.ZodObject<{
|
|
|
625
625
|
uvc_h264: "uvc_h264";
|
|
626
626
|
uvc_h265: "uvc_h265";
|
|
627
627
|
}>>;
|
|
628
|
-
composition: z.ZodOptional<z.ZodObject<{
|
|
628
|
+
composition: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
629
629
|
secondary_input_id: z.ZodString;
|
|
630
630
|
layout: z.ZodEnum<{
|
|
631
631
|
"pbp-left-right": "pbp-left-right";
|
|
@@ -636,7 +636,7 @@ export declare const changeConfigParamsSchema: z.ZodObject<{
|
|
|
636
636
|
"pip-top-right": "pip-top-right";
|
|
637
637
|
}>;
|
|
638
638
|
alpha: z.ZodOptional<z.ZodNumber>;
|
|
639
|
-
}, z.core.$strip
|
|
639
|
+
}, z.core.$strip>>>;
|
|
640
640
|
}, z.core.$strip>;
|
|
641
641
|
export type ChangeConfigParams = z.infer<typeof changeConfigParamsSchema>;
|
|
642
642
|
export declare const changeConfigResultSchema: z.ZodObject<{
|
package/dist/messages.js
CHANGED
|
@@ -73,7 +73,7 @@ export const setBitrateResultSchema = z.object({
|
|
|
73
73
|
reason: z.string().optional(),
|
|
74
74
|
});
|
|
75
75
|
export const requestKeyframeParamsSchema = z.object({});
|
|
76
|
-
export const requestKeyframeResultSchema = z.object({ applied: z.
|
|
76
|
+
export const requestKeyframeResultSchema = z.object({ applied: z.boolean() });
|
|
77
77
|
// ---- 4b. hdmirx.setEdidProfile (additive, 0.17.0; not in V1_METHODS) ----
|
|
78
78
|
// The operator picks a named POLICY, never a blob: an EDID is a checksummed
|
|
79
79
|
// 256-byte structure whose contents the device owns.
|
|
@@ -271,7 +271,7 @@ export const changeConfigParamsSchema = z
|
|
|
271
271
|
// engine runs a release → re-enumeration-barrier → open transaction and
|
|
272
272
|
// rolls back honestly (reason: mode_barrier_timeout) if the barrier expires.
|
|
273
273
|
input_mode: captureDeviceKindSchema.optional(),
|
|
274
|
-
composition: compositionConfigSchema.optional(),
|
|
274
|
+
composition: compositionConfigSchema.nullable().optional(),
|
|
275
275
|
})
|
|
276
276
|
.refine((delta) => Object.keys(delta).length > 0, {
|
|
277
277
|
message: 'change-config delta must carry at least one field',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ceralive/cerastream",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.8",
|
|
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",
|