@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.
- package/client/info.js +665 -284
- package/client/style.css +46 -0
- package/lib/info.js +3 -1
- package/lib/info.js.map +1 -1
- package/lib/input.rtmp/info.d.ts +20 -1
- package/lib/input.rtmp/runtime.d.ts +20 -1
- package/lib/input.rtmp/types.d.ts +47 -27
- package/lib/input.rtmp/types.source.yaml +319 -0
- package/lib/input.rtmp/types.yaml +206 -131
- package/lib/input.silence/info.d.ts +4 -2
- package/lib/input.silence/types.d.ts +4 -7
- package/lib/input.silence/types.source.yaml +27 -0
- package/lib/input.silence/types.yaml +82 -4
- package/lib/input.srt-caller/info.d.ts +41 -4
- package/lib/input.srt-caller/types.d.ts +51 -43
- package/lib/input.srt-caller/types.source.yaml +70 -0
- package/lib/input.srt-caller/types.yaml +138 -24
- package/lib/input.srt-listener/info.d.ts +41 -4
- package/lib/input.srt-listener/runtime.d.ts +34 -3
- package/lib/input.srt-listener/types.d.ts +74 -44
- package/lib/input.srt-listener/types.source.yaml +329 -0
- package/lib/input.srt-listener/types.yaml +259 -132
- package/lib/input.udp-ts/info.d.ts +20 -1
- package/lib/input.udp-ts/types.d.ts +20 -25
- package/lib/input.udp-ts/types.source.yaml +40 -0
- package/lib/input.udp-ts/types.yaml +81 -3
- package/lib/input.videoTestCard/info.d.ts +8 -2
- package/lib/input.videoTestCard/types.d.ts +8 -10
- package/lib/input.videoTestCard/types.source.yaml +32 -0
- package/lib/input.videoTestCard/types.yaml +30 -6
- package/lib/input.whip/info.d.ts +7 -1
- package/lib/input.whip/types.d.ts +44 -28
- package/lib/input.whip/types.source.yaml +190 -0
- package/lib/input.whip/types.yaml +179 -104
- package/lib/output.autoCmaf/fullscreen.js +46 -1
- package/lib/output.autoCmaf/fullscreen.js.map +1 -1
- package/lib/output.autoCmaf/info.js +20 -0
- package/lib/output.autoCmaf/info.js.map +1 -1
- package/lib/output.autoCmaf/inline-view.d.ts +3 -2
- package/lib/output.autoCmaf/inline-view.js +72 -2
- package/lib/output.autoCmaf/inline-view.js.map +1 -1
- package/lib/output.autoCmaf/runtime.d.ts +2 -1
- package/lib/output.autoCmaf/runtime.js +41 -11
- package/lib/output.autoCmaf/runtime.js.map +1 -1
- package/lib/output.autoCmaf/types.d.ts +2 -0
- package/lib/output.autoCmaf/types.yaml +6 -0
- package/lib/output.cmafMultiVariant/runtime.js +2 -2
- package/lib/output.cmafMultiVariant/runtime.js.map +1 -1
- package/lib/output.cmafPlaylist/info.js +19 -0
- package/lib/output.cmafPlaylist/info.js.map +1 -1
- package/lib/output.cmafPlaylist/runtime.js +6 -3
- package/lib/output.cmafPlaylist/runtime.js.map +1 -1
- package/lib/output.cmafPlaylist/types.d.ts +1 -0
- package/lib/output.cmafPlaylist/types.yaml +3 -0
- package/lib/output.preview/inline-view.js +1 -1
- package/lib/output.preview/inline-view.js.map +1 -1
- package/lib/output.preview/runtime.js +2 -2
- package/lib/output.preview/runtime.js.map +1 -1
- package/lib/output.statistics/info.d.ts +172 -2
- package/lib/output.statistics/types.d.ts +400 -72
- package/lib/output.statistics/types.source.yaml +119 -0
- package/lib/output.statistics/types.yaml +333 -91
- package/lib/output.tsMediaPlaylist/runtime.js +2 -2
- package/lib/output.tsMediaPlaylist/runtime.js.map +1 -1
- package/lib/output.tsMultiVariant/runtime.js +1 -1
- package/lib/output.tsMultiVariant/runtime.js.map +1 -1
- package/lib/output.whep/runtime.js +3 -1
- package/lib/output.whep/runtime.js.map +1 -1
- package/lib/processor.audioEncoder/info.d.ts +10 -2
- package/lib/processor.audioEncoder/types.d.ts +23 -12
- package/lib/processor.audioEncoder/types.source.yaml +78 -0
- package/lib/processor.audioEncoder/types.yaml +103 -29
- package/lib/processor.browserOverlay/info.js +5 -3
- package/lib/processor.browserOverlay/info.js.map +1 -1
- package/lib/processor.browserOverlay/runtime.d.ts +2 -1
- package/lib/processor.browserOverlay/runtime.js +16 -2
- package/lib/processor.browserOverlay/runtime.js.map +1 -1
- package/lib/processor.fixedLadder/info.d.ts +182 -7
- package/lib/processor.fixedLadder/types.d.ts +619 -19
- package/lib/processor.fixedLadder/types.source.yaml +462 -0
- package/lib/processor.fixedLadder/types.yaml +336 -115
- package/lib/processor.makeProgram/info.d.ts +1 -0
- package/lib/processor.makeProgram/info.js +9 -0
- package/lib/processor.makeProgram/info.js.map +1 -1
- package/lib/processor.makeProgram/runtime.d.ts +2 -1
- package/lib/processor.makeProgram/runtime.js +14 -1
- package/lib/processor.makeProgram/runtime.js.map +1 -1
- package/lib/processor.makeProgram/types.d.ts +1 -0
- package/lib/processor.makeProgram/types.yaml +3 -1
- package/lib/processor.smartSingleMediaSwitch/info.d.ts +12 -4
- package/lib/processor.smartSingleMediaSwitch/types.d.ts +22 -18
- package/lib/processor.smartSingleMediaSwitch/types.source.yaml +115 -0
- package/lib/processor.smartSingleMediaSwitch/types.yaml +147 -50
- package/lib/processor.smartSourceSwitch/form-views.d.ts +6 -0
- package/lib/processor.smartSourceSwitch/form-views.js +11 -0
- package/lib/processor.smartSourceSwitch/form-views.js.map +1 -0
- package/lib/processor.smartSourceSwitch/info.d.ts +18 -4
- package/lib/processor.smartSourceSwitch/info.js +30 -0
- package/lib/processor.smartSourceSwitch/info.js.map +1 -1
- package/lib/processor.smartSourceSwitch/inline-view.js +9 -8
- package/lib/processor.smartSourceSwitch/inline-view.js.map +1 -1
- package/lib/processor.smartSourceSwitch/runtime.d.ts +4 -1
- package/lib/processor.smartSourceSwitch/runtime.js +56 -27
- package/lib/processor.smartSourceSwitch/runtime.js.map +1 -1
- package/lib/processor.smartSourceSwitch/types.d.ts +41 -18
- package/lib/processor.smartSourceSwitch/types.source.yaml +129 -0
- package/lib/processor.smartSourceSwitch/types.yaml +177 -48
- package/lib/processor.syncExternalAudio/info.d.ts +1 -0
- package/lib/processor.syncExternalAudio/types.d.ts +1 -0
- package/lib/processor.videoDecoder/info.js +4 -2
- package/lib/processor.videoDecoder/info.js.map +1 -1
- package/lib/processor.zoomTo/info.d.ts +54 -0
- package/lib/processor.zoomTo/info.js +174 -0
- package/lib/processor.zoomTo/info.js.map +1 -0
- package/lib/processor.zoomTo/runtime-types.d.ts +11 -0
- package/lib/processor.zoomTo/runtime-types.js +3 -0
- package/lib/processor.zoomTo/runtime-types.js.map +1 -0
- package/lib/processor.zoomTo/runtime.d.ts +45 -0
- package/lib/processor.zoomTo/runtime.js +323 -0
- package/lib/processor.zoomTo/runtime.js.map +1 -0
- package/lib/processor.zoomTo/types.d.ts +182 -0
- package/lib/processor.zoomTo/types.js +3 -0
- package/lib/processor.zoomTo/types.js.map +1 -0
- package/lib/processor.zoomTo/types.yaml +356 -0
- package/lib/test/auto-cmaf.js +7 -4
- package/lib/test/auto-cmaf.js.map +1 -1
- package/lib/test/smart-source-switch.js +117 -2
- package/lib/test/smart-source-switch.js.map +1 -1
- package/lib/test/zoom-to.d.ts +1 -0
- package/lib/test/zoom-to.js +345 -0
- package/lib/test/zoom-to.js.map +1 -0
- package/package.json +5 -5
- package/lib/output.autoCmaf/summary.d.ts +0 -6
- package/lib/output.autoCmaf/summary.js +0 -57
- package/lib/output.autoCmaf/summary.js.map +0 -1
@@ -1,8 +1,9 @@
|
|
1
|
+
# This file has been generated, please edit types.source.yaml instead
|
2
|
+
|
1
3
|
openapi: 3.0.0
|
2
4
|
info:
|
3
5
|
title: RTMP Input Component
|
4
6
|
version: 1.0.0
|
5
|
-
|
6
7
|
paths:
|
7
8
|
/disconnect:
|
8
9
|
post:
|
@@ -15,16 +16,17 @@ paths:
|
|
15
16
|
application/json:
|
16
17
|
schema:
|
17
18
|
type: object
|
18
|
-
required:
|
19
|
+
required:
|
20
|
+
- streamName
|
19
21
|
properties:
|
20
22
|
streamName:
|
21
23
|
type: string
|
22
24
|
description: The name of the stream to disconnect
|
23
25
|
example: camera1
|
24
26
|
responses:
|
25
|
-
204:
|
27
|
+
"204":
|
26
28
|
description: The stream was successfully disconnected
|
27
|
-
404:
|
29
|
+
"404":
|
28
30
|
description: The specified stream was not found
|
29
31
|
content:
|
30
32
|
application/json:
|
@@ -37,7 +39,7 @@ paths:
|
|
37
39
|
details:
|
38
40
|
type: string
|
39
41
|
description: Additional error details
|
40
|
-
500:
|
42
|
+
"500":
|
41
43
|
description: Failed to disconnect the stream
|
42
44
|
content:
|
43
45
|
application/json:
|
@@ -50,7 +52,6 @@ paths:
|
|
50
52
|
details:
|
51
53
|
type: string
|
52
54
|
description: Additional error details
|
53
|
-
|
54
55
|
/enable:
|
55
56
|
post:
|
56
57
|
summary: Re-enables a disabled RTMP stream
|
@@ -68,9 +69,9 @@ paths:
|
|
68
69
|
description: The name of the stream to re-enable
|
69
70
|
example: camera1
|
70
71
|
responses:
|
71
|
-
204:
|
72
|
+
"204":
|
72
73
|
description: The stream was successfully re-enabled
|
73
|
-
400:
|
74
|
+
"400":
|
74
75
|
description: Stream is already connected or invalid request
|
75
76
|
content:
|
76
77
|
application/json:
|
@@ -83,7 +84,7 @@ paths:
|
|
83
84
|
details:
|
84
85
|
type: string
|
85
86
|
description: Additional error details
|
86
|
-
500:
|
87
|
+
"500":
|
87
88
|
description: Failed to re-enable stream
|
88
89
|
content:
|
89
90
|
application/json:
|
@@ -96,7 +97,6 @@ paths:
|
|
96
97
|
details:
|
97
98
|
type: string
|
98
99
|
description: Additional error details
|
99
|
-
|
100
100
|
/disable:
|
101
101
|
post:
|
102
102
|
summary: Disables an RTMP stream by id
|
@@ -114,9 +114,9 @@ paths:
|
|
114
114
|
description: The stream name to disable
|
115
115
|
example: camera1
|
116
116
|
responses:
|
117
|
-
204:
|
117
|
+
"204":
|
118
118
|
description: The stream was successfully disabled
|
119
|
-
400:
|
119
|
+
"400":
|
120
120
|
description: The stream isn't known about, or invalid request
|
121
121
|
content:
|
122
122
|
application/json:
|
@@ -129,7 +129,7 @@ paths:
|
|
129
129
|
details:
|
130
130
|
type: string
|
131
131
|
description: Additional error details
|
132
|
-
500:
|
132
|
+
"500":
|
133
133
|
description: Failed to disable stream
|
134
134
|
content:
|
135
135
|
application/json:
|
@@ -142,7 +142,6 @@ paths:
|
|
142
142
|
details:
|
143
143
|
type: string
|
144
144
|
description: Additional error details
|
145
|
-
|
146
145
|
components:
|
147
146
|
schemas:
|
148
147
|
Config:
|
@@ -174,17 +173,96 @@ components:
|
|
174
173
|
type: string
|
175
174
|
description: List of stream names to accept
|
176
175
|
streamMappings:
|
177
|
-
|
176
|
+
type: object
|
177
|
+
description: Configuration for mapping input streams to output streams
|
178
|
+
properties:
|
179
|
+
streams:
|
180
|
+
type: array
|
181
|
+
items:
|
182
|
+
type: object
|
183
|
+
description: Individual stream mapping entry
|
184
|
+
properties:
|
185
|
+
outputKey:
|
186
|
+
type: object
|
187
|
+
properties:
|
188
|
+
streamId:
|
189
|
+
type: integer
|
190
|
+
programNumber:
|
191
|
+
type: integer
|
192
|
+
sourceName:
|
193
|
+
type: string
|
194
|
+
renditionName:
|
195
|
+
type: string
|
196
|
+
required:
|
197
|
+
- streamId
|
198
|
+
- programNumber
|
199
|
+
- sourceName
|
200
|
+
- renditionName
|
201
|
+
displayName:
|
202
|
+
type: string
|
203
|
+
description: Optional display name for this stream
|
204
|
+
media:
|
205
|
+
type: string
|
206
|
+
enum:
|
207
|
+
- video
|
208
|
+
- audio
|
209
|
+
- subtitle
|
210
|
+
- ancillary
|
211
|
+
- playlist
|
212
|
+
description: Media type for stream mapping
|
213
|
+
filters:
|
214
|
+
type: array
|
215
|
+
items:
|
216
|
+
oneOf:
|
217
|
+
- type: object
|
218
|
+
properties:
|
219
|
+
type:
|
220
|
+
type: string
|
221
|
+
enum:
|
222
|
+
- sourceName
|
223
|
+
- language
|
224
|
+
- codec
|
225
|
+
- renditionName
|
226
|
+
value:
|
227
|
+
type: string
|
228
|
+
required:
|
229
|
+
- type
|
230
|
+
- value
|
231
|
+
- type: object
|
232
|
+
properties:
|
233
|
+
type:
|
234
|
+
type: string
|
235
|
+
enum:
|
236
|
+
- streamId
|
237
|
+
- programNumber
|
238
|
+
value:
|
239
|
+
type: integer
|
240
|
+
required:
|
241
|
+
- type
|
242
|
+
- value
|
243
|
+
description: Optional conditions for stream selection
|
244
|
+
missingBehaviour:
|
245
|
+
type: string
|
246
|
+
enum:
|
247
|
+
- fill
|
248
|
+
- skip
|
249
|
+
description: Behavior when no matching stream is found
|
250
|
+
required:
|
251
|
+
- outputKey
|
252
|
+
- media
|
253
|
+
required:
|
254
|
+
- streams
|
178
255
|
initialState:
|
179
256
|
type: string
|
180
|
-
enum:
|
257
|
+
enum:
|
258
|
+
- enabled
|
259
|
+
- disabled
|
181
260
|
description: Initial state of the component
|
182
261
|
required:
|
183
262
|
- id
|
184
263
|
- displayName
|
185
264
|
- appName
|
186
265
|
- streamNames
|
187
|
-
|
188
266
|
State:
|
189
267
|
type: object
|
190
268
|
properties:
|
@@ -199,121 +277,118 @@ components:
|
|
199
277
|
required:
|
200
278
|
- connectedStreams
|
201
279
|
- disabledStreams
|
202
|
-
|
203
280
|
Commands:
|
204
281
|
oneOf:
|
205
|
-
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
type:
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
type:
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
type:
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
type:
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
282
|
+
- &a1
|
283
|
+
type: object
|
284
|
+
properties:
|
285
|
+
type:
|
286
|
+
type: string
|
287
|
+
enum:
|
288
|
+
- disable-source
|
289
|
+
streamName:
|
290
|
+
type: string
|
291
|
+
required:
|
292
|
+
- type
|
293
|
+
- streamName
|
294
|
+
- &a2
|
295
|
+
type: object
|
296
|
+
properties:
|
297
|
+
type:
|
298
|
+
type: string
|
299
|
+
enum:
|
300
|
+
- enable-source
|
301
|
+
streamName:
|
302
|
+
type: string
|
303
|
+
required:
|
304
|
+
- type
|
305
|
+
- streamName
|
306
|
+
- &a3
|
307
|
+
type: object
|
308
|
+
properties:
|
309
|
+
type:
|
310
|
+
type: string
|
311
|
+
enum:
|
312
|
+
- reset-source
|
313
|
+
streamName:
|
314
|
+
type: string
|
315
|
+
required:
|
316
|
+
- type
|
317
|
+
- streamName
|
318
|
+
- &a4
|
319
|
+
type: object
|
320
|
+
properties:
|
321
|
+
type:
|
322
|
+
type: string
|
323
|
+
enum:
|
324
|
+
- disable
|
325
|
+
required:
|
326
|
+
- type
|
327
|
+
- &a5
|
328
|
+
type: object
|
329
|
+
properties:
|
330
|
+
type:
|
331
|
+
type: string
|
332
|
+
enum:
|
333
|
+
- enable
|
334
|
+
required:
|
335
|
+
- type
|
336
|
+
DisableSourceCommand: *a1
|
337
|
+
EnableSourceCommand: *a2
|
338
|
+
ResetSourceCommand: *a3
|
339
|
+
DisableCommand: *a4
|
340
|
+
EnableCommand: *a5
|
265
341
|
Events:
|
266
342
|
oneOf:
|
267
|
-
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
343
|
+
- &a6
|
344
|
+
type: object
|
345
|
+
properties:
|
346
|
+
type:
|
347
|
+
type: string
|
348
|
+
enum:
|
349
|
+
- source-connected
|
350
|
+
streamName:
|
351
|
+
type: string
|
352
|
+
required:
|
353
|
+
- type
|
354
|
+
- streamName
|
355
|
+
- &a7
|
356
|
+
type: object
|
357
|
+
properties:
|
358
|
+
type:
|
359
|
+
type: string
|
360
|
+
enum:
|
361
|
+
- source-disconnected
|
362
|
+
streamName:
|
363
|
+
type: string
|
364
|
+
required:
|
365
|
+
- type
|
366
|
+
- streamName
|
367
|
+
- &a8
|
368
|
+
type: object
|
369
|
+
properties:
|
370
|
+
type:
|
371
|
+
type: string
|
372
|
+
enum:
|
373
|
+
- source-enabled
|
374
|
+
streamName:
|
375
|
+
type: string
|
376
|
+
required:
|
377
|
+
- type
|
378
|
+
- streamName
|
379
|
+
- &a9
|
380
|
+
type: object
|
381
|
+
properties:
|
382
|
+
type:
|
383
|
+
type: string
|
384
|
+
enum:
|
385
|
+
- source-disabled
|
386
|
+
streamName:
|
387
|
+
type: string
|
388
|
+
required:
|
389
|
+
- type
|
390
|
+
- streamName
|
391
|
+
SourceConnectedEvent: *a6
|
392
|
+
SourceDisconnectedEvent: *a7
|
393
|
+
SourceEnabledEvent: *a8
|
394
|
+
SourceDisabledEvent: *a9
|
@@ -3,6 +3,8 @@ export default function ({ defineComponent }: Registration): import("@norskvideo
|
|
3
3
|
id: string;
|
4
4
|
displayName: string;
|
5
5
|
notes?: string;
|
6
|
-
sampleRate:
|
7
|
-
channelLayout:
|
6
|
+
sampleRate: 8000 | 11025 | 12000 | 16000 | 22050 | 24000 | 32000 | 44100 | 48000 | 64000 | 88200 | 96000;
|
7
|
+
channelLayout: ("mono" | "stereo" | "surround" | "4.0" | "5.0" | "5.1" | "7.1" | "5.1.4" | "7.1.4") | ("l" | "r" | "c" | "lfe" | "ls" | "rs" | "lc" | "rc" | "lsr" | "rsr" | "cs" | "lsd" | "rsd" | "lss" | "rss" | "lw" | "rw" | "lv" | "rv" | "cv" | "lvr" | "rvr" | "cvr" | "lvss" | "rvss" | "ts" | "lfe2" | "lb" | "rb" | "cb" | "lvs" | "rvs" | "lfe3" | "leos" | "reos" | "hwbcal" | "hwbcar" | "lbs" | "rbs" | "unknown")[] | {
|
8
|
+
single: "l" | "r" | "c" | "lfe" | "ls" | "rs" | "lc" | "rc" | "lsr" | "rsr" | "cs" | "lsd" | "rsd" | "lss" | "rss" | "lw" | "rw" | "lv" | "rv" | "cv" | "lvr" | "rvr" | "cvr" | "lvss" | "rvss" | "ts" | "lfe2" | "lb" | "rb" | "cb" | "lvs" | "rvs" | "lfe3" | "leos" | "reos" | "hwbcal" | "hwbcar" | "lbs" | "rbs" | "unknown";
|
9
|
+
};
|
8
10
|
}, object, object, object>;
|
@@ -6,13 +6,10 @@ export interface components {
|
|
6
6
|
id: string;
|
7
7
|
displayName: string;
|
8
8
|
notes?: string;
|
9
|
-
sampleRate:
|
10
|
-
channelLayout:
|
11
|
-
|
12
|
-
|
13
|
-
ChannelName: "l" | "r" | "c" | "lfe" | "ls" | "rs" | "lc" | "rc" | "lsr" | "rsr" | "cs" | "lsd" | "rsd" | "lss" | "rss" | "lw" | "rw" | "lv" | "rv" | "cv" | "lvr" | "rvr" | "cvr" | "lvss" | "rvss" | "ts" | "lfe2" | "lb" | "rb" | "cb" | "lvs" | "rvs" | "lfe3" | "leos" | "reos" | "hwbcal" | "hwbcar" | "lbs" | "rbs" | "unknown";
|
14
|
-
ChannelLayout: ("mono" | "stereo" | "surround" | "4.0" | "5.0" | "5.1" | "7.1" | "5.1.4" | "7.1.4") | components["schemas"]["ChannelName"][] | {
|
15
|
-
single: components["schemas"]["ChannelName"];
|
9
|
+
sampleRate: 8000 | 11025 | 12000 | 16000 | 22050 | 24000 | 32000 | 44100 | 48000 | 64000 | 88200 | 96000;
|
10
|
+
channelLayout: ("mono" | "stereo" | "surround" | "4.0" | "5.0" | "5.1" | "7.1" | "5.1.4" | "7.1.4") | ("l" | "r" | "c" | "lfe" | "ls" | "rs" | "lc" | "rc" | "lsr" | "rsr" | "cs" | "lsd" | "rsd" | "lss" | "rss" | "lw" | "rw" | "lv" | "rv" | "cv" | "lvr" | "rvr" | "cvr" | "lvss" | "rvss" | "ts" | "lfe2" | "lb" | "rb" | "cb" | "lvs" | "rvs" | "lfe3" | "leos" | "reos" | "hwbcal" | "hwbcar" | "lbs" | "rbs" | "unknown")[] | {
|
11
|
+
single: "l" | "r" | "c" | "lfe" | "ls" | "rs" | "lc" | "rc" | "lsr" | "rsr" | "cs" | "lsd" | "rsd" | "lss" | "rss" | "lw" | "rw" | "lv" | "rv" | "cv" | "lvr" | "rvr" | "cvr" | "lvss" | "rvss" | "ts" | "lfe2" | "lb" | "rb" | "cb" | "lvs" | "rvs" | "lfe3" | "leos" | "reos" | "hwbcal" | "hwbcar" | "lbs" | "rbs" | "unknown";
|
12
|
+
};
|
16
13
|
};
|
17
14
|
};
|
18
15
|
responses: never;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
openapi: 3.0.0
|
2
|
+
info:
|
3
|
+
title: Silence Input
|
4
|
+
version: 1.0.0
|
5
|
+
|
6
|
+
paths: {}
|
7
|
+
|
8
|
+
components:
|
9
|
+
schemas:
|
10
|
+
Config:
|
11
|
+
type: object
|
12
|
+
required:
|
13
|
+
- id
|
14
|
+
- displayName
|
15
|
+
- sampleRate
|
16
|
+
- channelLayout
|
17
|
+
properties:
|
18
|
+
id:
|
19
|
+
type: string
|
20
|
+
displayName:
|
21
|
+
type: string
|
22
|
+
notes:
|
23
|
+
type: string
|
24
|
+
sampleRate:
|
25
|
+
$ref: '../../../core/src/types/base.yml#/components/schemas/SampleRate'
|
26
|
+
channelLayout:
|
27
|
+
$ref: '../../../core/src/types/base.yml#/components/schemas/ChannelLayout'
|
@@ -1,10 +1,10 @@
|
|
1
|
+
# This file has been generated, please edit types.source.yaml instead
|
2
|
+
|
1
3
|
openapi: 3.0.0
|
2
4
|
info:
|
3
5
|
title: Silence Input
|
4
6
|
version: 1.0.0
|
5
|
-
|
6
7
|
paths: {}
|
7
|
-
|
8
8
|
components:
|
9
9
|
schemas:
|
10
10
|
Config:
|
@@ -22,6 +22,84 @@ components:
|
|
22
22
|
notes:
|
23
23
|
type: string
|
24
24
|
sampleRate:
|
25
|
-
|
25
|
+
type: integer
|
26
|
+
enum:
|
27
|
+
- 8000
|
28
|
+
- 11025
|
29
|
+
- 12000
|
30
|
+
- 16000
|
31
|
+
- 22050
|
32
|
+
- 24000
|
33
|
+
- 32000
|
34
|
+
- 44100
|
35
|
+
- 48000
|
36
|
+
- 64000
|
37
|
+
- 88200
|
38
|
+
- 96000
|
39
|
+
description: Possible sample rates in Hz.
|
40
|
+
example: 48000
|
26
41
|
channelLayout:
|
27
|
-
|
42
|
+
description: Channel layout for an audio stream. Can be one of several string
|
43
|
+
presets, an array of channel names, or an object with a single
|
44
|
+
property.
|
45
|
+
oneOf:
|
46
|
+
- type: string
|
47
|
+
enum:
|
48
|
+
- mono
|
49
|
+
- stereo
|
50
|
+
- surround
|
51
|
+
- "4.0"
|
52
|
+
- "5.0"
|
53
|
+
- "5.1"
|
54
|
+
- "7.1"
|
55
|
+
- 5.1.4
|
56
|
+
- 7.1.4
|
57
|
+
- type: array
|
58
|
+
items: &a1
|
59
|
+
type: string
|
60
|
+
enum:
|
61
|
+
- l
|
62
|
+
- r
|
63
|
+
- c
|
64
|
+
- lfe
|
65
|
+
- ls
|
66
|
+
- rs
|
67
|
+
- lc
|
68
|
+
- rc
|
69
|
+
- lsr
|
70
|
+
- rsr
|
71
|
+
- cs
|
72
|
+
- lsd
|
73
|
+
- rsd
|
74
|
+
- lss
|
75
|
+
- rss
|
76
|
+
- lw
|
77
|
+
- rw
|
78
|
+
- lv
|
79
|
+
- rv
|
80
|
+
- cv
|
81
|
+
- lvr
|
82
|
+
- rvr
|
83
|
+
- cvr
|
84
|
+
- lvss
|
85
|
+
- rvss
|
86
|
+
- ts
|
87
|
+
- lfe2
|
88
|
+
- lb
|
89
|
+
- rb
|
90
|
+
- cb
|
91
|
+
- lvs
|
92
|
+
- rvs
|
93
|
+
- lfe3
|
94
|
+
- leos
|
95
|
+
- reos
|
96
|
+
- hwbcal
|
97
|
+
- hwbcar
|
98
|
+
- lbs
|
99
|
+
- rbs
|
100
|
+
- unknown
|
101
|
+
- type: object
|
102
|
+
properties:
|
103
|
+
single: *a1
|
104
|
+
required:
|
105
|
+
- single
|
@@ -7,11 +7,48 @@ export default function ({ defineComponent, singleAvStreamMapping, singleAvStrea
|
|
7
7
|
port: number;
|
8
8
|
passphrase?: string;
|
9
9
|
streamId?: string;
|
10
|
-
socketOptions:
|
11
|
-
|
10
|
+
socketOptions: {
|
11
|
+
peerLatency?: number;
|
12
|
+
receiveLatency?: number;
|
13
|
+
inputBandwidth?: number;
|
14
|
+
overheadBandwidth?: number;
|
15
|
+
maxBandwidth?: number;
|
16
|
+
};
|
17
|
+
streamMappings?: {
|
18
|
+
streams: {
|
19
|
+
outputKey: {
|
20
|
+
streamId: number;
|
21
|
+
programNumber: number;
|
22
|
+
sourceName: string;
|
23
|
+
renditionName: string;
|
24
|
+
};
|
25
|
+
displayName?: string;
|
26
|
+
media: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
|
27
|
+
filters?: ({
|
28
|
+
type: "sourceName" | "language" | "codec" | "renditionName";
|
29
|
+
value: string;
|
30
|
+
} | {
|
31
|
+
type: "streamId" | "programNumber";
|
32
|
+
value: number;
|
33
|
+
})[];
|
34
|
+
missingBehaviour?: "fill" | "skip";
|
35
|
+
}[];
|
36
|
+
};
|
12
37
|
}, {
|
13
|
-
metrics:
|
38
|
+
metrics: {
|
39
|
+
connectionCount: number;
|
40
|
+
packetsLost: number;
|
41
|
+
packetsResent: number;
|
42
|
+
packetsSent: number;
|
43
|
+
packetsReceived: number;
|
44
|
+
};
|
14
45
|
}, Record<string, never>, {
|
15
46
|
type: "metrics-updated";
|
16
|
-
metrics:
|
47
|
+
metrics: {
|
48
|
+
connectionCount: number;
|
49
|
+
packetsLost: number;
|
50
|
+
packetsResent: number;
|
51
|
+
packetsSent: number;
|
52
|
+
packetsReceived: number;
|
53
|
+
};
|
17
54
|
}>;
|