@camstack/types 1.1.27 → 1.1.29
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.
|
@@ -70,7 +70,7 @@ export declare const audioCodecCapability: {
|
|
|
70
70
|
readonly name: "audio-codec";
|
|
71
71
|
readonly scope: "system";
|
|
72
72
|
readonly mode: "singleton";
|
|
73
|
-
readonly preferredProvider: "
|
|
73
|
+
readonly preferredProvider: "decoder-nodeav";
|
|
74
74
|
readonly methods: {
|
|
75
75
|
/** Probe the local runtime and return the supported codec matrix. */
|
|
76
76
|
readonly listSupportedCodecs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -61,6 +61,8 @@ export declare const decoderCapability: {
|
|
|
61
61
|
name: z.ZodString;
|
|
62
62
|
isPullMode: z.ZodOptional<z.ZodBoolean>;
|
|
63
63
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
hwaccel: z.ZodOptional<z.ZodString>;
|
|
65
|
+
probedBestHwaccel: z.ZodOptional<z.ZodString>;
|
|
64
66
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
65
67
|
readonly createSession: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
66
68
|
codec: z.ZodString;
|
|
@@ -3466,6 +3466,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3466
3466
|
name: string;
|
|
3467
3467
|
isPullMode?: boolean | undefined;
|
|
3468
3468
|
priority?: number | undefined;
|
|
3469
|
+
hwaccel?: string | undefined;
|
|
3470
|
+
probedBestHwaccel?: string | undefined;
|
|
3469
3471
|
};
|
|
3470
3472
|
meta: object;
|
|
3471
3473
|
}>;
|
|
@@ -17839,6 +17841,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17839
17841
|
name: string;
|
|
17840
17842
|
isPullMode?: boolean | undefined;
|
|
17841
17843
|
priority?: number | undefined;
|
|
17844
|
+
hwaccel?: string | undefined;
|
|
17845
|
+
probedBestHwaccel?: string | undefined;
|
|
17842
17846
|
};
|
|
17843
17847
|
meta: object;
|
|
17844
17848
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -13511,7 +13511,7 @@ var audioCodecCapability = {
|
|
|
13511
13511
|
name: "audio-codec",
|
|
13512
13512
|
scope: "system",
|
|
13513
13513
|
mode: "singleton",
|
|
13514
|
-
preferredProvider: "
|
|
13514
|
+
preferredProvider: "decoder-nodeav",
|
|
13515
13515
|
methods: {
|
|
13516
13516
|
/** Probe the local runtime and return the supported codec matrix. */
|
|
13517
13517
|
listSupportedCodecs: require_sleep.method(zod.z.void(), zod.z.array(AudioCodecInfoSchema).readonly()),
|
|
@@ -14264,7 +14264,9 @@ var decoderCapability = {
|
|
|
14264
14264
|
id: zod.z.string(),
|
|
14265
14265
|
name: zod.z.string(),
|
|
14266
14266
|
isPullMode: zod.z.boolean().optional(),
|
|
14267
|
-
priority: zod.z.number().optional()
|
|
14267
|
+
priority: zod.z.number().optional(),
|
|
14268
|
+
hwaccel: zod.z.string().optional(),
|
|
14269
|
+
probedBestHwaccel: zod.z.string().optional()
|
|
14268
14270
|
})),
|
|
14269
14271
|
createSession: require_sleep.method(DecoderSessionConfigSchema, zod.z.object({
|
|
14270
14272
|
sessionId: zod.z.string(),
|
package/dist/index.mjs
CHANGED
|
@@ -13510,7 +13510,7 @@ var audioCodecCapability = {
|
|
|
13510
13510
|
name: "audio-codec",
|
|
13511
13511
|
scope: "system",
|
|
13512
13512
|
mode: "singleton",
|
|
13513
|
-
preferredProvider: "
|
|
13513
|
+
preferredProvider: "decoder-nodeav",
|
|
13514
13514
|
methods: {
|
|
13515
13515
|
/** Probe the local runtime and return the supported codec matrix. */
|
|
13516
13516
|
listSupportedCodecs: method(z.void(), z.array(AudioCodecInfoSchema).readonly()),
|
|
@@ -14263,7 +14263,9 @@ var decoderCapability = {
|
|
|
14263
14263
|
id: z.string(),
|
|
14264
14264
|
name: z.string(),
|
|
14265
14265
|
isPullMode: z.boolean().optional(),
|
|
14266
|
-
priority: z.number().optional()
|
|
14266
|
+
priority: z.number().optional(),
|
|
14267
|
+
hwaccel: z.string().optional(),
|
|
14268
|
+
probedBestHwaccel: z.string().optional()
|
|
14267
14269
|
})),
|
|
14268
14270
|
createSession: method(DecoderSessionConfigSchema, z.object({
|
|
14269
14271
|
sessionId: z.string(),
|