@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: SRT Listener 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: ['streamId']
19
+ required:
20
+ - streamId
19
21
  properties:
20
22
  streamId:
21
23
  type: string
22
24
  description: The ID 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 SRT stream
@@ -62,16 +63,17 @@ paths:
62
63
  application/json:
63
64
  schema:
64
65
  type: object
65
- required: ['streamId']
66
+ required:
67
+ - streamId
66
68
  properties:
67
69
  streamId:
68
70
  type: string
69
71
  description: The Id of the stream to re-enable
70
72
  example: camera1
71
73
  responses:
72
- 204:
74
+ "204":
73
75
  description: The stream was successfully re-enabled
74
- 400:
76
+ "400":
75
77
  description: Stream is already connected or invalid request
76
78
  content:
77
79
  application/json:
@@ -84,7 +86,7 @@ paths:
84
86
  details:
85
87
  type: string
86
88
  description: Additional error details
87
- 500:
89
+ "500":
88
90
  description: Failed to re-enable stream
89
91
  content:
90
92
  application/json:
@@ -100,7 +102,7 @@ paths:
100
102
  /disable:
101
103
  post:
102
104
  summary: Disables an SRT stream by id
103
- description:
105
+ description: null
104
106
  x-route-type: instance
105
107
  requestBody:
106
108
  description: The stream to disable
@@ -108,16 +110,17 @@ paths:
108
110
  application/json:
109
111
  schema:
110
112
  type: object
111
- required: ['streamId']
113
+ required:
114
+ - streamId
112
115
  properties:
113
116
  streamId:
114
117
  type: string
115
118
  description: The Id of the stream to disable
116
119
  example: camera1
117
120
  responses:
118
- 204:
121
+ "204":
119
122
  description: The stream was successfully disabled
120
- 400:
123
+ "400":
121
124
  description: The stream isn't known about, or invalid request
122
125
  content:
123
126
  application/json:
@@ -130,7 +133,7 @@ paths:
130
133
  details:
131
134
  type: string
132
135
  description: Additional error details
133
- 500:
136
+ "500":
134
137
  description: Failed to disable stream
135
138
  content:
136
139
  application/json:
@@ -143,7 +146,6 @@ paths:
143
146
  details:
144
147
  type: string
145
148
  description: Additional error details
146
-
147
149
  components:
148
150
  schemas:
149
151
  Config:
@@ -171,7 +173,9 @@ components:
171
173
  description: Passphrase for encryption
172
174
  sourceNames:
173
175
  type: string
174
- enum: ["permissive", "strict"]
176
+ enum:
177
+ - permissive
178
+ - strict
175
179
  description: Stream ID assignment mode
176
180
  streamIds:
177
181
  type: array
@@ -179,9 +183,106 @@ components:
179
183
  type: string
180
184
  description: List of expected stream IDs
181
185
  socketOptions:
182
- $ref: '../shared/srt.yaml#/components/schemas/SocketOptions'
186
+ type: object
187
+ description: SRT socket configuration options
188
+ properties:
189
+ peerLatency:
190
+ type: number
191
+ description: The latency value provided by the sender side as a minimum value
192
+ for the receiver (SRTO_PEERLATENCY)
193
+ receiveLatency:
194
+ type: number
195
+ description: The latency value in the receiving direction of the socket
196
+ (SRTO_RCVLATENCY)
197
+ inputBandwidth:
198
+ type: number
199
+ description: Input bandwidth (SRTO_INPUTBW)
200
+ overheadBandwidth:
201
+ type: number
202
+ description: Overhead bandwidth (SRTO_OHEADBW)
203
+ maxBandwidth:
204
+ type: number
205
+ description: Max bandwidth (SRTO_MAXBW)
183
206
  streamMappings:
184
- $ref: '../../../core/src/types/base.yml#/components/schemas/StreamMappingConfiguration'
207
+ type: object
208
+ description: Configuration for mapping input streams to output streams
209
+ properties:
210
+ streams:
211
+ type: array
212
+ items:
213
+ type: object
214
+ description: Individual stream mapping entry
215
+ properties:
216
+ outputKey:
217
+ type: object
218
+ properties:
219
+ streamId:
220
+ type: integer
221
+ programNumber:
222
+ type: integer
223
+ sourceName:
224
+ type: string
225
+ renditionName:
226
+ type: string
227
+ required:
228
+ - streamId
229
+ - programNumber
230
+ - sourceName
231
+ - renditionName
232
+ displayName:
233
+ type: string
234
+ description: Optional display name for this stream
235
+ media:
236
+ type: string
237
+ enum:
238
+ - video
239
+ - audio
240
+ - subtitle
241
+ - ancillary
242
+ - playlist
243
+ description: Media type for stream mapping
244
+ filters:
245
+ type: array
246
+ items:
247
+ oneOf:
248
+ - type: object
249
+ properties:
250
+ type:
251
+ type: string
252
+ enum:
253
+ - sourceName
254
+ - language
255
+ - codec
256
+ - renditionName
257
+ value:
258
+ type: string
259
+ required:
260
+ - type
261
+ - value
262
+ - type: object
263
+ properties:
264
+ type:
265
+ type: string
266
+ enum:
267
+ - streamId
268
+ - programNumber
269
+ value:
270
+ type: integer
271
+ required:
272
+ - type
273
+ - value
274
+ description: Optional conditions for stream selection
275
+ missingBehaviour:
276
+ type: string
277
+ enum:
278
+ - fill
279
+ - skip
280
+ description: Behavior when no matching stream is found
281
+ required:
282
+ - outputKey
283
+ - media
284
+ required:
285
+ - streams
185
286
  required:
186
287
  - id
187
288
  - displayName
@@ -190,7 +291,6 @@ components:
190
291
  - socketOptions
191
292
  - port
192
293
  - host
193
-
194
294
  State:
195
295
  type: object
196
296
  properties:
@@ -202,8 +302,39 @@ components:
202
302
  type: array
203
303
  items:
204
304
  type: string
205
- metrics:
206
- $ref: '../shared/srt.yaml#/components/schemas/SrtListenerMetrics'
305
+ metrics: &a4
306
+ type: object
307
+ description: Metrics for SRT listener connections
308
+ properties:
309
+ connectionCount:
310
+ type: number
311
+ description: Number of active connections
312
+ packetsLost:
313
+ type: array
314
+ items:
315
+ type: number
316
+ description: Array of packets lost per connection
317
+ packetsResent:
318
+ type: array
319
+ items:
320
+ type: number
321
+ description: Array of packets resent per connection
322
+ packetsSent:
323
+ type: array
324
+ items:
325
+ type: number
326
+ description: Array of packets sent per connection
327
+ packetsReceived:
328
+ type: array
329
+ items:
330
+ type: number
331
+ description: Array of packets received per connection
332
+ required:
333
+ - connectionCount
334
+ - packetsLost
335
+ - packetsResent
336
+ - packetsSent
337
+ - packetsReceived
207
338
  names:
208
339
  type: array
209
340
  items:
@@ -213,117 +344,113 @@ components:
213
344
  - disabledStreams
214
345
  - metrics
215
346
  - names
216
-
217
347
  Commands:
218
348
  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
-
349
+ - &a1
350
+ type: object
351
+ properties:
352
+ type:
353
+ type: string
354
+ enum:
355
+ - disable-source
356
+ streamId:
357
+ type: string
358
+ required:
359
+ - type
360
+ - streamId
361
+ - &a2
362
+ type: object
363
+ properties:
364
+ type:
365
+ type: string
366
+ enum:
367
+ - enable-source
368
+ streamId:
369
+ type: string
370
+ required:
371
+ - type
372
+ - streamId
373
+ - &a3
374
+ type: object
375
+ properties:
376
+ type:
377
+ type: string
378
+ enum:
379
+ - reset-source
380
+ streamId:
381
+ type: string
382
+ required:
383
+ - type
384
+ - streamId
385
+ DisableSourceCommand: *a1
386
+ EnableSourceCommand: *a2
387
+ ResetSourceCommand: *a3
259
388
  Events:
260
389
  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
-
390
+ - &a5
391
+ type: object
392
+ properties:
393
+ type:
394
+ type: string
395
+ enum:
396
+ - source-connected
397
+ streamId:
398
+ type: string
399
+ index:
400
+ type: number
401
+ required:
402
+ - type
403
+ - streamId
404
+ - index
405
+ - &a6
406
+ type: object
407
+ properties:
408
+ type:
409
+ type: string
410
+ enum:
411
+ - source-disconnected
412
+ streamId:
413
+ type: string
414
+ required:
415
+ - type
416
+ - streamId
417
+ - &a7
418
+ type: object
419
+ properties:
420
+ type:
421
+ type: string
422
+ enum:
423
+ - source-enabled
424
+ streamId:
425
+ type: string
426
+ required:
427
+ - type
428
+ - streamId
429
+ - &a8
430
+ type: object
431
+ properties:
432
+ type:
433
+ type: string
434
+ enum:
435
+ - source-disabled
436
+ streamId:
437
+ type: string
438
+ required:
439
+ - type
440
+ - streamId
441
+ - &a9
442
+ type: object
443
+ properties:
444
+ type:
445
+ type: string
446
+ enum:
447
+ - metrics-updated
448
+ metrics: *a4
449
+ required:
450
+ - type
451
+ - metrics
452
+ SourceConnectedEvent: *a5
453
+ SourceDisconnectedEvent: *a6
454
+ SourceEnabledEvent: *a7
455
+ SourceDisabledEvent: *a8
456
+ MetricsUpdatedEvent: *a9
@@ -8,5 +8,24 @@ export default function ({ defineComponent, singleAvStreamMapping, singleAvStrea
8
8
  rtpDecapsulate?: boolean;
9
9
  host: string;
10
10
  port: number;
11
- streamMappings?: import("./types").components["schemas"]["StreamMappingConfiguration"];
11
+ streamMappings?: {
12
+ streams: {
13
+ outputKey: {
14
+ streamId: number;
15
+ programNumber: number;
16
+ sourceName: string;
17
+ renditionName: string;
18
+ };
19
+ displayName?: string;
20
+ media: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
21
+ filters?: ({
22
+ type: "sourceName" | "language" | "codec" | "renditionName";
23
+ value: string;
24
+ } | {
25
+ type: "streamId" | "programNumber";
26
+ value: number;
27
+ })[];
28
+ missingBehaviour?: "fill" | "skip";
29
+ }[];
30
+ };
12
31
  }, object, object, object>;
@@ -11,31 +11,26 @@ export interface components {
11
11
  rtpDecapsulate?: boolean;
12
12
  host: string;
13
13
  port: number;
14
- streamMappings?: components["schemas"]["StreamMappingConfiguration"];
15
- };
16
- StreamKey: {
17
- streamId: number;
18
- programNumber: number;
19
- sourceName: string;
20
- renditionName: string;
21
- };
22
- MediaType: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
23
- StreamMappingFilter: {
24
- type: "sourceName" | "language" | "codec" | "renditionName";
25
- value: string;
26
- } | {
27
- type: "streamId" | "programNumber";
28
- value: number;
29
- };
30
- StreamMappingEntry: {
31
- outputKey: components["schemas"]["StreamKey"];
32
- displayName?: string;
33
- media: components["schemas"]["MediaType"];
34
- filters?: components["schemas"]["StreamMappingFilter"][];
35
- missingBehaviour?: "fill" | "skip";
36
- };
37
- StreamMappingConfiguration: {
38
- streams: components["schemas"]["StreamMappingEntry"][];
14
+ streamMappings?: {
15
+ streams: {
16
+ outputKey: {
17
+ streamId: number;
18
+ programNumber: number;
19
+ sourceName: string;
20
+ renditionName: string;
21
+ };
22
+ displayName?: string;
23
+ media: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
24
+ filters?: ({
25
+ type: "sourceName" | "language" | "codec" | "renditionName";
26
+ value: string;
27
+ } | {
28
+ type: "streamId" | "programNumber";
29
+ value: number;
30
+ })[];
31
+ missingBehaviour?: "fill" | "skip";
32
+ }[];
33
+ };
39
34
  };
40
35
  };
41
36
  responses: never;
@@ -0,0 +1,40 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: UDP TS 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
+ - host
16
+ - port
17
+ properties:
18
+ id:
19
+ type: string
20
+ displayName:
21
+ type: string
22
+ notes:
23
+ type: string
24
+ interface:
25
+ type: string
26
+ description: Optional interface to bind to
27
+ timeout:
28
+ type: number
29
+ description: Timeout in milliseconds before determining the input is closed
30
+ rtpDecapsulate:
31
+ type: boolean
32
+ description: Whether to expect the input TS to be encapsulated in RTP via RFC 2250
33
+ host:
34
+ type: string
35
+ description: The IP or hostname of the remote server
36
+ port:
37
+ type: number
38
+ description: The port the remote server is listening on
39
+ streamMappings:
40
+ $ref: '../../../core/src/types/base.yml#/components/schemas/StreamMappingConfiguration'