@norskvideo/norsk-studio-built-ins 1.27.0-2025-07-06-336ac6c6 → 1.27.0-2025-07-09-f9b24945

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.
Files changed (135) hide show
  1. package/client/info.js +665 -284
  2. package/client/style.css +46 -0
  3. package/lib/info.js +3 -1
  4. package/lib/info.js.map +1 -1
  5. package/lib/input.rtmp/info.d.ts +20 -1
  6. package/lib/input.rtmp/runtime.d.ts +20 -1
  7. package/lib/input.rtmp/types.d.ts +47 -27
  8. package/lib/input.rtmp/types.source.yaml +319 -0
  9. package/lib/input.rtmp/types.yaml +206 -131
  10. package/lib/input.silence/info.d.ts +4 -2
  11. package/lib/input.silence/types.d.ts +4 -7
  12. package/lib/input.silence/types.source.yaml +27 -0
  13. package/lib/input.silence/types.yaml +82 -4
  14. package/lib/input.srt-caller/info.d.ts +41 -4
  15. package/lib/input.srt-caller/types.d.ts +51 -43
  16. package/lib/input.srt-caller/types.source.yaml +70 -0
  17. package/lib/input.srt-caller/types.yaml +138 -24
  18. package/lib/input.srt-listener/info.d.ts +41 -4
  19. package/lib/input.srt-listener/runtime.d.ts +34 -3
  20. package/lib/input.srt-listener/types.d.ts +74 -44
  21. package/lib/input.srt-listener/types.source.yaml +329 -0
  22. package/lib/input.srt-listener/types.yaml +259 -132
  23. package/lib/input.udp-ts/info.d.ts +20 -1
  24. package/lib/input.udp-ts/types.d.ts +20 -25
  25. package/lib/input.udp-ts/types.source.yaml +40 -0
  26. package/lib/input.udp-ts/types.yaml +81 -3
  27. package/lib/input.videoTestCard/info.d.ts +8 -2
  28. package/lib/input.videoTestCard/types.d.ts +8 -10
  29. package/lib/input.videoTestCard/types.source.yaml +32 -0
  30. package/lib/input.videoTestCard/types.yaml +30 -6
  31. package/lib/input.whip/info.d.ts +7 -1
  32. package/lib/input.whip/types.d.ts +44 -28
  33. package/lib/input.whip/types.source.yaml +190 -0
  34. package/lib/input.whip/types.yaml +179 -104
  35. package/lib/output.autoCmaf/fullscreen.js +46 -1
  36. package/lib/output.autoCmaf/fullscreen.js.map +1 -1
  37. package/lib/output.autoCmaf/info.js +20 -0
  38. package/lib/output.autoCmaf/info.js.map +1 -1
  39. package/lib/output.autoCmaf/inline-view.d.ts +3 -2
  40. package/lib/output.autoCmaf/inline-view.js +72 -2
  41. package/lib/output.autoCmaf/inline-view.js.map +1 -1
  42. package/lib/output.autoCmaf/runtime.d.ts +2 -1
  43. package/lib/output.autoCmaf/runtime.js +41 -11
  44. package/lib/output.autoCmaf/runtime.js.map +1 -1
  45. package/lib/output.autoCmaf/types.d.ts +2 -0
  46. package/lib/output.autoCmaf/types.yaml +6 -0
  47. package/lib/output.cmafMultiVariant/runtime.js +2 -2
  48. package/lib/output.cmafMultiVariant/runtime.js.map +1 -1
  49. package/lib/output.cmafPlaylist/info.js +19 -0
  50. package/lib/output.cmafPlaylist/info.js.map +1 -1
  51. package/lib/output.cmafPlaylist/runtime.js +6 -3
  52. package/lib/output.cmafPlaylist/runtime.js.map +1 -1
  53. package/lib/output.cmafPlaylist/types.d.ts +1 -0
  54. package/lib/output.cmafPlaylist/types.yaml +3 -0
  55. package/lib/output.preview/inline-view.js +1 -1
  56. package/lib/output.preview/inline-view.js.map +1 -1
  57. package/lib/output.preview/runtime.js +2 -2
  58. package/lib/output.preview/runtime.js.map +1 -1
  59. package/lib/output.statistics/info.d.ts +172 -2
  60. package/lib/output.statistics/types.d.ts +400 -72
  61. package/lib/output.statistics/types.source.yaml +119 -0
  62. package/lib/output.statistics/types.yaml +333 -91
  63. package/lib/output.tsMediaPlaylist/runtime.js +2 -2
  64. package/lib/output.tsMediaPlaylist/runtime.js.map +1 -1
  65. package/lib/output.tsMultiVariant/runtime.js +1 -1
  66. package/lib/output.tsMultiVariant/runtime.js.map +1 -1
  67. package/lib/output.whep/runtime.js +3 -1
  68. package/lib/output.whep/runtime.js.map +1 -1
  69. package/lib/processor.audioEncoder/info.d.ts +10 -2
  70. package/lib/processor.audioEncoder/types.d.ts +23 -12
  71. package/lib/processor.audioEncoder/types.source.yaml +78 -0
  72. package/lib/processor.audioEncoder/types.yaml +103 -29
  73. package/lib/processor.browserOverlay/info.js +5 -3
  74. package/lib/processor.browserOverlay/info.js.map +1 -1
  75. package/lib/processor.browserOverlay/runtime.d.ts +2 -1
  76. package/lib/processor.browserOverlay/runtime.js +16 -2
  77. package/lib/processor.browserOverlay/runtime.js.map +1 -1
  78. package/lib/processor.fixedLadder/info.d.ts +182 -7
  79. package/lib/processor.fixedLadder/types.d.ts +619 -19
  80. package/lib/processor.fixedLadder/types.source.yaml +462 -0
  81. package/lib/processor.fixedLadder/types.yaml +336 -115
  82. package/lib/processor.makeProgram/info.d.ts +1 -0
  83. package/lib/processor.makeProgram/info.js +9 -0
  84. package/lib/processor.makeProgram/info.js.map +1 -1
  85. package/lib/processor.makeProgram/runtime.d.ts +2 -1
  86. package/lib/processor.makeProgram/runtime.js +14 -1
  87. package/lib/processor.makeProgram/runtime.js.map +1 -1
  88. package/lib/processor.makeProgram/types.d.ts +1 -0
  89. package/lib/processor.makeProgram/types.yaml +3 -1
  90. package/lib/processor.smartSingleMediaSwitch/info.d.ts +12 -4
  91. package/lib/processor.smartSingleMediaSwitch/types.d.ts +22 -18
  92. package/lib/processor.smartSingleMediaSwitch/types.source.yaml +115 -0
  93. package/lib/processor.smartSingleMediaSwitch/types.yaml +147 -50
  94. package/lib/processor.smartSourceSwitch/form-views.d.ts +6 -0
  95. package/lib/processor.smartSourceSwitch/form-views.js +11 -0
  96. package/lib/processor.smartSourceSwitch/form-views.js.map +1 -0
  97. package/lib/processor.smartSourceSwitch/info.d.ts +18 -4
  98. package/lib/processor.smartSourceSwitch/info.js +30 -0
  99. package/lib/processor.smartSourceSwitch/info.js.map +1 -1
  100. package/lib/processor.smartSourceSwitch/inline-view.js +9 -8
  101. package/lib/processor.smartSourceSwitch/inline-view.js.map +1 -1
  102. package/lib/processor.smartSourceSwitch/runtime.d.ts +4 -1
  103. package/lib/processor.smartSourceSwitch/runtime.js +56 -27
  104. package/lib/processor.smartSourceSwitch/runtime.js.map +1 -1
  105. package/lib/processor.smartSourceSwitch/types.d.ts +41 -18
  106. package/lib/processor.smartSourceSwitch/types.source.yaml +129 -0
  107. package/lib/processor.smartSourceSwitch/types.yaml +177 -48
  108. package/lib/processor.syncExternalAudio/info.d.ts +1 -0
  109. package/lib/processor.syncExternalAudio/types.d.ts +1 -0
  110. package/lib/processor.videoDecoder/info.js +4 -2
  111. package/lib/processor.videoDecoder/info.js.map +1 -1
  112. package/lib/processor.zoomTo/info.d.ts +54 -0
  113. package/lib/processor.zoomTo/info.js +174 -0
  114. package/lib/processor.zoomTo/info.js.map +1 -0
  115. package/lib/processor.zoomTo/runtime-types.d.ts +11 -0
  116. package/lib/processor.zoomTo/runtime-types.js +3 -0
  117. package/lib/processor.zoomTo/runtime-types.js.map +1 -0
  118. package/lib/processor.zoomTo/runtime.d.ts +45 -0
  119. package/lib/processor.zoomTo/runtime.js +323 -0
  120. package/lib/processor.zoomTo/runtime.js.map +1 -0
  121. package/lib/processor.zoomTo/types.d.ts +182 -0
  122. package/lib/processor.zoomTo/types.js +3 -0
  123. package/lib/processor.zoomTo/types.js.map +1 -0
  124. package/lib/processor.zoomTo/types.yaml +356 -0
  125. package/lib/test/auto-cmaf.js +7 -4
  126. package/lib/test/auto-cmaf.js.map +1 -1
  127. package/lib/test/smart-source-switch.js +117 -2
  128. package/lib/test/smart-source-switch.js.map +1 -1
  129. package/lib/test/zoom-to.d.ts +1 -0
  130. package/lib/test/zoom-to.js +345 -0
  131. package/lib/test/zoom-to.js.map +1 -0
  132. package/package.json +5 -5
  133. package/lib/output.autoCmaf/summary.d.ts +0 -6
  134. package/lib/output.autoCmaf/summary.js +0 -57
  135. package/lib/output.autoCmaf/summary.js.map +0 -1
@@ -0,0 +1,323 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ZoomTo = void 0;
7
+ const norsk_sdk_1 = require("@norskvideo/norsk-sdk");
8
+ const runtime_types_1 = require("@norskvideo/norsk-studio/lib/extension/runtime-types");
9
+ const logging_1 = require("@norskvideo/norsk-studio/lib/server/logging");
10
+ const config_1 = require("@norskvideo/norsk-studio/lib/shared/config");
11
+ const util_1 = require("@norskvideo/norsk-studio/lib/shared/util");
12
+ const path_1 = __importDefault(require("path"));
13
+ const api_1 = require("@norskvideo/norsk-studio/lib/server/api");
14
+ const schemas_1 = require("../shared/schemas");
15
+ function pixelsToPercentage(pixels, dimension) {
16
+ return dimension > 0 ? (pixels / dimension) * 100 : 0;
17
+ }
18
+ class ZoomToDefinition {
19
+ async create(norsk, cfg, cb, runtime) {
20
+ const node = await ZoomTo.create(norsk, cfg, runtime.updates);
21
+ cb(node);
22
+ }
23
+ async handleCommand(node, command) {
24
+ const commandType = command.type;
25
+ switch (commandType) {
26
+ case 'update-zoom':
27
+ await node.updateZoom(command);
28
+ break;
29
+ default:
30
+ (0, util_1.assertUnreachable)(commandType);
31
+ }
32
+ }
33
+ async schemas() {
34
+ return (0, schemas_1.schemaFromTypes)(path_1.default.join(__dirname, 'types.yaml'), {
35
+ config: 'zoomToConfig',
36
+ state: 'zoomToState'
37
+ });
38
+ }
39
+ async instanceRoutes() {
40
+ return (0, api_1.defineApi)(path_1.default.join(__dirname, 'types.yaml'), {
41
+ '/zoom': {
42
+ get: ({ runtime }) => (_req, res) => {
43
+ const state = runtime.updates.latest();
44
+ res.json({
45
+ zoom: {
46
+ currentOffsetX: state.currentOffsetX,
47
+ currentOffsetY: state.currentOffsetY,
48
+ currentWidth: state.currentWidth,
49
+ currentHeight: state.currentHeight,
50
+ targetOffsetX: state.targetOffsetX,
51
+ targetOffsetY: state.targetOffsetY,
52
+ targetWidth: state.targetWidth,
53
+ targetHeight: state.targetHeight,
54
+ transitioning: state.transitioning
55
+ },
56
+ inputVideo: {
57
+ resolution: state.inputVideoResolution,
58
+ frameRate: state.inputVideoFrameRate,
59
+ aspectRatio: state.inputVideoAspectRatio,
60
+ hasInputVideo: state.hasInputVideo
61
+ }
62
+ });
63
+ },
64
+ post: ({ runtime }) => async (req, res) => {
65
+ const body = req.body;
66
+ if (!body.mode || (body.mode !== 'percentage' && body.mode !== 'pixel')) {
67
+ return res.status(400).json({
68
+ error: 'Invalid mode',
69
+ details: 'Mode must be either "percentage" or "pixel"'
70
+ });
71
+ }
72
+ if (body.mode === 'percentage') {
73
+ const { offsetX, offsetY, width, height } = body;
74
+ if (typeof offsetX !== 'number' || typeof offsetY !== 'number' ||
75
+ typeof width !== 'number' || typeof height !== 'number') {
76
+ return res.status(400).json({
77
+ error: 'Invalid parameters',
78
+ details: 'offsetX, offsetY, width, and height must be numbers'
79
+ });
80
+ }
81
+ if (offsetX < 0 || offsetX > 100 || offsetY < 0 || offsetY > 100 ||
82
+ width <= 0 || width > 100 || height <= 0 || height > 100) {
83
+ return res.status(400).json({
84
+ error: 'Invalid range',
85
+ details: 'Percentage values must be 0-100, width/height must be > 0'
86
+ });
87
+ }
88
+ if (offsetX + width > 100 || offsetY + height > 100) {
89
+ return res.status(400).json({
90
+ error: 'Invalid crop region',
91
+ details: 'Crop region extends beyond video bounds'
92
+ });
93
+ }
94
+ }
95
+ else {
96
+ const { offsetXPx, offsetYPx, widthPx, heightPx } = body;
97
+ if (typeof offsetXPx !== 'number' || typeof offsetYPx !== 'number' ||
98
+ typeof widthPx !== 'number' || typeof heightPx !== 'number') {
99
+ return res.status(400).json({
100
+ error: 'Invalid parameters',
101
+ details: 'offsetXPx, offsetYPx, widthPx, and heightPx must be numbers'
102
+ });
103
+ }
104
+ if (offsetXPx < 0 || offsetYPx < 0 || widthPx <= 0 || heightPx <= 0) {
105
+ return res.status(400).json({
106
+ error: 'Invalid range',
107
+ details: 'Pixel values must be non-negative, width/height must be > 0'
108
+ });
109
+ }
110
+ }
111
+ runtime.updates.sendCommand({
112
+ type: 'update-zoom',
113
+ ...body
114
+ });
115
+ res.status(204).send();
116
+ }
117
+ }
118
+ });
119
+ }
120
+ }
121
+ exports.default = ZoomToDefinition;
122
+ class ZoomTo {
123
+ id;
124
+ relatedMediaNodes = new runtime_types_1.RelatedMediaNodes();
125
+ norsk;
126
+ cfg;
127
+ videoSource;
128
+ composeNode;
129
+ initialised;
130
+ updates;
131
+ currentVideo;
132
+ output;
133
+ currentOffsetX;
134
+ currentOffsetY;
135
+ currentWidth;
136
+ currentHeight;
137
+ targetOffsetX;
138
+ targetOffsetY;
139
+ targetWidth;
140
+ targetHeight;
141
+ transitioning = false;
142
+ static async create(norsk, cfg, updates) {
143
+ const node = new ZoomTo(norsk, cfg, updates);
144
+ await node.initialised;
145
+ return node;
146
+ }
147
+ constructor(norsk, cfg, updates) {
148
+ this.cfg = cfg;
149
+ this.id = cfg.id;
150
+ this.norsk = norsk;
151
+ this.updates = updates;
152
+ this.currentOffsetX = this.targetOffsetX = cfg.offsetX;
153
+ this.currentOffsetY = this.targetOffsetY = cfg.offsetY;
154
+ this.currentWidth = this.targetWidth = cfg.width;
155
+ this.currentHeight = this.targetHeight = cfg.height;
156
+ this.initialised = this.initialise();
157
+ }
158
+ async initialise() {
159
+ this.updateZoomState();
160
+ this.updateVideoState();
161
+ (0, logging_1.debuglog)("ZoomTo component initialized", { id: this.id, config: this.cfg });
162
+ }
163
+ updateZoomState() {
164
+ this.updates.raiseEvent({
165
+ type: 'zoom-updated',
166
+ currentOffsetX: this.currentOffsetX,
167
+ currentOffsetY: this.currentOffsetY,
168
+ currentWidth: this.currentWidth,
169
+ currentHeight: this.currentHeight,
170
+ targetOffsetX: this.targetOffsetX,
171
+ targetOffsetY: this.targetOffsetY,
172
+ targetWidth: this.targetWidth,
173
+ targetHeight: this.targetHeight,
174
+ transitioning: this.transitioning
175
+ });
176
+ }
177
+ updateVideoState() {
178
+ this.updates.raiseEvent({
179
+ type: 'input-video-changed',
180
+ hasInputVideo: !!this.currentVideo,
181
+ inputVideoResolution: this.currentVideo ? {
182
+ width: this.currentVideo.width,
183
+ height: this.currentVideo.height
184
+ } : undefined,
185
+ inputVideoFrameRate: this.currentVideo?.frameRate ? {
186
+ frames: this.currentVideo.frameRate.frames,
187
+ seconds: this.currentVideo.frameRate.seconds
188
+ } : undefined,
189
+ inputVideoAspectRatio: this.currentVideo ?
190
+ this.currentVideo.width / this.currentVideo.height : undefined
191
+ });
192
+ }
193
+ async subscribe(sources) {
194
+ this.videoSource = sources[0];
195
+ await this.handleContext();
196
+ }
197
+ async handleContext() {
198
+ const video = this.videoSource?.metadata;
199
+ if (!video || !this.videoSource || video.message.case !== 'video') {
200
+ await this.composeNode?.close();
201
+ await this.output?.close();
202
+ this.composeNode = undefined;
203
+ this.currentVideo = undefined;
204
+ this.output = undefined;
205
+ this.updateVideoState();
206
+ return;
207
+ }
208
+ const nextVideo = video.message.value;
209
+ (0, logging_1.debuglog)("Creating compose for zoomTo", { id: this.id, metadata: nextVideo });
210
+ this.currentVideo = nextVideo;
211
+ this.updateVideoState();
212
+ if (!this.composeNode) {
213
+ (0, logging_1.debuglog)("Creating compose node for zoomTo", {
214
+ id: this.id,
215
+ inputSize: { width: nextVideo.width, height: nextVideo.height },
216
+ outputSize: this.cfg.outputResolution
217
+ });
218
+ const hardwareAcceleration = (0, config_1.contractHardwareAcceleration)(this.cfg.__global.hardware, ["nvidia", "quadra"]);
219
+ const thisCompose = this.composeNode = await this.norsk.processor.transform.videoCompose({
220
+ onCreate: (n) => {
221
+ this.relatedMediaNodes.addInput(n);
222
+ },
223
+ onClose: () => {
224
+ this.relatedMediaNodes.removeInput(thisCompose);
225
+ },
226
+ id: `${this.id}-compose`,
227
+ referenceStream: 'video',
228
+ hardwareAcceleration,
229
+ outputPixelFormat: hardwareAcceleration == 'quadra' ? 'bgra' : undefined,
230
+ outputResolution: this.cfg.outputResolution,
231
+ parts: [this.createVideoPart()]
232
+ });
233
+ }
234
+ const thisSko = this.output = await this.norsk.processor.transform.streamKeyOverride({
235
+ id: `${this.id}-output`,
236
+ onCreate: (n) => {
237
+ this.relatedMediaNodes.addOutput(n);
238
+ },
239
+ onClose: () => {
240
+ this.relatedMediaNodes.removeOutput(thisSko);
241
+ },
242
+ streamKey: {
243
+ programNumber: this.videoSource.definition.programNumber ?? 1,
244
+ streamId: this.videoSource.definition.streamId ?? 256,
245
+ sourceName: this.videoSource.definition.sourceName ?? this.id,
246
+ renditionName: this.videoSource.definition.renditionName ?? 'default'
247
+ }
248
+ });
249
+ this.output.subscribe([
250
+ { source: this.composeNode, sourceSelector: norsk_sdk_1.selectVideo }
251
+ ]);
252
+ this.relatedMediaNodes.addOutput(this.output);
253
+ this.doSubs();
254
+ }
255
+ createVideoPart() {
256
+ return {
257
+ pin: "video",
258
+ opacity: 1.0,
259
+ zIndex: 0,
260
+ compose: norsk_sdk_1.VideoComposeDefaults.percentage({
261
+ sourceRect: {
262
+ x: this.currentOffsetX,
263
+ y: this.currentOffsetY,
264
+ width: this.currentWidth,
265
+ height: this.currentHeight
266
+ },
267
+ destRect: {
268
+ x: 0,
269
+ y: 0,
270
+ width: 100,
271
+ height: 100
272
+ }
273
+ })
274
+ };
275
+ }
276
+ doSubs() {
277
+ if (!this.composeNode || !this.videoSource)
278
+ return;
279
+ this.composeNode.subscribeToPins([
280
+ this.videoSource.selectToPin("video")
281
+ ]);
282
+ }
283
+ async updateZoom(command) {
284
+ if (!this.currentVideo) {
285
+ (0, logging_1.debuglog)("Cannot update zoom - no input video", { id: this.id });
286
+ return;
287
+ }
288
+ let newOffsetX, newOffsetY, newWidth, newHeight;
289
+ if (command.mode === 'percentage') {
290
+ newOffsetX = command.offsetX;
291
+ newOffsetY = command.offsetY;
292
+ newWidth = command.width;
293
+ newHeight = command.height;
294
+ }
295
+ else {
296
+ newOffsetX = pixelsToPercentage(command.offsetXPx, this.currentVideo.width);
297
+ newOffsetY = pixelsToPercentage(command.offsetYPx, this.currentVideo.height);
298
+ newWidth = pixelsToPercentage(command.widthPx, this.currentVideo.width);
299
+ newHeight = pixelsToPercentage(command.heightPx, this.currentVideo.height);
300
+ }
301
+ this.targetOffsetX = newOffsetX;
302
+ this.targetOffsetY = newOffsetY;
303
+ this.targetWidth = newWidth;
304
+ this.targetHeight = newHeight;
305
+ this.currentOffsetX = newOffsetX;
306
+ this.currentOffsetY = newOffsetY;
307
+ this.currentWidth = newWidth;
308
+ this.currentHeight = newHeight;
309
+ (0, logging_1.debuglog)("Updating zoom", {
310
+ id: this.id,
311
+ mode: command.mode,
312
+ newZoom: { offsetX: newOffsetX, offsetY: newOffsetY, width: newWidth, height: newHeight }
313
+ });
314
+ if (this.composeNode) {
315
+ this.composeNode.updateConfig({
316
+ parts: [this.createVideoPart()]
317
+ });
318
+ }
319
+ this.updateZoomState();
320
+ }
321
+ }
322
+ exports.ZoomTo = ZoomTo;
323
+ //# sourceMappingURL=runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/processor.zoomTo/runtime.ts"],"names":[],"mappings":";;;;;;AAAA,qDAA4J;AAC5J,wFAA0Q;AAC1Q,yEAAuE;AACvE,uEAA0F;AAC1F,mEAA6E;AAE7E,gDAAwB;AAExB,iEAAoE;AACpE,+CAAoD;AAIpD,SAAS,kBAAkB,CAAC,MAAc,EAAE,SAAiB;IAC3D,OAAO,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACxD,CAAC;AAED,MAAqB,gBAAgB;IACnC,KAAK,CAAC,MAAM,CAAC,KAAY,EAAE,GAAiB,EAAE,EAAqB,EAAE,OAA+D;QAClI,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QAC9D,EAAE,CAAC,IAAI,CAAC,CAAC;IACX,CAAC;IAED,KAAK,CAAC,aAAa,CAA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,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC;QAChC,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,YAAY,GAAG,SAAS,CAAC;QAG9B,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC;QACjC,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC;QAC7B,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAE/B,IAAA,kBAAQ,EAAC,eAAe,EAAE;YACxB,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE;SAC1F,CAAC,CAAC;QAGH,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC;gBAC5B,KAAK,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;aAChC,CAAC,CAAC;QACL,CAAC;QAED,IAAI,CAAC,eAAe,EAAE,CAAC;IACzB,CAAC;CACF;AAxOD,wBAwOC"}
@@ -0,0 +1,182 @@
1
+ export interface paths {
2
+ "/zoom": {
3
+ parameters: {
4
+ query?: never;
5
+ header?: never;
6
+ path?: never;
7
+ cookie?: never;
8
+ };
9
+ get: {
10
+ parameters: {
11
+ query?: never;
12
+ header?: never;
13
+ path?: never;
14
+ cookie?: never;
15
+ };
16
+ requestBody?: never;
17
+ responses: {
18
+ 200: {
19
+ headers: {
20
+ [name: string]: unknown;
21
+ };
22
+ content: {
23
+ "application/json": {
24
+ zoom?: {
25
+ currentOffsetX?: number;
26
+ currentOffsetY?: number;
27
+ currentWidth?: number;
28
+ currentHeight?: number;
29
+ targetOffsetX?: number;
30
+ targetOffsetY?: number;
31
+ targetWidth?: number;
32
+ targetHeight?: number;
33
+ transitioning?: boolean;
34
+ };
35
+ inputVideo?: {
36
+ resolution?: components["schemas"]["resolution"];
37
+ frameRate?: components["schemas"]["frameRate"];
38
+ aspectRatio?: number;
39
+ hasInputVideo?: boolean;
40
+ };
41
+ };
42
+ };
43
+ };
44
+ };
45
+ };
46
+ put?: never;
47
+ post: {
48
+ parameters: {
49
+ query?: never;
50
+ header?: never;
51
+ path?: never;
52
+ cookie?: never;
53
+ };
54
+ requestBody: {
55
+ content: {
56
+ "application/json": {
57
+ mode: "percentage";
58
+ offsetX: number;
59
+ offsetY: number;
60
+ width: number;
61
+ height: number;
62
+ transitionDurationMs?: number;
63
+ transitionEasing?: "linear" | "ease_in" | "ease_out" | "ease_in_out";
64
+ } | {
65
+ mode: "pixel";
66
+ offsetXPx: number;
67
+ offsetYPx: number;
68
+ widthPx: number;
69
+ heightPx: number;
70
+ transitionDurationMs?: number;
71
+ transitionEasing?: "linear" | "ease_in" | "ease_out" | "ease_in_out";
72
+ };
73
+ };
74
+ };
75
+ responses: {
76
+ 204: {
77
+ headers: {
78
+ [name: string]: unknown;
79
+ };
80
+ content?: never;
81
+ };
82
+ 400: {
83
+ headers: {
84
+ [name: string]: unknown;
85
+ };
86
+ content?: never;
87
+ };
88
+ };
89
+ };
90
+ delete?: never;
91
+ options?: never;
92
+ head?: never;
93
+ patch?: never;
94
+ trace?: never;
95
+ };
96
+ }
97
+ export type webhooks = Record<string, never>;
98
+ export interface components {
99
+ schemas: {
100
+ zoomToConfig: {
101
+ id: string;
102
+ displayName: string;
103
+ offsetX: number;
104
+ offsetY: number;
105
+ width: number;
106
+ height: number;
107
+ outputResolution: components["schemas"]["resolution"];
108
+ transitionDurationMs: number;
109
+ transitionEasing: "linear" | "ease_in" | "ease_out" | "ease_in_out";
110
+ notes?: string;
111
+ };
112
+ resolution: {
113
+ width: number;
114
+ height: number;
115
+ };
116
+ frameRate: {
117
+ frames: number;
118
+ seconds: number;
119
+ };
120
+ zoomToState: {
121
+ currentOffsetX?: number;
122
+ currentOffsetY?: number;
123
+ currentWidth?: number;
124
+ currentHeight?: number;
125
+ targetOffsetX?: number;
126
+ targetOffsetY?: number;
127
+ targetWidth?: number;
128
+ targetHeight?: number;
129
+ inputVideoResolution?: components["schemas"]["resolution"];
130
+ inputVideoFrameRate?: components["schemas"]["frameRate"];
131
+ inputVideoAspectRatio?: number;
132
+ transitioning?: boolean;
133
+ hasInputVideo?: boolean;
134
+ };
135
+ zoomToCommand: {
136
+ type: "update-zoom";
137
+ mode: "percentage";
138
+ offsetX: number;
139
+ offsetY: number;
140
+ width: number;
141
+ height: number;
142
+ transitionDurationMs: number;
143
+ transitionEasing: "linear" | "ease_in" | "ease_out" | "ease_in_out";
144
+ } | {
145
+ type: "update-zoom";
146
+ mode: "pixel";
147
+ offsetXPx: number;
148
+ offsetYPx: number;
149
+ widthPx: number;
150
+ heightPx: number;
151
+ transitionDurationMs: number;
152
+ transitionEasing: "linear" | "ease_in" | "ease_out" | "ease_in_out";
153
+ };
154
+ zoomToEvent: {
155
+ type: "zoom-updated";
156
+ currentOffsetX: number;
157
+ currentOffsetY: number;
158
+ currentWidth: number;
159
+ currentHeight: number;
160
+ targetOffsetX: number;
161
+ targetOffsetY: number;
162
+ targetWidth: number;
163
+ targetHeight: number;
164
+ transitioning: boolean;
165
+ } | {
166
+ type: "input-video-changed";
167
+ hasInputVideo: boolean;
168
+ inputVideoResolution?: components["schemas"]["resolution"];
169
+ inputVideoFrameRate?: components["schemas"]["frameRate"];
170
+ inputVideoAspectRatio?: number;
171
+ } | {
172
+ type: "transition-complete";
173
+ };
174
+ };
175
+ responses: never;
176
+ parameters: never;
177
+ requestBodies: never;
178
+ headers: never;
179
+ pathItems: never;
180
+ }
181
+ export type $defs = Record<string, never>;
182
+ export type operations = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/processor.zoomTo/types.ts"],"names":[],"mappings":""}