@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,329 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: SRT Listener Input Component
4
+ version: 1.0.0
5
+
6
+ paths:
7
+ /disconnect:
8
+ post:
9
+ summary: Resets a connected SRT stream
10
+ description: Disconnects an active SRT stream by stream id
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: ['streamId']
19
+ properties:
20
+ streamId:
21
+ type: string
22
+ description: The ID 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 SRT stream
57
+ description: Re-enables a previously disconnected SRT stream
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
+ required: ['streamId']
66
+ properties:
67
+ streamId:
68
+ type: string
69
+ description: The Id of the stream to re-enable
70
+ example: camera1
71
+ responses:
72
+ 204:
73
+ description: The stream was successfully re-enabled
74
+ 400:
75
+ description: Stream is already connected or invalid request
76
+ content:
77
+ application/json:
78
+ schema:
79
+ type: object
80
+ properties:
81
+ error:
82
+ type: string
83
+ description: A description of the error
84
+ details:
85
+ type: string
86
+ description: Additional error details
87
+ 500:
88
+ description: Failed to re-enable stream
89
+ content:
90
+ application/json:
91
+ schema:
92
+ type: object
93
+ properties:
94
+ error:
95
+ type: string
96
+ description: A description of the error
97
+ details:
98
+ type: string
99
+ description: Additional error details
100
+ /disable:
101
+ post:
102
+ summary: Disables an SRT stream by id
103
+ description:
104
+ x-route-type: instance
105
+ requestBody:
106
+ description: The stream to disable
107
+ content:
108
+ application/json:
109
+ schema:
110
+ type: object
111
+ required: ['streamId']
112
+ properties:
113
+ streamId:
114
+ type: string
115
+ description: The Id of the stream to disable
116
+ example: camera1
117
+ responses:
118
+ 204:
119
+ description: The stream was successfully disabled
120
+ 400:
121
+ description: The stream isn't known about, or invalid request
122
+ content:
123
+ application/json:
124
+ schema:
125
+ type: object
126
+ properties:
127
+ error:
128
+ type: string
129
+ description: A description of the error
130
+ details:
131
+ type: string
132
+ description: Additional error details
133
+ 500:
134
+ description: Failed to disable stream
135
+ content:
136
+ application/json:
137
+ schema:
138
+ type: object
139
+ properties:
140
+ error:
141
+ type: string
142
+ description: A description of the error
143
+ details:
144
+ type: string
145
+ description: Additional error details
146
+
147
+ components:
148
+ schemas:
149
+ Config:
150
+ type: object
151
+ properties:
152
+ id:
153
+ type: string
154
+ description: Component ID
155
+ displayName:
156
+ type: string
157
+ description: Component display name
158
+ notes:
159
+ type: string
160
+ description: Optional notes about the component
161
+ port:
162
+ type: number
163
+ description: The port to listen on for SRT connections
164
+ minimum: 1
165
+ maximum: 65535
166
+ host:
167
+ type: string
168
+ description: The IP or hostname to bind to
169
+ passphrase:
170
+ type: string
171
+ description: Passphrase for encryption
172
+ sourceNames:
173
+ type: string
174
+ enum: ["permissive", "strict"]
175
+ description: Stream ID assignment mode
176
+ streamIds:
177
+ type: array
178
+ items:
179
+ type: string
180
+ description: List of expected stream IDs
181
+ socketOptions:
182
+ $ref: '../shared/srt.yaml#/components/schemas/SocketOptions'
183
+ streamMappings:
184
+ $ref: '../../../core/src/types/base.yml#/components/schemas/StreamMappingConfiguration'
185
+ required:
186
+ - id
187
+ - displayName
188
+ - sourceNames
189
+ - streamIds
190
+ - socketOptions
191
+ - port
192
+ - host
193
+
194
+ State:
195
+ type: object
196
+ properties:
197
+ connectedStreams:
198
+ type: array
199
+ items:
200
+ type: string
201
+ disabledStreams:
202
+ type: array
203
+ items:
204
+ type: string
205
+ metrics:
206
+ $ref: '../shared/srt.yaml#/components/schemas/SrtListenerMetrics'
207
+ names:
208
+ type: array
209
+ items:
210
+ type: string
211
+ required:
212
+ - connectedStreams
213
+ - disabledStreams
214
+ - metrics
215
+ - names
216
+
217
+ Commands:
218
+ oneOf:
219
+ - $ref: '#/components/schemas/DisableSourceCommand'
220
+ - $ref: '#/components/schemas/EnableSourceCommand'
221
+ - $ref: '#/components/schemas/ResetSourceCommand'
222
+
223
+ DisableSourceCommand:
224
+ type: object
225
+ properties:
226
+ type:
227
+ type: string
228
+ enum: ["disable-source"]
229
+ streamId:
230
+ type: string
231
+ required:
232
+ - type
233
+ - streamId
234
+
235
+ EnableSourceCommand:
236
+ type: object
237
+ properties:
238
+ type:
239
+ type: string
240
+ enum: ["enable-source"]
241
+ streamId:
242
+ type: string
243
+ required:
244
+ - type
245
+ - streamId
246
+
247
+ ResetSourceCommand:
248
+ type: object
249
+ properties:
250
+ type:
251
+ type: string
252
+ enum: ["reset-source"]
253
+ streamId:
254
+ type: string
255
+ required:
256
+ - type
257
+ - streamId
258
+
259
+ Events:
260
+ oneOf:
261
+ - $ref: '#/components/schemas/SourceConnectedEvent'
262
+ - $ref: '#/components/schemas/SourceDisconnectedEvent'
263
+ - $ref: '#/components/schemas/SourceEnabledEvent'
264
+ - $ref: '#/components/schemas/SourceDisabledEvent'
265
+ - $ref: '#/components/schemas/MetricsUpdatedEvent'
266
+
267
+ SourceConnectedEvent:
268
+ type: object
269
+ properties:
270
+ type:
271
+ type: string
272
+ enum: ["source-connected"]
273
+ streamId:
274
+ type: string
275
+ index:
276
+ type: number
277
+ required:
278
+ - type
279
+ - streamId
280
+ - index
281
+
282
+ SourceDisconnectedEvent:
283
+ type: object
284
+ properties:
285
+ type:
286
+ type: string
287
+ enum: ["source-disconnected"]
288
+ streamId:
289
+ type: string
290
+ required:
291
+ - type
292
+ - streamId
293
+
294
+ SourceEnabledEvent:
295
+ type: object
296
+ properties:
297
+ type:
298
+ type: string
299
+ enum: ["source-enabled"]
300
+ streamId:
301
+ type: string
302
+ required:
303
+ - type
304
+ - streamId
305
+
306
+ SourceDisabledEvent:
307
+ type: object
308
+ properties:
309
+ type:
310
+ type: string
311
+ enum: ["source-disabled"]
312
+ streamId:
313
+ type: string
314
+ required:
315
+ - type
316
+ - streamId
317
+
318
+ MetricsUpdatedEvent:
319
+ type: object
320
+ properties:
321
+ type:
322
+ type: string
323
+ enum: ["metrics-updated"]
324
+ metrics:
325
+ $ref: '../shared/srt.yaml#/components/schemas/SrtListenerMetrics'
326
+ required:
327
+ - type
328
+ - metrics
329
+