@norskvideo/norsk-studio-built-ins 1.27.0-2025-07-06-336ac6c6 → 1.27.0-2025-07-08-02bba8fe

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 (106) hide show
  1. package/client/info.js +226 -7
  2. package/client/style.css +8 -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 +204 -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 +80 -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 +136 -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 +257 -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 +79 -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 +28 -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 +177 -104
  35. package/lib/output.autoCmaf/info.js +20 -0
  36. package/lib/output.autoCmaf/info.js.map +1 -1
  37. package/lib/output.autoCmaf/runtime.d.ts +2 -1
  38. package/lib/output.autoCmaf/runtime.js +35 -7
  39. package/lib/output.autoCmaf/runtime.js.map +1 -1
  40. package/lib/output.autoCmaf/types.d.ts +1 -0
  41. package/lib/output.autoCmaf/types.yaml +3 -0
  42. package/lib/output.cmafMultiVariant/runtime.js +2 -2
  43. package/lib/output.cmafMultiVariant/runtime.js.map +1 -1
  44. package/lib/output.cmafPlaylist/info.js +19 -0
  45. package/lib/output.cmafPlaylist/info.js.map +1 -1
  46. package/lib/output.cmafPlaylist/runtime.js +6 -3
  47. package/lib/output.cmafPlaylist/runtime.js.map +1 -1
  48. package/lib/output.cmafPlaylist/types.d.ts +1 -0
  49. package/lib/output.cmafPlaylist/types.yaml +3 -0
  50. package/lib/output.preview/runtime.js +2 -2
  51. package/lib/output.preview/runtime.js.map +1 -1
  52. package/lib/output.statistics/info.d.ts +172 -2
  53. package/lib/output.statistics/types.d.ts +400 -72
  54. package/lib/output.statistics/types.source.yaml +119 -0
  55. package/lib/output.statistics/types.yaml +331 -91
  56. package/lib/output.tsMediaPlaylist/runtime.js +2 -2
  57. package/lib/output.tsMediaPlaylist/runtime.js.map +1 -1
  58. package/lib/output.tsMultiVariant/runtime.js +1 -1
  59. package/lib/output.tsMultiVariant/runtime.js.map +1 -1
  60. package/lib/output.whep/runtime.js +3 -1
  61. package/lib/output.whep/runtime.js.map +1 -1
  62. package/lib/processor.audioEncoder/info.d.ts +10 -2
  63. package/lib/processor.audioEncoder/types.d.ts +23 -12
  64. package/lib/processor.audioEncoder/types.source.yaml +78 -0
  65. package/lib/processor.audioEncoder/types.yaml +101 -29
  66. package/lib/processor.fixedLadder/info.d.ts +182 -7
  67. package/lib/processor.fixedLadder/types.d.ts +619 -19
  68. package/lib/processor.fixedLadder/types.source.yaml +462 -0
  69. package/lib/processor.fixedLadder/types.yaml +334 -115
  70. package/lib/processor.makeProgram/info.d.ts +1 -0
  71. package/lib/processor.makeProgram/info.js +9 -0
  72. package/lib/processor.makeProgram/info.js.map +1 -1
  73. package/lib/processor.makeProgram/runtime.d.ts +2 -1
  74. package/lib/processor.makeProgram/runtime.js +14 -1
  75. package/lib/processor.makeProgram/runtime.js.map +1 -1
  76. package/lib/processor.makeProgram/types.d.ts +1 -0
  77. package/lib/processor.makeProgram/types.yaml +3 -1
  78. package/lib/processor.smartSingleMediaSwitch/info.d.ts +12 -4
  79. package/lib/processor.smartSingleMediaSwitch/types.d.ts +22 -18
  80. package/lib/processor.smartSingleMediaSwitch/types.source.yaml +115 -0
  81. package/lib/processor.smartSingleMediaSwitch/types.yaml +145 -50
  82. package/lib/processor.smartSourceSwitch/info.d.ts +12 -4
  83. package/lib/processor.smartSourceSwitch/types.d.ts +22 -18
  84. package/lib/processor.smartSourceSwitch/types.source.yaml +97 -0
  85. package/lib/processor.smartSourceSwitch/types.yaml +142 -48
  86. package/lib/processor.syncExternalAudio/info.d.ts +1 -0
  87. package/lib/processor.syncExternalAudio/types.d.ts +1 -0
  88. package/lib/processor.zoomTo/info.d.ts +54 -0
  89. package/lib/processor.zoomTo/info.js +172 -0
  90. package/lib/processor.zoomTo/info.js.map +1 -0
  91. package/lib/processor.zoomTo/runtime-types.d.ts +11 -0
  92. package/lib/processor.zoomTo/runtime-types.js +3 -0
  93. package/lib/processor.zoomTo/runtime-types.js.map +1 -0
  94. package/lib/processor.zoomTo/runtime.d.ts +45 -0
  95. package/lib/processor.zoomTo/runtime.js +307 -0
  96. package/lib/processor.zoomTo/runtime.js.map +1 -0
  97. package/lib/processor.zoomTo/types.d.ts +182 -0
  98. package/lib/processor.zoomTo/types.js +3 -0
  99. package/lib/processor.zoomTo/types.js.map +1 -0
  100. package/lib/processor.zoomTo/types.yaml +356 -0
  101. package/lib/test/auto-cmaf.js +7 -4
  102. package/lib/test/auto-cmaf.js.map +1 -1
  103. package/lib/test/zoom-to.d.ts +1 -0
  104. package/lib/test/zoom-to.js +345 -0
  105. package/lib/test/zoom-to.js.map +1 -0
  106. package/package.json +3 -3
@@ -0,0 +1,319 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: RTMP Input Component
4
+ version: 1.0.0
5
+
6
+ paths:
7
+ /disconnect:
8
+ post:
9
+ summary: Disconnect an RTMP stream
10
+ description: Disconnects an active RTMP stream by stream name
11
+ x-route-type: instance
12
+ requestBody:
13
+ description: The stream to disconnect
14
+ content:
15
+ application/json:
16
+ schema:
17
+ type: object
18
+ required: ['streamName']
19
+ properties:
20
+ streamName:
21
+ type: string
22
+ description: The name of the stream to disconnect
23
+ example: camera1
24
+ responses:
25
+ 204:
26
+ description: The stream was successfully disconnected
27
+ 404:
28
+ description: The specified stream was not found
29
+ content:
30
+ application/json:
31
+ schema:
32
+ type: object
33
+ properties:
34
+ error:
35
+ type: string
36
+ description: A description of the error
37
+ details:
38
+ type: string
39
+ description: Additional error details
40
+ 500:
41
+ description: Failed to disconnect the stream
42
+ content:
43
+ application/json:
44
+ schema:
45
+ type: object
46
+ properties:
47
+ error:
48
+ type: string
49
+ description: A description of the error
50
+ details:
51
+ type: string
52
+ description: Additional error details
53
+
54
+ /enable:
55
+ post:
56
+ summary: Re-enables a disabled RTMP stream
57
+ description: If no stream is specified, all streams will be enabled
58
+ x-route-type: instance
59
+ requestBody:
60
+ description: The stream to re-enable
61
+ content:
62
+ application/json:
63
+ schema:
64
+ type: object
65
+ properties:
66
+ streamName:
67
+ type: string
68
+ description: The name of the stream to re-enable
69
+ example: camera1
70
+ responses:
71
+ 204:
72
+ description: The stream was successfully re-enabled
73
+ 400:
74
+ description: Stream is already connected or invalid request
75
+ content:
76
+ application/json:
77
+ schema:
78
+ type: object
79
+ properties:
80
+ error:
81
+ type: string
82
+ description: A description of the error
83
+ details:
84
+ type: string
85
+ description: Additional error details
86
+ 500:
87
+ description: Failed to re-enable stream
88
+ content:
89
+ application/json:
90
+ schema:
91
+ type: object
92
+ properties:
93
+ error:
94
+ type: string
95
+ description: A description of the error
96
+ details:
97
+ type: string
98
+ description: Additional error details
99
+
100
+ /disable:
101
+ post:
102
+ summary: Disables an RTMP stream by id
103
+ description: If no stream is specified, all streams will be disabled
104
+ x-route-type: instance
105
+ requestBody:
106
+ description: A stream to disable
107
+ content:
108
+ application/json:
109
+ schema:
110
+ type: object
111
+ properties:
112
+ streamName:
113
+ type: string
114
+ description: The stream name to disable
115
+ example: camera1
116
+ responses:
117
+ 204:
118
+ description: The stream was successfully disabled
119
+ 400:
120
+ description: The stream isn't known about, or invalid request
121
+ content:
122
+ application/json:
123
+ schema:
124
+ type: object
125
+ properties:
126
+ error:
127
+ type: string
128
+ description: A description of the error
129
+ details:
130
+ type: string
131
+ description: Additional error details
132
+ 500:
133
+ description: Failed to disable stream
134
+ content:
135
+ application/json:
136
+ schema:
137
+ type: object
138
+ properties:
139
+ error:
140
+ type: string
141
+ description: A description of the error
142
+ details:
143
+ type: string
144
+ description: Additional error details
145
+
146
+ components:
147
+ schemas:
148
+ Config:
149
+ type: object
150
+ properties:
151
+ id:
152
+ type: string
153
+ description: Component ID
154
+ displayName:
155
+ type: string
156
+ description: Component display name
157
+ notes:
158
+ type: string
159
+ description: Optional notes about the component
160
+ port:
161
+ type: number
162
+ description: The port the RTMP server should listen on
163
+ minimum: 1
164
+ maximum: 65535
165
+ ssl:
166
+ type: boolean
167
+ description: Enable SSL/TLS for RTMP connections
168
+ appName:
169
+ type: string
170
+ description: RTMP application name to accept
171
+ streamNames:
172
+ type: array
173
+ items:
174
+ type: string
175
+ description: List of stream names to accept
176
+ streamMappings:
177
+ $ref: '../../../core/src/types/base.yml#/components/schemas/StreamMappingConfiguration'
178
+ initialState:
179
+ type: string
180
+ enum: ["enabled", "disabled"]
181
+ description: Initial state of the component
182
+ required:
183
+ - id
184
+ - displayName
185
+ - appName
186
+ - streamNames
187
+
188
+ State:
189
+ type: object
190
+ properties:
191
+ connectedStreams:
192
+ type: array
193
+ items:
194
+ type: string
195
+ disabledStreams:
196
+ type: array
197
+ items:
198
+ type: string
199
+ required:
200
+ - connectedStreams
201
+ - disabledStreams
202
+
203
+ Commands:
204
+ oneOf:
205
+ - $ref: '#/components/schemas/DisableSourceCommand'
206
+ - $ref: '#/components/schemas/EnableSourceCommand'
207
+ - $ref: '#/components/schemas/ResetSourceCommand'
208
+ - $ref: '#/components/schemas/DisableCommand'
209
+ - $ref: '#/components/schemas/EnableCommand'
210
+
211
+ DisableSourceCommand:
212
+ type: object
213
+ properties:
214
+ type:
215
+ type: string
216
+ enum: ["disable-source"]
217
+ streamName:
218
+ type: string
219
+ required:
220
+ - type
221
+ - streamName
222
+
223
+ EnableSourceCommand:
224
+ type: object
225
+ properties:
226
+ type:
227
+ type: string
228
+ enum: ["enable-source"]
229
+ streamName:
230
+ type: string
231
+ required:
232
+ - type
233
+ - streamName
234
+
235
+ ResetSourceCommand:
236
+ type: object
237
+ properties:
238
+ type:
239
+ type: string
240
+ enum: ["reset-source"]
241
+ streamName:
242
+ type: string
243
+ required:
244
+ - type
245
+ - streamName
246
+
247
+ DisableCommand:
248
+ type: object
249
+ properties:
250
+ type:
251
+ type: string
252
+ enum: ["disable"]
253
+ required:
254
+ - type
255
+
256
+ EnableCommand:
257
+ type: object
258
+ properties:
259
+ type:
260
+ type: string
261
+ enum: ["enable"]
262
+ required:
263
+ - type
264
+
265
+ Events:
266
+ oneOf:
267
+ - $ref: '#/components/schemas/SourceConnectedEvent'
268
+ - $ref: '#/components/schemas/SourceDisconnectedEvent'
269
+ - $ref: '#/components/schemas/SourceEnabledEvent'
270
+ - $ref: '#/components/schemas/SourceDisabledEvent'
271
+
272
+ SourceConnectedEvent:
273
+ type: object
274
+ properties:
275
+ type:
276
+ type: string
277
+ enum: ["source-connected"]
278
+ streamName:
279
+ type: string
280
+ required:
281
+ - type
282
+ - streamName
283
+
284
+ SourceDisconnectedEvent:
285
+ type: object
286
+ properties:
287
+ type:
288
+ type: string
289
+ enum: ["source-disconnected"]
290
+ streamName:
291
+ type: string
292
+ required:
293
+ - type
294
+ - streamName
295
+
296
+ SourceEnabledEvent:
297
+ type: object
298
+ properties:
299
+ type:
300
+ type: string
301
+ enum: ["source-enabled"]
302
+ streamName:
303
+ type: string
304
+ required:
305
+ - type
306
+ - streamName
307
+
308
+ SourceDisabledEvent:
309
+ type: object
310
+ properties:
311
+ type:
312
+ type: string
313
+ enum: ["source-disabled"]
314
+ streamName:
315
+ type: string
316
+ required:
317
+ - type
318
+ - streamName
319
+