@camstack/server 1.2.374 → 1.2.376
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.
|
@@ -10833,6 +10833,22 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
10833
10833
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10834
10834
|
return fn.call(p, methodInput);
|
|
10835
10835
|
}),
|
|
10836
|
+
offerClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
10837
|
+
.input(types_128.videoclipsCapability.methods.offerClipBytes.input.loose())
|
|
10838
|
+
.output(types_128.videoclipsCapability.methods.offerClipBytes.output)
|
|
10839
|
+
.query(async ({ input, ctx }) => {
|
|
10840
|
+
const { nodeId, ...methodInput } = input;
|
|
10841
|
+
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10842
|
+
const fn = p.offerClipBytes;
|
|
10843
|
+
if (typeof fn !== 'function') {
|
|
10844
|
+
throw new server_1.TRPCError({
|
|
10845
|
+
code: 'NOT_IMPLEMENTED',
|
|
10846
|
+
message: 'Capability "videoclips" provider does not implement "offerClipBytes"',
|
|
10847
|
+
});
|
|
10848
|
+
}
|
|
10849
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10850
|
+
return fn.call(p, methodInput);
|
|
10851
|
+
}),
|
|
10836
10852
|
dialClipStream: trpc_middleware_js_1.protectedProcedure
|
|
10837
10853
|
.input(types_128.videoclipsCapability.methods.dialClipStream.input.loose())
|
|
10838
10854
|
.output(types_128.videoclipsCapability.methods.dialClipStream.output)
|
|
@@ -10849,6 +10865,22 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
10849
10865
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10850
10866
|
return fn.call(p, methodInput);
|
|
10851
10867
|
}),
|
|
10868
|
+
getPlaybackOptions: trpc_middleware_js_1.protectedProcedure
|
|
10869
|
+
.input(types_128.videoclipsCapability.methods.getPlaybackOptions.input.loose())
|
|
10870
|
+
.output(types_128.videoclipsCapability.methods.getPlaybackOptions.output)
|
|
10871
|
+
.query(async ({ input, ctx }) => {
|
|
10872
|
+
const { nodeId, ...methodInput } = input;
|
|
10873
|
+
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
10874
|
+
const fn = p.getPlaybackOptions;
|
|
10875
|
+
if (typeof fn !== 'function') {
|
|
10876
|
+
throw new server_1.TRPCError({
|
|
10877
|
+
code: 'NOT_IMPLEMENTED',
|
|
10878
|
+
message: 'Capability "videoclips" provider does not implement "getPlaybackOptions"',
|
|
10879
|
+
});
|
|
10880
|
+
}
|
|
10881
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10882
|
+
return fn.call(p, methodInput);
|
|
10883
|
+
}),
|
|
10852
10884
|
});
|
|
10853
10885
|
}
|
|
10854
10886
|
function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
|
|
@@ -2907,6 +2907,15 @@ class AddonRegistryService {
|
|
|
2907
2907
|
sink: dataPlaneSink,
|
|
2908
2908
|
});
|
|
2909
2909
|
this.getOrCreateDisposerChain(addonId).add(() => dataPlaneFacility.dispose());
|
|
2910
|
+
// Addon→addon byte transport (`ctx.peerBytes`, D613) for a co-located hub
|
|
2911
|
+
// builtin, on the same terms a forked addon gets it. `broker.nodeID` IS the
|
|
2912
|
+
// host node here — hub-main has no runner suffix.
|
|
2913
|
+
const peerBytesFacility = (0, system_1.createAddonPeerBytesFacility)({
|
|
2914
|
+
addonId,
|
|
2915
|
+
logger,
|
|
2916
|
+
nodeId: this.broker.nodeID,
|
|
2917
|
+
});
|
|
2918
|
+
this.getOrCreateDisposerChain(addonId).add(() => peerBytesFacility.dispose());
|
|
2910
2919
|
const ctx = {
|
|
2911
2920
|
id: `addon:${addonId}`,
|
|
2912
2921
|
logger,
|
|
@@ -2915,6 +2924,7 @@ class AddonRegistryService {
|
|
|
2915
2924
|
dataDir,
|
|
2916
2925
|
nodeDataDir,
|
|
2917
2926
|
dataPlane: dataPlaneFacility.dataPlane,
|
|
2927
|
+
peerBytes: peerBytesFacility.peerBytes,
|
|
2918
2928
|
get api() {
|
|
2919
2929
|
return registry.getBrokerApi();
|
|
2920
2930
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.376",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
39
|
-
"@camstack/addon-agent-ui": "1.2.
|
|
38
|
+
"@camstack/addon-admin-ui": "1.2.257",
|
|
39
|
+
"@camstack/addon-agent-ui": "1.2.140",
|
|
40
40
|
"@camstack/addon-auth": "1.2.123",
|
|
41
41
|
"@camstack/addon-decoder-nodeav": "1.2.115",
|
|
42
42
|
"@camstack/addon-notifiers": "1.2.119",
|
|
43
|
-
"@camstack/addon-pipeline": "1.2.
|
|
44
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
43
|
+
"@camstack/addon-pipeline": "1.2.288",
|
|
44
|
+
"@camstack/addon-pipeline-orchestrator": "1.2.244",
|
|
45
45
|
"@camstack/addon-post-analysis": "1.2.273",
|
|
46
46
|
"@camstack/sdk": "1.2.118",
|
|
47
|
-
"@camstack/system": "1.2.
|
|
48
|
-
"@camstack/types": "1.2.
|
|
49
|
-
"@camstack/ui-library": "1.2.
|
|
47
|
+
"@camstack/system": "1.2.290",
|
|
48
|
+
"@camstack/types": "1.2.246",
|
|
49
|
+
"@camstack/ui-library": "1.2.198",
|
|
50
50
|
"@fastify/compress": "^9.0.0",
|
|
51
51
|
"@fastify/cookie": "^11.0.2",
|
|
52
52
|
"@fastify/cors": "^11.2.0",
|