@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
@@ -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: ['streamName']
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
- $ref: '../../../core/src/types/base.yml#/components/schemas/StreamMappingConfiguration'
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: ["enabled", "disabled"]
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
- - $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
-
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
- - $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
-
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: import("./types").components["schemas"]["SampleRate"];
7
- channelLayout: import("./types").components["schemas"]["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: components["schemas"]["SampleRate"];
10
- channelLayout: components["schemas"]["ChannelLayout"];
11
- };
12
- SampleRate: 8000 | 11025 | 12000 | 16000 | 22050 | 24000 | 32000 | 44100 | 48000 | 64000 | 88200 | 96000;
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
- $ref: '../../../core/src/types/base.yml#/components/schemas/SampleRate'
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
- $ref: '../../../core/src/types/base.yml#/components/schemas/ChannelLayout'
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: import("./types").components["schemas"]["SocketOptions"];
11
- streamMappings?: import("./types").components["schemas"]["StreamMappingConfiguration"];
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: import("./types").components["schemas"]["SrtCallerMetrics"];
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: import("./types").components["schemas"]["SrtCallerMetrics"];
47
+ metrics: {
48
+ connectionCount: number;
49
+ packetsLost: number;
50
+ packetsResent: number;
51
+ packetsSent: number;
52
+ packetsReceived: number;
53
+ };
17
54
  }>;