@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: 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:
|
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:
|
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:
|
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:
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
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
|
-
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
type:
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
type:
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
type:
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
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?:
|
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?:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
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'
|