@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.
- package/client/info.js +226 -7
- package/client/style.css +8 -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 +204 -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 +80 -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 +136 -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 +257 -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 +79 -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 +28 -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 +177 -104
- package/lib/output.autoCmaf/info.js +20 -0
- package/lib/output.autoCmaf/info.js.map +1 -1
- package/lib/output.autoCmaf/runtime.d.ts +2 -1
- package/lib/output.autoCmaf/runtime.js +35 -7
- package/lib/output.autoCmaf/runtime.js.map +1 -1
- package/lib/output.autoCmaf/types.d.ts +1 -0
- package/lib/output.autoCmaf/types.yaml +3 -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/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 +331 -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 +101 -29
- 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 +334 -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 +145 -50
- package/lib/processor.smartSourceSwitch/info.d.ts +12 -4
- package/lib/processor.smartSourceSwitch/types.d.ts +22 -18
- package/lib/processor.smartSourceSwitch/types.source.yaml +97 -0
- package/lib/processor.smartSourceSwitch/types.yaml +142 -48
- package/lib/processor.syncExternalAudio/info.d.ts +1 -0
- package/lib/processor.syncExternalAudio/types.d.ts +1 -0
- package/lib/processor.zoomTo/info.d.ts +54 -0
- package/lib/processor.zoomTo/info.js +172 -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 +307 -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/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 +3 -3
package/client/info.js
CHANGED
@@ -346,7 +346,7 @@ var require_util = __commonJS({
|
|
346
346
|
exports.getObjectByType = getObjectByType;
|
347
347
|
exports.getObjectByPath = getObjectByPath;
|
348
348
|
exports.displayNodeId = displayNodeId;
|
349
|
-
exports.assertUnreachable =
|
349
|
+
exports.assertUnreachable = assertUnreachable28;
|
350
350
|
exports.waitForCondition = waitForCondition;
|
351
351
|
exports.streamMatchesExpected = streamMatchesExpected;
|
352
352
|
exports.shortStreamNameFromDefinition = shortStreamNameFromDefinition;
|
@@ -419,7 +419,7 @@ var require_util = __commonJS({
|
|
419
419
|
}
|
420
420
|
return document2.components[id]?.config?.displayName ?? id;
|
421
421
|
}
|
422
|
-
function
|
422
|
+
function assertUnreachable28(_) {
|
423
423
|
throw new Error("Didn't expect to get here");
|
424
424
|
}
|
425
425
|
async function waitForCondition(condition, timeout, interval, name) {
|
@@ -590,7 +590,7 @@ var require_config = __commonJS({
|
|
590
590
|
exports.GlobalEzDrmConfig = GlobalEzDrmConfig2;
|
591
591
|
exports.GlobalAxinomConfig = GlobalAxinomConfig2;
|
592
592
|
exports.contractHardwareAcceleration = contractHardwareAcceleration;
|
593
|
-
exports.HardwareSelection =
|
593
|
+
exports.HardwareSelection = HardwareSelection6;
|
594
594
|
exports.RootDataDir = RootDataDir;
|
595
595
|
var shared_views_1 = require_shared_views();
|
596
596
|
var shared_views_2 = require_shared_views();
|
@@ -728,7 +728,7 @@ var require_config = __commonJS({
|
|
728
728
|
}
|
729
729
|
return void 0;
|
730
730
|
}
|
731
|
-
function
|
731
|
+
function HardwareSelection6() {
|
732
732
|
return {
|
733
733
|
id: "hardware-acceleration",
|
734
734
|
form: {
|
@@ -90007,12 +90007,32 @@ function info_default8(R) {
|
|
90007
90007
|
},
|
90008
90008
|
multiplePrograms: {
|
90009
90009
|
help: "Produce multiple multivariants if more than one program is present",
|
90010
|
+
advanced: true,
|
90010
90011
|
hint: {
|
90011
90012
|
type: "boolean",
|
90012
90013
|
optional: true,
|
90013
90014
|
defaultValue: false
|
90014
90015
|
}
|
90015
90016
|
},
|
90017
|
+
discontinuityHandling: {
|
90018
|
+
help: "What to do when a gap or discontinuity is encountered",
|
90019
|
+
advanced: true,
|
90020
|
+
hint: {
|
90021
|
+
type: "select",
|
90022
|
+
defaultValue: "discontinuity",
|
90023
|
+
optional: true,
|
90024
|
+
options: [
|
90025
|
+
{
|
90026
|
+
display: "Prefer Discontinuity",
|
90027
|
+
value: "discontinuity"
|
90028
|
+
},
|
90029
|
+
{
|
90030
|
+
display: "Prefer Gaps",
|
90031
|
+
value: "gap"
|
90032
|
+
}
|
90033
|
+
]
|
90034
|
+
}
|
90035
|
+
},
|
90016
90036
|
drmProvider: {
|
90017
90037
|
help: "Encrypt with a DRM provider (if configured globally)",
|
90018
90038
|
hint: {
|
@@ -90237,6 +90257,25 @@ function info_default11(registration) {
|
|
90237
90257
|
optional: true
|
90238
90258
|
}
|
90239
90259
|
},
|
90260
|
+
discontinuityHandling: {
|
90261
|
+
help: "What to do when a gap or discontinuity is encountered",
|
90262
|
+
advanced: true,
|
90263
|
+
hint: {
|
90264
|
+
type: "select",
|
90265
|
+
defaultValue: "gap",
|
90266
|
+
optional: true,
|
90267
|
+
options: [
|
90268
|
+
{
|
90269
|
+
display: "Prefer Discontinuity",
|
90270
|
+
value: "discontinuity"
|
90271
|
+
},
|
90272
|
+
{
|
90273
|
+
display: "Prefer Gaps",
|
90274
|
+
value: "gap"
|
90275
|
+
}
|
90276
|
+
]
|
90277
|
+
}
|
90278
|
+
},
|
90240
90279
|
segments: SegmentFormEntry,
|
90241
90280
|
destinations: DestinationsFormEntry,
|
90242
90281
|
pushMode: {
|
@@ -93601,6 +93640,7 @@ function info_default30({ defineComponent, All, validation: { Z } }) {
|
|
93601
93640
|
},
|
93602
93641
|
startingStreamId: {
|
93603
93642
|
help: "The initial stream id to assign, all streams will then increment from this",
|
93643
|
+
advanced: true,
|
93604
93644
|
hint: {
|
93605
93645
|
type: "numeric",
|
93606
93646
|
optional: true,
|
@@ -93617,6 +93657,14 @@ function info_default30({ defineComponent, All, validation: { Z } }) {
|
|
93617
93657
|
optional: true
|
93618
93658
|
}
|
93619
93659
|
},
|
93660
|
+
sync: {
|
93661
|
+
help: "Synchronise the streams that are involved (except subtitles), this will also condition the streams with discontinuities if needed",
|
93662
|
+
advanced: true,
|
93663
|
+
hint: {
|
93664
|
+
type: "boolean",
|
93665
|
+
defaultValue: true
|
93666
|
+
}
|
93667
|
+
},
|
93620
93668
|
notes: { help: "Notes about this component", hint: { type: "text", optional: true } }
|
93621
93669
|
}
|
93622
93670
|
}
|
@@ -95237,6 +95285,176 @@ function info_default38(R) {
|
|
95237
95285
|
});
|
95238
95286
|
}
|
95239
95287
|
|
95288
|
+
// build/processor.zoomTo/info.js
|
95289
|
+
var import_config10 = __toESM(require_config());
|
95290
|
+
function info_default39({ defineComponent, validation: { Z } }) {
|
95291
|
+
return defineComponent({
|
95292
|
+
identifier: "processor.zoomTo",
|
95293
|
+
name: "Zoom To",
|
95294
|
+
category: "processor",
|
95295
|
+
description: "Crop and scale video with percentage or pixel-based zoom controls",
|
95296
|
+
subscription: {
|
95297
|
+
accepts: {
|
95298
|
+
type: "simple-stream",
|
95299
|
+
video: true
|
95300
|
+
},
|
95301
|
+
produces: {
|
95302
|
+
type: "simple-stream",
|
95303
|
+
video: true
|
95304
|
+
}
|
95305
|
+
},
|
95306
|
+
extraValidation: function(ctx) {
|
95307
|
+
ctx.requireVideo(1);
|
95308
|
+
const { offsetX, offsetY, width, height } = ctx.config;
|
95309
|
+
if (offsetX + width > 100) {
|
95310
|
+
ctx.addError("Crop region extends beyond right edge (offsetX + width > 100%)");
|
95311
|
+
}
|
95312
|
+
if (offsetY + height > 100) {
|
95313
|
+
ctx.addError("Crop region extends beyond bottom edge (offsetY + height > 100%)");
|
95314
|
+
}
|
95315
|
+
},
|
95316
|
+
display: (desc) => {
|
95317
|
+
const { offsetX, offsetY, width, height } = desc.config;
|
95318
|
+
return {
|
95319
|
+
default: `${width}\xD7${height}% @ ${offsetX},${offsetY}%`
|
95320
|
+
};
|
95321
|
+
},
|
95322
|
+
runtime: {
|
95323
|
+
initialState: () => ({
|
95324
|
+
currentOffsetX: 0,
|
95325
|
+
currentOffsetY: 0,
|
95326
|
+
currentWidth: 100,
|
95327
|
+
currentHeight: 100,
|
95328
|
+
targetOffsetX: 0,
|
95329
|
+
targetOffsetY: 0,
|
95330
|
+
targetWidth: 100,
|
95331
|
+
targetHeight: 100,
|
95332
|
+
transitioning: false,
|
95333
|
+
hasInputVideo: false,
|
95334
|
+
inputVideoResolution: void 0,
|
95335
|
+
inputVideoFrameRate: void 0,
|
95336
|
+
inputVideoAspectRatio: void 0
|
95337
|
+
}),
|
95338
|
+
handleEvent: (ev, state) => {
|
95339
|
+
const evType = ev.type;
|
95340
|
+
switch (evType) {
|
95341
|
+
case "zoom-updated":
|
95342
|
+
return {
|
95343
|
+
...state,
|
95344
|
+
currentOffsetX: ev.currentOffsetX,
|
95345
|
+
currentOffsetY: ev.currentOffsetY,
|
95346
|
+
currentWidth: ev.currentWidth,
|
95347
|
+
currentHeight: ev.currentHeight,
|
95348
|
+
targetOffsetX: ev.targetOffsetX,
|
95349
|
+
targetOffsetY: ev.targetOffsetY,
|
95350
|
+
targetWidth: ev.targetWidth,
|
95351
|
+
targetHeight: ev.targetHeight,
|
95352
|
+
transitioning: ev.transitioning
|
95353
|
+
};
|
95354
|
+
case "transition-complete":
|
95355
|
+
return { ...state, transitioning: false };
|
95356
|
+
case "input-video-changed":
|
95357
|
+
return {
|
95358
|
+
...state,
|
95359
|
+
hasInputVideo: ev.hasInputVideo,
|
95360
|
+
inputVideoResolution: ev.inputVideoResolution,
|
95361
|
+
inputVideoFrameRate: ev.inputVideoFrameRate,
|
95362
|
+
inputVideoAspectRatio: ev.inputVideoAspectRatio
|
95363
|
+
};
|
95364
|
+
default:
|
95365
|
+
assertUnreachable26(evType);
|
95366
|
+
}
|
95367
|
+
}
|
95368
|
+
},
|
95369
|
+
configForm: {
|
95370
|
+
global: {
|
95371
|
+
hardware: (0, import_config10.HardwareSelection)()
|
95372
|
+
},
|
95373
|
+
form: {
|
95374
|
+
offsetX: {
|
95375
|
+
help: "Horizontal offset of crop region as percentage (0-100)",
|
95376
|
+
hint: {
|
95377
|
+
type: "numeric",
|
95378
|
+
validation: Z.number().min(0).max(100),
|
95379
|
+
defaultValue: 0
|
95380
|
+
}
|
95381
|
+
},
|
95382
|
+
offsetY: {
|
95383
|
+
help: "Vertical offset of crop region as percentage (0-100)",
|
95384
|
+
hint: {
|
95385
|
+
type: "numeric",
|
95386
|
+
validation: Z.number().min(0).max(100),
|
95387
|
+
defaultValue: 0
|
95388
|
+
}
|
95389
|
+
},
|
95390
|
+
width: {
|
95391
|
+
help: "Width of crop region as percentage (1-100)",
|
95392
|
+
hint: {
|
95393
|
+
type: "numeric",
|
95394
|
+
validation: Z.number().min(1).max(100),
|
95395
|
+
defaultValue: 100
|
95396
|
+
}
|
95397
|
+
},
|
95398
|
+
height: {
|
95399
|
+
help: "Height of crop region as percentage (1-100)",
|
95400
|
+
hint: {
|
95401
|
+
type: "numeric",
|
95402
|
+
validation: Z.number().min(1).max(100),
|
95403
|
+
defaultValue: 100
|
95404
|
+
}
|
95405
|
+
},
|
95406
|
+
outputResolution: {
|
95407
|
+
help: "Output resolution (fixed after initialization)",
|
95408
|
+
hint: {
|
95409
|
+
type: "select",
|
95410
|
+
defaultValue: { width: 1920, height: 1080 },
|
95411
|
+
options: [
|
95412
|
+
{ value: { width: 1280, height: 720 }, display: "1280\xD7720 (HD)" },
|
95413
|
+
{ value: { width: 1920, height: 1080 }, display: "1920\xD71080 (Full HD)" },
|
95414
|
+
{ value: { width: 3840, height: 2160 }, display: "3840\xD72160 (4K)" },
|
95415
|
+
{ value: { width: 1920, height: 1200 }, display: "1920\xD71200 (WUXGA)" },
|
95416
|
+
{ value: { width: 2560, height: 1440 }, display: "2560\xD71440 (QHD)" }
|
95417
|
+
]
|
95418
|
+
}
|
95419
|
+
},
|
95420
|
+
transitionDurationMs: {
|
95421
|
+
help: "Duration for zoom transitions in milliseconds",
|
95422
|
+
hint: {
|
95423
|
+
type: "numeric",
|
95424
|
+
validation: Z.number().min(0).max(5e3),
|
95425
|
+
defaultValue: 300,
|
95426
|
+
optional: true
|
95427
|
+
}
|
95428
|
+
},
|
95429
|
+
transitionEasing: {
|
95430
|
+
help: "Easing function for smooth transitions",
|
95431
|
+
hint: {
|
95432
|
+
type: "select",
|
95433
|
+
defaultValue: "ease_in_out",
|
95434
|
+
options: [
|
95435
|
+
{ value: "linear", display: "Linear" },
|
95436
|
+
{ value: "ease_in", display: "Ease In" },
|
95437
|
+
{ value: "ease_out", display: "Ease Out" },
|
95438
|
+
{ value: "ease_in_out", display: "Ease In-Out" }
|
95439
|
+
],
|
95440
|
+
optional: true
|
95441
|
+
}
|
95442
|
+
},
|
95443
|
+
notes: {
|
95444
|
+
help: "Notes about this component",
|
95445
|
+
hint: {
|
95446
|
+
type: "text",
|
95447
|
+
optional: true
|
95448
|
+
}
|
95449
|
+
}
|
95450
|
+
}
|
95451
|
+
}
|
95452
|
+
});
|
95453
|
+
}
|
95454
|
+
function assertUnreachable26(_) {
|
95455
|
+
throw new Error("Didn't expect to get here");
|
95456
|
+
}
|
95457
|
+
|
95240
95458
|
// build/util.stats.latency/inline-view.js
|
95241
95459
|
var import_jsx_runtime49 = __toESM(require_jsx_runtime());
|
95242
95460
|
var import_react16 = __toESM(require_react());
|
@@ -95330,7 +95548,7 @@ var source_node_selection_default = SourceNodeSelection;
|
|
95330
95548
|
|
95331
95549
|
// build/util.stats.latency/info.js
|
95332
95550
|
var import_FaClock = __toESM(require_FaClock());
|
95333
|
-
function
|
95551
|
+
function info_default40(R) {
|
95334
95552
|
const { defineComponent } = R;
|
95335
95553
|
return defineComponent({
|
95336
95554
|
identifier: "util.stats.latency",
|
@@ -95360,7 +95578,7 @@ function info_default39(R) {
|
|
95360
95578
|
break;
|
95361
95579
|
}
|
95362
95580
|
default:
|
95363
|
-
|
95581
|
+
assertUnreachable27(evType);
|
95364
95582
|
}
|
95365
95583
|
return { ...state };
|
95366
95584
|
},
|
@@ -95415,7 +95633,7 @@ function info_default39(R) {
|
|
95415
95633
|
}
|
95416
95634
|
});
|
95417
95635
|
}
|
95418
|
-
function
|
95636
|
+
function assertUnreachable27(_) {
|
95419
95637
|
throw new Error("Didn't expect to get here");
|
95420
95638
|
}
|
95421
95639
|
|
@@ -95472,6 +95690,7 @@ AllComponents.push((r) => info_default36(r));
|
|
95472
95690
|
AllComponents.push((r) => info_default37(r));
|
95473
95691
|
AllComponents.push((r) => info_default38(r));
|
95474
95692
|
AllComponents.push((r) => info_default39(r));
|
95693
|
+
AllComponents.push((r) => info_default40(r));
|
95475
95694
|
export {
|
95476
95695
|
getNodeInfo as default
|
95477
95696
|
};
|
package/client/style.css
CHANGED
@@ -1405,6 +1405,14 @@ video {
|
|
1405
1405
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
1406
1406
|
}
|
1407
1407
|
|
1408
|
+
.transition {
|
1409
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
1410
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
1411
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
1412
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1413
|
+
transition-duration: 150ms;
|
1414
|
+
}
|
1415
|
+
|
1408
1416
|
.transition-colors {
|
1409
1417
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
1410
1418
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
package/lib/info.js
CHANGED
@@ -93,6 +93,8 @@ const info_37 = __importDefault(require("./processor.videoDecoder/info"));
|
|
93
93
|
AllComponents.push((r) => (0, info_37.default)(r));
|
94
94
|
const info_38 = __importDefault(require("./processor.webRtcDuplex/info"));
|
95
95
|
AllComponents.push((r) => (0, info_38.default)(r));
|
96
|
-
const info_39 = __importDefault(require("./
|
96
|
+
const info_39 = __importDefault(require("./processor.zoomTo/info"));
|
97
97
|
AllComponents.push((r) => (0, info_39.default)(r));
|
98
|
+
const info_40 = __importDefault(require("./util.stats.latency/info"));
|
99
|
+
AllComponents.push((r) => (0, info_40.default)(r));
|
98
100
|
//# sourceMappingURL=info.js.map
|
package/lib/info.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"info.js","sourceRoot":"","sources":["../src/info.ts"],"names":[],"mappings":";;;;;AAYA,8BASC;AAdD,MAAM,qBAAqB,GAA4C,EAAE,CAAC;AAC1E,IAAI,WAAW,GAAG,KAAK,CAAC;AAExB,MAAM,aAAa,GAAkD,EAAE,CAAC;AAExE,SAAwB,WAAW,CAAC,CAAe,EAAE,IAAY;IAC/D,IAAG,CAAC,WAAW,EAAE,CAAC;QAChB,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAC1B,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;YACf,qBAAqB,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QAC1C,CAAC,CAAC,CAAA;QACF,WAAW,GAAG,IAAI,CAAC;IACrB,CAAC;IACD,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC;AAED,6DAA2C;AAC3C,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,cAAU,EAAC,CAAC,CAAoC,CAAC,CAAC;AAC1F,gEAAiD;AACjD,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,cAAa,EAAC,CAAC,CAAoC,CAAC,CAAC;AAC7F,mEAAuD;AACvD,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,cAAgB,EAAC,CAAC,CAAoC,CAAC,CAAC;AAChG,qEAA2D;AAC3D,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,E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AAoC,CAAC,CAAC;AACzG,oFAAuF;AACvF,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,eAAgC,EAAC,CAAC,CAAoC,CAAC,CAAC;AAChH,+EAA6E;AAC7E,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,eAA2B,EAAC,CAAC,CAAoC,CAAC,CAAC;AAC3G,+EAA6E;AAC7E,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,eAA2B,EAAC,CAAC,CAAoC,CAAC,CAAC;AAC3G,+EAA6E;AAC7E,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,eAA2B,EAAC,CAAC,CAAoC,CAAC,CAAC;AAC3G,0EAAmE;AACnE,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,eAAsB,EAAC,CAAC,CAAoC,CAAC,CAAC;AACtG,0EAAmE;AACnE,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,eAAsB,EAAC,CAAC,CAAoC,CAAC,CAAC;AACtG,oEAAuD;AACvD,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,eAAgB,EAAC,CAAC,CAAoC,CAAC,CAAC;AAChG,sEAA2D;AAC3D,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,eAAkB,EAAC,CAAC,CAAoC,CAAC,CAAC"}
|
package/lib/input.rtmp/info.d.ts
CHANGED
@@ -10,7 +10,26 @@ export default function ({ defineComponent, mappingsToStreams, StreamMappingForm
|
|
10
10
|
ssl?: boolean;
|
11
11
|
appName: string;
|
12
12
|
streamNames: string[];
|
13
|
-
streamMappings?:
|
13
|
+
streamMappings?: {
|
14
|
+
streams: {
|
15
|
+
outputKey: {
|
16
|
+
streamId: number;
|
17
|
+
programNumber: number;
|
18
|
+
sourceName: string;
|
19
|
+
renditionName: string;
|
20
|
+
};
|
21
|
+
displayName?: string;
|
22
|
+
media: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
|
23
|
+
filters?: ({
|
24
|
+
type: "sourceName" | "language" | "codec" | "renditionName";
|
25
|
+
value: string;
|
26
|
+
} | {
|
27
|
+
type: "streamId" | "programNumber";
|
28
|
+
value: number;
|
29
|
+
})[];
|
30
|
+
missingBehaviour?: "fill" | "skip";
|
31
|
+
}[];
|
32
|
+
};
|
14
33
|
initialState?: "enabled" | "disabled";
|
15
34
|
}, {
|
16
35
|
connectedStreams: string[];
|
@@ -36,7 +36,26 @@ export default class RtmpInputDefinition implements ServerComponentDefinition<Rt
|
|
36
36
|
ssl?: boolean;
|
37
37
|
appName: string;
|
38
38
|
streamNames: string[];
|
39
|
-
streamMappings?:
|
39
|
+
streamMappings?: {
|
40
|
+
streams: {
|
41
|
+
outputKey: {
|
42
|
+
streamId: number;
|
43
|
+
programNumber: number;
|
44
|
+
sourceName: string;
|
45
|
+
renditionName: string;
|
46
|
+
};
|
47
|
+
displayName?: string;
|
48
|
+
media: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
|
49
|
+
filters?: ({
|
50
|
+
type: "sourceName" | "language" | "codec" | "renditionName";
|
51
|
+
value: string;
|
52
|
+
} | {
|
53
|
+
type: "streamId" | "programNumber";
|
54
|
+
value: number;
|
55
|
+
})[];
|
56
|
+
missingBehaviour?: "fill" | "skip";
|
57
|
+
}[];
|
58
|
+
};
|
40
59
|
initialState?: "enabled" | "disabled";
|
41
60
|
}, RtmpInput, {
|
42
61
|
connectedStreams: string[];
|
@@ -191,14 +191,46 @@ export interface components {
|
|
191
191
|
ssl?: boolean;
|
192
192
|
appName: string;
|
193
193
|
streamNames: string[];
|
194
|
-
streamMappings?:
|
194
|
+
streamMappings?: {
|
195
|
+
streams: {
|
196
|
+
outputKey: {
|
197
|
+
streamId: number;
|
198
|
+
programNumber: number;
|
199
|
+
sourceName: string;
|
200
|
+
renditionName: string;
|
201
|
+
};
|
202
|
+
displayName?: string;
|
203
|
+
media: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
|
204
|
+
filters?: ({
|
205
|
+
type: "sourceName" | "language" | "codec" | "renditionName";
|
206
|
+
value: string;
|
207
|
+
} | {
|
208
|
+
type: "streamId" | "programNumber";
|
209
|
+
value: number;
|
210
|
+
})[];
|
211
|
+
missingBehaviour?: "fill" | "skip";
|
212
|
+
}[];
|
213
|
+
};
|
195
214
|
initialState?: "enabled" | "disabled";
|
196
215
|
};
|
197
216
|
State: {
|
198
217
|
connectedStreams: string[];
|
199
218
|
disabledStreams: string[];
|
200
219
|
};
|
201
|
-
Commands:
|
220
|
+
Commands: {
|
221
|
+
type: "disable-source";
|
222
|
+
streamName: string;
|
223
|
+
} | {
|
224
|
+
type: "enable-source";
|
225
|
+
streamName: string;
|
226
|
+
} | {
|
227
|
+
type: "reset-source";
|
228
|
+
streamName: string;
|
229
|
+
} | {
|
230
|
+
type: "disable";
|
231
|
+
} | {
|
232
|
+
type: "enable";
|
233
|
+
};
|
202
234
|
DisableSourceCommand: {
|
203
235
|
type: "disable-source";
|
204
236
|
streamName: string;
|
@@ -217,7 +249,19 @@ export interface components {
|
|
217
249
|
EnableCommand: {
|
218
250
|
type: "enable";
|
219
251
|
};
|
220
|
-
Events:
|
252
|
+
Events: {
|
253
|
+
type: "source-connected";
|
254
|
+
streamName: string;
|
255
|
+
} | {
|
256
|
+
type: "source-disconnected";
|
257
|
+
streamName: string;
|
258
|
+
} | {
|
259
|
+
type: "source-enabled";
|
260
|
+
streamName: string;
|
261
|
+
} | {
|
262
|
+
type: "source-disabled";
|
263
|
+
streamName: string;
|
264
|
+
};
|
221
265
|
SourceConnectedEvent: {
|
222
266
|
type: "source-connected";
|
223
267
|
streamName: string;
|
@@ -234,30 +278,6 @@ export interface components {
|
|
234
278
|
type: "source-disabled";
|
235
279
|
streamName: string;
|
236
280
|
};
|
237
|
-
StreamKey: {
|
238
|
-
streamId: number;
|
239
|
-
programNumber: number;
|
240
|
-
sourceName: string;
|
241
|
-
renditionName: string;
|
242
|
-
};
|
243
|
-
MediaType: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
|
244
|
-
StreamMappingFilter: {
|
245
|
-
type: "sourceName" | "language" | "codec" | "renditionName";
|
246
|
-
value: string;
|
247
|
-
} | {
|
248
|
-
type: "streamId" | "programNumber";
|
249
|
-
value: number;
|
250
|
-
};
|
251
|
-
StreamMappingEntry: {
|
252
|
-
outputKey: components["schemas"]["StreamKey"];
|
253
|
-
displayName?: string;
|
254
|
-
media: components["schemas"]["MediaType"];
|
255
|
-
filters?: components["schemas"]["StreamMappingFilter"][];
|
256
|
-
missingBehaviour?: "fill" | "skip";
|
257
|
-
};
|
258
|
-
StreamMappingConfiguration: {
|
259
|
-
streams: components["schemas"]["StreamMappingEntry"][];
|
260
|
-
};
|
261
281
|
};
|
262
282
|
responses: never;
|
263
283
|
parameters: never;
|