@norskvideo/norsk-studio-built-ins 1.27.0-2025-07-06-336ac6c6 → 1.27.0-2025-07-08-02bba8fe

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