@norskvideo/norsk-studio-built-ins 1.5.0 → 1.6.1
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 +211 -922
- package/client/style.css +1411 -0
- package/lib/index.js +1 -1
- package/lib/info.js +9 -17
- package/lib/info.js.map +1 -1
- package/lib/output.preview/runtime.js +3 -2
- package/lib/output.preview/runtime.js.map +1 -1
- package/lib/output.whep/runtime.js +2 -1
- package/lib/output.whep/runtime.js.map +1 -1
- package/lib/shared/webrtcSettings.d.ts +6 -0
- package/lib/shared/webrtcSettings.js +13 -0
- package/lib/shared/webrtcSettings.js.map +1 -0
- package/package.json +4 -4
- package/client/processor.audioLevel/styles.css +0 -164
- package/client/processor.audioMixer/styles.css +0 -249
- package/lib/processor.actionReplay/info.d.ts +0 -5
- package/lib/processor.actionReplay/info.js +0 -100
- package/lib/processor.actionReplay/info.js.map +0 -1
- package/lib/processor.actionReplay/runtime.d.ts +0 -59
- package/lib/processor.actionReplay/runtime.js +0 -224
- package/lib/processor.actionReplay/runtime.js.map +0 -1
- package/lib/processor.actionReplay/summary.d.ts +0 -7
- package/lib/processor.actionReplay/summary.js +0 -76
- package/lib/processor.actionReplay/summary.js.map +0 -1
- package/lib/processor.audioLevel/info.d.ts +0 -3
- package/lib/processor.audioLevel/info.js +0 -83
- package/lib/processor.audioLevel/info.js.map +0 -1
- package/lib/processor.audioLevel/inline-view.d.ts +0 -6
- package/lib/processor.audioLevel/inline-view.js +0 -23
- package/lib/processor.audioLevel/inline-view.js.map +0 -1
- package/lib/processor.audioLevel/runtime.d.ts +0 -49
- package/lib/processor.audioLevel/runtime.js +0 -82
- package/lib/processor.audioLevel/runtime.js.map +0 -1
- package/lib/processor.audioLevel/summary-view.d.ts +0 -7
- package/lib/processor.audioLevel/summary-view.js +0 -36
- package/lib/processor.audioLevel/summary-view.js.map +0 -1
- package/lib/processor.audioMixer/fullscreen-view.d.ts +0 -8
- package/lib/processor.audioMixer/fullscreen-view.js +0 -121
- package/lib/processor.audioMixer/fullscreen-view.js.map +0 -1
- package/lib/processor.audioMixer/info.d.ts +0 -4
- package/lib/processor.audioMixer/info.js +0 -148
- package/lib/processor.audioMixer/info.js.map +0 -1
- package/lib/processor.audioMixer/inline-view.d.ts +0 -7
- package/lib/processor.audioMixer/inline-view.js +0 -43
- package/lib/processor.audioMixer/inline-view.js.map +0 -1
- package/lib/processor.audioMixer/runtime.d.ts +0 -119
- package/lib/processor.audioMixer/runtime.js +0 -142
- package/lib/processor.audioMixer/runtime.js.map +0 -1
- package/lib/processor.audioMixer/summary-view.d.ts +0 -7
- package/lib/processor.audioMixer/summary-view.js +0 -11
- package/lib/processor.audioMixer/summary-view.js.map +0 -1
- package/lib/processor.fixedLadder/newFile.d.ts +0 -3
- package/lib/processor.fixedLadder/newFile.js +0 -145
- package/lib/processor.fixedLadder/newFile.js.map +0 -1
- package/lib/processor.monetise/info.d.ts +0 -3
- package/lib/processor.monetise/info.js +0 -90
- package/lib/processor.monetise/info.js.map +0 -1
- package/lib/processor.monetise/runtime.d.ts +0 -57
- package/lib/processor.monetise/runtime.js +0 -141
- package/lib/processor.monetise/runtime.js.map +0 -1
- package/lib/processor.monetise/summary.d.ts +0 -7
- package/lib/processor.monetise/summary.js +0 -39
- package/lib/processor.monetise/summary.js.map +0 -1
- package/lib/test/audio-mixer.d.ts +0 -0
- package/lib/test/audio-mixer.js +0 -2
- package/lib/test/audio-mixer.js.map +0 -1
- /package/{shared → client/shared}/style.css +0 -0
- /package/{shared → client/shared}/tailwind.css +0 -0
package/lib/index.js
CHANGED
@@ -7,7 +7,7 @@ exports.registerAll = void 0;
|
|
7
7
|
const registration_1 = require("@norskvideo/norsk-studio/lib/extension/registration");
|
8
8
|
const path_1 = __importDefault(require("path"));
|
9
9
|
async function registerAll(r) {
|
10
|
-
r.registerGlobalStylesheet(path_1.default.join(__dirname, "../
|
10
|
+
r.registerGlobalStylesheet(path_1.default.join(__dirname, "../client/style.css"));
|
11
11
|
return (0, registration_1.autoRegisterComponents)(__dirname, path_1.default.join(__dirname, "../client/info.js"), (p) => p.replace('lib', 'client'))(r);
|
12
12
|
}
|
13
13
|
exports.registerAll = registerAll;
|
package/lib/info.js
CHANGED
@@ -47,30 +47,22 @@ const info_14 = __importDefault(require("./output.udpTs/info"));
|
|
47
47
|
AllComponents.push((r) => (0, info_14.default)(r));
|
48
48
|
const info_15 = __importDefault(require("./output.whep/info"));
|
49
49
|
AllComponents.push((r) => (0, info_15.default)(r));
|
50
|
-
const info_16 = __importDefault(require("./processor.
|
50
|
+
const info_16 = __importDefault(require("./processor.aws-transcribe/info"));
|
51
51
|
AllComponents.push((r) => (0, info_16.default)(r));
|
52
|
-
const info_17 = __importDefault(require("./processor.
|
52
|
+
const info_17 = __importDefault(require("./processor.browserOverlay/info"));
|
53
53
|
AllComponents.push((r) => (0, info_17.default)(r));
|
54
|
-
const info_18 = __importDefault(require("./processor.
|
54
|
+
const info_18 = __importDefault(require("./processor.cascadingSwitch/info"));
|
55
55
|
AllComponents.push((r) => (0, info_18.default)(r));
|
56
|
-
const info_19 = __importDefault(require("./processor.
|
56
|
+
const info_19 = __importDefault(require("./processor.dynamicBug/info"));
|
57
57
|
AllComponents.push((r) => (0, info_19.default)(r));
|
58
|
-
const info_20 = __importDefault(require("./processor.
|
58
|
+
const info_20 = __importDefault(require("./processor.fixedLadder/info"));
|
59
59
|
AllComponents.push((r) => (0, info_20.default)(r));
|
60
|
-
const info_21 = __importDefault(require("./processor.
|
60
|
+
const info_21 = __importDefault(require("./processor.whisper-transcribe/info"));
|
61
61
|
AllComponents.push((r) => (0, info_21.default)(r));
|
62
|
-
const info_22 = __importDefault(require("./
|
62
|
+
const info_22 = __importDefault(require("./util.latency/info"));
|
63
63
|
AllComponents.push((r) => (0, info_22.default)(r));
|
64
|
-
const info_23 = __importDefault(require("./
|
64
|
+
const info_23 = __importDefault(require("./util.ma35d/info"));
|
65
65
|
AllComponents.push((r) => (0, info_23.default)(r));
|
66
|
-
const info_24 = __importDefault(require("./
|
66
|
+
const info_24 = __importDefault(require("./util.timestamps/info"));
|
67
67
|
AllComponents.push((r) => (0, info_24.default)(r));
|
68
|
-
const info_25 = __importDefault(require("./processor.whisper-transcribe/info"));
|
69
|
-
AllComponents.push((r) => (0, info_25.default)(r));
|
70
|
-
const info_26 = __importDefault(require("./util.latency/info"));
|
71
|
-
AllComponents.push((r) => (0, info_26.default)(r));
|
72
|
-
const info_27 = __importDefault(require("./util.ma35d/info"));
|
73
|
-
AllComponents.push((r) => (0, info_27.default)(r));
|
74
|
-
const info_28 = __importDefault(require("./util.timestamps/info"));
|
75
|
-
AllComponents.push((r) => (0, info_28.default)(r));
|
76
68
|
//# 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":";;;;;AAGA,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;AATD,8BASC;AAED,qEAA2D;AAC3D,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,cAAkB,EAAC,CAAC,CAAoC,CAAC,CAAC;AAClG,6DAA2C;AAC3C,aAAa,CAAC,IAAI,CAA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AAU,EAAC,CAAC,CAAoC,CAAC,CAAC;AAC1F,mEAAqD;AACrD,aAAa,CAAC,IAAI,CAAC,CAAC,CAAe,EAAE,EAAE,CAAC,IAAA,eAAe,EAAC,CAAC,CAAoC,CAAC,CAAC"}
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const norsk_sdk_1 = require("@norskvideo/norsk-sdk");
|
4
4
|
const base_nodes_1 = require("@norskvideo/norsk-studio/lib/extension/base-nodes");
|
5
5
|
const logging_1 = require("@norskvideo/norsk-studio/lib/server/logging");
|
6
|
+
const webrtcSettings_1 = require("../shared/webrtcSettings");
|
6
7
|
class WhepOutputDefinition {
|
7
8
|
async create(norsk, cfg, cb, runtime) {
|
8
9
|
const node = new PreviewOutput(norsk, runtime, cfg);
|
@@ -32,13 +33,13 @@ class PreviewOutput extends base_nodes_1.CustomSinkNode {
|
|
32
33
|
const whepCfg = {
|
33
34
|
id: `${this.cfg.id}-whep`,
|
34
35
|
bufferDelayMs: this.cfg.bufferDelayMs,
|
35
|
-
iceServers: this.cfg.__global.iceServers.map((s) => ({ urls: [s.url], username: s.username, credential: s.password })),
|
36
36
|
onPublishStart: () => {
|
37
37
|
const url = this.whep?.endpointUrl;
|
38
38
|
if (url) {
|
39
39
|
this.updates.raiseEvent({ type: 'url-published', url });
|
40
40
|
}
|
41
|
-
}
|
41
|
+
},
|
42
|
+
...(0, webrtcSettings_1.webRtcSettings)(this.cfg.__global.iceServers)
|
42
43
|
};
|
43
44
|
this.whep = await this.norsk.output.whep(whepCfg);
|
44
45
|
this.audioLevels = await this.norsk.processor.control.audioMeasureLevels({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/output.preview/runtime.ts"],"names":[],"mappings":";;AAAA,
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/output.preview/runtime.ts"],"names":[],"mappings":";;AAAA,qDAG+B;AAE/B,kFAAwH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CAAC;YACjD,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QACnD,CAAC;QAGD,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,aAAa,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;IAC3F,CAAC;CACF"}
|
@@ -1,13 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
const base_nodes_1 = require("@norskvideo/norsk-studio/lib/extension/base-nodes");
|
4
|
+
const webrtcSettings_1 = require("../shared/webrtcSettings");
|
4
5
|
class WhepOutputDefinition {
|
5
6
|
async create(norsk, cfg, cb, { report }) {
|
6
7
|
const wrapper = new base_nodes_1.SimpleSinkWrapper(cfg.id, async () => {
|
7
8
|
const mappedCfg = {
|
8
9
|
id: cfg.id,
|
9
10
|
bufferDelayMs: cfg.bufferDelayMs,
|
10
|
-
|
11
|
+
...(0, webrtcSettings_1.webRtcSettings)(cfg.__global.iceServers),
|
11
12
|
};
|
12
13
|
const node = await norsk.output.whep(mappedCfg);
|
13
14
|
report.registerOutput(cfg.id, node.playerUrl);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/output.whep/runtime.ts"],"names":[],"mappings":";;AAGA,kFAAsF;
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/output.whep/runtime.ts"],"names":[],"mappings":";;AAGA,kFAAsF;AAEtF,6DAAwD;AAWxD,MAAqB,oBAAoB;IACvC,KAAK,CAAC,MAAM,CAAC,KAAY,EAAE,GAAuB,EAAE,EAAgC,EAAE,EAAE,MAAM,EAAiB;QAC7G,MAAM,OAAO,GAAG,IAAI,8BAAiB,CAAC,GAAG,CAAC,EAAE,EAAE,KAAK,IAAI,EAAE;YACvD,MAAM,SAAS,GAAgB;gBAC7B,EAAE,EAAE,GAAG,CAAC,EAAE;gBACV,aAAa,EAAE,GAAG,CAAC,aAAa;gBAChC,GAAI,IAAA,+BAAc,EAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC;aAC5C,CAAC;YACF,MAAM,IAAI,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAChD,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;YAC9C,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;QACH,MAAM,OAAO,CAAC,WAAW,CAAC;QAC1B,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;CACF;AAfD,uCAeC"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { IceServer } from "@norskvideo/norsk-studio/lib/shared/config";
|
2
|
+
import { IceServerSettings } from "@norskvideo/norsk-sdk";
|
3
|
+
export declare function webRtcSettings(cfg: IceServer[]): {
|
4
|
+
iceServers?: IceServerSettings[];
|
5
|
+
reportedIceServers?: IceServerSettings[];
|
6
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.webRtcSettings = void 0;
|
4
|
+
function webRtcSettings(cfg) {
|
5
|
+
const iceServers = cfg.map((s) => ({ urls: [s.url], username: s.username, credential: s.credential }));
|
6
|
+
const reportedIceServers = cfg.filter((s) => s.reportedUrl).map((s) => ({ urls: [s.reportedUrl ?? ''], username: s.username, credential: s.credential }));
|
7
|
+
return {
|
8
|
+
iceServers: iceServers.length > 0 ? iceServers : undefined,
|
9
|
+
reportedIceServers: reportedIceServers.length > 0 ? reportedIceServers : undefined,
|
10
|
+
};
|
11
|
+
}
|
12
|
+
exports.webRtcSettings = webRtcSettings;
|
13
|
+
//# sourceMappingURL=webrtcSettings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"webrtcSettings.js","sourceRoot":"","sources":["../../src/shared/webrtcSettings.ts"],"names":[],"mappings":";;;AAGA,SAAgB,cAAc,CAAC,GAAgB;IAI3C,MAAM,UAAU,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAC7B,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IACzE,MAAM,kBAAkB,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAClE,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,WAAW,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IACvF,OAAO;QACH,UAAU,EAAE,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS;QAC1D,kBAAkB,EAAE,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS;KACrF,CAAA;AACL,CAAC;AAZD,wCAYC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@norskvideo/norsk-studio-built-ins",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.6.1",
|
4
4
|
"description": "",
|
5
5
|
"scripts": {
|
6
6
|
"clean": "rm -rf lib",
|
@@ -8,9 +8,9 @@
|
|
8
8
|
"build:server": "npx tsc",
|
9
9
|
"build:client": "npx tsc -p tsconfig-client.json && npx studio-bundle build/info.js client/info.js",
|
10
10
|
"build:copy-css": "rsync --mkpath -v -r --include '*/' --include '*.css' --exclude '*' src/ client/",
|
11
|
-
"build:tailwind": "npx tailwindcss -i shared/tailwind.css -o
|
11
|
+
"build:tailwind": "npx tailwindcss -i src/shared/tailwind.css -o client/style.css",
|
12
12
|
"build:eslint": "npx eslint src",
|
13
|
-
"test": "mocha --no-parallel --jobs=0 --timeout 120000 --recursive lib/test"
|
13
|
+
"test": "LOG_LEVEL=error mocha --no-parallel --jobs=0 --timeout 120000 --recursive lib/test"
|
14
14
|
},
|
15
15
|
"files": [
|
16
16
|
"client/*",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"@aws-sdk/client-mediapackage": "^3.499.0",
|
25
25
|
"@aws-sdk/client-translate": "^3.535.0",
|
26
26
|
"@norskvideo/norsk-sdk": "^1.0.360",
|
27
|
-
"@norskvideo/norsk-studio": "^1.
|
27
|
+
"@norskvideo/norsk-studio": "^1.12.1",
|
28
28
|
"@norskvideo/webrtc-client": "^0.1.2",
|
29
29
|
"body-parser": "^1.20.2",
|
30
30
|
"cors": "^2.8.5",
|
@@ -1,164 +0,0 @@
|
|
1
|
-
.audio-level-container {
|
2
|
-
height: 210px;
|
3
|
-
width: 200px;
|
4
|
-
grid-template-columns: 1fr 1fr;
|
5
|
-
grid-template-rows: 150px 40px 25px;
|
6
|
-
}
|
7
|
-
|
8
|
-
.audio-level-container-inline {
|
9
|
-
height: 108px;
|
10
|
-
width: 180px;
|
11
|
-
display: flex;
|
12
|
-
flex-direction: row-reverse;
|
13
|
-
}
|
14
|
-
|
15
|
-
.audio-level-container div {
|
16
|
-
float: left;
|
17
|
-
}
|
18
|
-
|
19
|
-
.preview-levels-inline {
|
20
|
-
height: 100%;
|
21
|
-
width: 30px;
|
22
|
-
background-color: #333;
|
23
|
-
border-radius: 2px;
|
24
|
-
display: flex;
|
25
|
-
grid-template-columns: 30px 30px;
|
26
|
-
padding: 4px 3px;
|
27
|
-
margin: auto;
|
28
|
-
margin-top: 0px;
|
29
|
-
grid-column-gap: 5px;
|
30
|
-
}
|
31
|
-
|
32
|
-
.preview-levels-summary {
|
33
|
-
height: 100%;
|
34
|
-
width: 30px;
|
35
|
-
background-color: #333;
|
36
|
-
border-radius: 2px;
|
37
|
-
display: grid;
|
38
|
-
grid-template-columns: 30px 30px;
|
39
|
-
padding: 4px 3px;
|
40
|
-
margin: auto;
|
41
|
-
margin-top: 0px;
|
42
|
-
grid-column-gap: 5px;
|
43
|
-
}
|
44
|
-
|
45
|
-
/* paint not glowing LEDs */
|
46
|
-
.preview-level {
|
47
|
-
position: relative;
|
48
|
-
margin: 0 2px;
|
49
|
-
flex-grow: 1;
|
50
|
-
z-index: 3;
|
51
|
-
background-color: transparent;
|
52
|
-
background-repeat: repeat-y;
|
53
|
-
background-image: linear-gradient(to bottom, #666 3px, transparent 1px);
|
54
|
-
background-size: 100% 4px;
|
55
|
-
}
|
56
|
-
|
57
|
-
/* paint glowing LEDs */
|
58
|
-
.preview-level:before {
|
59
|
-
width: 100%;
|
60
|
-
height: 100%;
|
61
|
-
content: ' ';
|
62
|
-
position: absolute;
|
63
|
-
top: 0px;
|
64
|
-
left: 0px;
|
65
|
-
z-index: 1;
|
66
|
-
background-repeat: no-repeat;
|
67
|
-
background-image: linear-gradient(to top, green 0%, yellow 80%, red 100%);
|
68
|
-
background-size: 100% 100%;
|
69
|
-
}
|
70
|
-
|
71
|
-
.clip-0:before {
|
72
|
-
clip-path: inset(0% 0 0 0);
|
73
|
-
-webkit-clip-path: inset(100% 0 0 0);
|
74
|
-
}
|
75
|
-
|
76
|
-
.clip-10:before {
|
77
|
-
clip-path: inset(10% 0 0 0);
|
78
|
-
-webkit-clip-path: inset(90% 0 0 0);
|
79
|
-
}
|
80
|
-
|
81
|
-
.clip-20:before {
|
82
|
-
clip-path: inset(80% 0 0 0);
|
83
|
-
-webkit-clip-path: inset(80% 0 0 0);
|
84
|
-
}
|
85
|
-
|
86
|
-
.clip-30:before {
|
87
|
-
clip-path: inset(70% 0 0 0);
|
88
|
-
-webkit-clip-path: inset(70% 0 0 0);
|
89
|
-
}
|
90
|
-
|
91
|
-
.clip-40:before {
|
92
|
-
clip-path: inset(60% 0 0 0);
|
93
|
-
-webkit-clip-path: inset(60% 0 0 0);
|
94
|
-
}
|
95
|
-
|
96
|
-
.clip-50:before {
|
97
|
-
clip-path: inset(50% 0 0 0);
|
98
|
-
-webkit-clip-path: inset(50% 0 0 0);
|
99
|
-
}
|
100
|
-
|
101
|
-
.clip-60:before {
|
102
|
-
clip-path: inset(40% 0 0 0);
|
103
|
-
-webkit-clip-path: inset(40% 0 0 0);
|
104
|
-
}
|
105
|
-
|
106
|
-
.clip-70:before {
|
107
|
-
clip-path: inset(30% 0 0 0);
|
108
|
-
-webkit-clip-path: inset(30% 0 0 0);
|
109
|
-
}
|
110
|
-
|
111
|
-
|
112
|
-
.clip-80:before {
|
113
|
-
clip-path: inset(20% 0 0 0);
|
114
|
-
-webkit-clip-path: inset(20% 0 0 0);
|
115
|
-
}
|
116
|
-
|
117
|
-
.clip-90:before {
|
118
|
-
clip-path: inset(10% 0 0 0);
|
119
|
-
-webkit-clip-path: inset(10% 0 0 0);
|
120
|
-
}
|
121
|
-
|
122
|
-
.clip-100:before {
|
123
|
-
clip-path: inset(0% 0 0 0);
|
124
|
-
-webkit-clip-path: inset(0% 0 0 0);
|
125
|
-
}
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
/* paint gap lines of LEDs */
|
130
|
-
.preview-level::after {
|
131
|
-
width: 100%;
|
132
|
-
height: 100%;
|
133
|
-
content: ' ';
|
134
|
-
position: absolute;
|
135
|
-
top: 0px;
|
136
|
-
left: 0px;
|
137
|
-
z-index: 2;
|
138
|
-
margin-top: 3px;
|
139
|
-
background-image: linear-gradient(to bottom, #333 1px
|
140
|
-
/* space between leds*/
|
141
|
-
, transparent 1px);
|
142
|
-
background-repeat: repeat-y;
|
143
|
-
background-size: 100% 4px;
|
144
|
-
/* 4px LED height */
|
145
|
-
background-color: transparent;
|
146
|
-
}
|
147
|
-
|
148
|
-
#audio-slider {
|
149
|
-
width: 150px;
|
150
|
-
}
|
151
|
-
|
152
|
-
#db-level-max {
|
153
|
-
right: 36px;
|
154
|
-
top: 0;
|
155
|
-
}
|
156
|
-
|
157
|
-
#db-level-min {
|
158
|
-
right: 23px;
|
159
|
-
bottom: 26px;
|
160
|
-
}
|
161
|
-
|
162
|
-
#node-gain-level {
|
163
|
-
align-self: end;
|
164
|
-
}
|
@@ -1,249 +0,0 @@
|
|
1
|
-
.audio-mixer {
|
2
|
-
height: 100%;
|
3
|
-
}
|
4
|
-
|
5
|
-
.channel-container {
|
6
|
-
height: 100%;
|
7
|
-
width: 150px;
|
8
|
-
grid-template-rows: 2em 35% 3em 1fr 2em;
|
9
|
-
grid-template-columns: 100px;
|
10
|
-
}
|
11
|
-
|
12
|
-
.mixer-level-db {
|
13
|
-
justify-content: space-evenly;
|
14
|
-
}
|
15
|
-
|
16
|
-
.mixer-gain-db {
|
17
|
-
height: calc(55vh - 15px);
|
18
|
-
right: -10px;
|
19
|
-
}
|
20
|
-
|
21
|
-
.mute-icon {
|
22
|
-
cursor: pointer;
|
23
|
-
}
|
24
|
-
|
25
|
-
.level-muted {
|
26
|
-
border: 2px solid;
|
27
|
-
border-color: #ff3366;
|
28
|
-
}
|
29
|
-
|
30
|
-
.audio-mixer-fader-container {
|
31
|
-
height: 55vh;
|
32
|
-
}
|
33
|
-
|
34
|
-
.audio-mixer-fader {
|
35
|
-
width: 55vh;
|
36
|
-
height: 1em;
|
37
|
-
}
|
38
|
-
|
39
|
-
.audio-level-container {
|
40
|
-
height: 210px;
|
41
|
-
width: 200px;
|
42
|
-
grid-template-columns: 1fr 1fr;
|
43
|
-
grid-template-rows: 150px 40px 25px;
|
44
|
-
}
|
45
|
-
|
46
|
-
.audio-level-container-inline {
|
47
|
-
height: 108px;
|
48
|
-
width: 180px;
|
49
|
-
display: flex;
|
50
|
-
flex-direction: row-reverse;
|
51
|
-
}
|
52
|
-
|
53
|
-
.audio-level-container div {
|
54
|
-
float: left;
|
55
|
-
}
|
56
|
-
|
57
|
-
.preview-levels-mixer {
|
58
|
-
width: 30px;
|
59
|
-
background-color: #333;
|
60
|
-
border-radius: 2px;
|
61
|
-
display: grid;
|
62
|
-
grid-template-columns: 30px 30px;
|
63
|
-
padding: 4px 3px;
|
64
|
-
margin: auto;
|
65
|
-
margin-top: 0px;
|
66
|
-
grid-column-gap: 5px;
|
67
|
-
height: 100%;
|
68
|
-
}
|
69
|
-
|
70
|
-
/* paint not glowing LEDs */
|
71
|
-
.preview-level-mixer {
|
72
|
-
position: relative;
|
73
|
-
margin: 0 2px;
|
74
|
-
flex-grow: 1;
|
75
|
-
z-index: 3;
|
76
|
-
background-color: transparent;
|
77
|
-
background-repeat: repeat-y;
|
78
|
-
background-image: linear-gradient(to bottom, #666 3px, transparent 1px);
|
79
|
-
background-size: 100% 4px;
|
80
|
-
}
|
81
|
-
|
82
|
-
/* paint glowing LEDs */
|
83
|
-
.preview-level-mixer:before {
|
84
|
-
width: 100%;
|
85
|
-
height: 100%;
|
86
|
-
content: ' ';
|
87
|
-
position: absolute;
|
88
|
-
top: 0px;
|
89
|
-
left: 0px;
|
90
|
-
z-index: 1;
|
91
|
-
background-repeat: no-repeat;
|
92
|
-
background-image: linear-gradient(to top, green 0%, yellow 80%, red 100%);
|
93
|
-
background-size: 100% 100%;
|
94
|
-
}
|
95
|
-
|
96
|
-
.clip-0:before {
|
97
|
-
clip-path: inset(0% 0 0 0);
|
98
|
-
-webkit-clip-path: inset(100% 0 0 0);
|
99
|
-
}
|
100
|
-
|
101
|
-
.clip-10:before {
|
102
|
-
clip-path: inset(10% 0 0 0);
|
103
|
-
-webkit-clip-path: inset(90% 0 0 0);
|
104
|
-
}
|
105
|
-
|
106
|
-
.clip-20:before {
|
107
|
-
clip-path: inset(80% 0 0 0);
|
108
|
-
-webkit-clip-path: inset(80% 0 0 0);
|
109
|
-
}
|
110
|
-
|
111
|
-
.clip-30:before {
|
112
|
-
clip-path: inset(70% 0 0 0);
|
113
|
-
-webkit-clip-path: inset(70% 0 0 0);
|
114
|
-
}
|
115
|
-
|
116
|
-
.clip-40:before {
|
117
|
-
clip-path: inset(60% 0 0 0);
|
118
|
-
-webkit-clip-path: inset(60% 0 0 0);
|
119
|
-
}
|
120
|
-
|
121
|
-
.clip-50:before {
|
122
|
-
clip-path: inset(50% 0 0 0);
|
123
|
-
-webkit-clip-path: inset(50% 0 0 0);
|
124
|
-
}
|
125
|
-
|
126
|
-
.clip-60:before {
|
127
|
-
clip-path: inset(40% 0 0 0);
|
128
|
-
-webkit-clip-path: inset(40% 0 0 0);
|
129
|
-
}
|
130
|
-
|
131
|
-
.clip-70:before {
|
132
|
-
clip-path: inset(30% 0 0 0);
|
133
|
-
-webkit-clip-path: inset(30% 0 0 0);
|
134
|
-
}
|
135
|
-
|
136
|
-
|
137
|
-
.clip-80:before {
|
138
|
-
clip-path: inset(20% 0 0 0);
|
139
|
-
-webkit-clip-path: inset(20% 0 0 0);
|
140
|
-
}
|
141
|
-
|
142
|
-
.clip-90:before {
|
143
|
-
clip-path: inset(10% 0 0 0);
|
144
|
-
-webkit-clip-path: inset(10% 0 0 0);
|
145
|
-
}
|
146
|
-
|
147
|
-
.clip-100:before {
|
148
|
-
clip-path: inset(0% 0 0 0);
|
149
|
-
-webkit-clip-path: inset(0% 0 0 0);
|
150
|
-
}
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
/* paint gap lines of LEDs */
|
155
|
-
.preview-level::after {
|
156
|
-
width: 100%;
|
157
|
-
height: 100%;
|
158
|
-
content: ' ';
|
159
|
-
position: absolute;
|
160
|
-
top: 0px;
|
161
|
-
left: 0px;
|
162
|
-
z-index: 2;
|
163
|
-
margin-top: 3px;
|
164
|
-
background-image: linear-gradient(to bottom, #333 1px
|
165
|
-
/* space between leds*/
|
166
|
-
, transparent 1px);
|
167
|
-
background-repeat: repeat-y;
|
168
|
-
background-size: 100% 4px;
|
169
|
-
/* 4px LED height */
|
170
|
-
background-color: transparent;
|
171
|
-
}
|
172
|
-
|
173
|
-
#audio-slider {
|
174
|
-
width: 150px;
|
175
|
-
}
|
176
|
-
|
177
|
-
#db-level-max {
|
178
|
-
right: 36px;
|
179
|
-
top: 0;
|
180
|
-
}
|
181
|
-
|
182
|
-
#db-level-min {
|
183
|
-
right: 23px;
|
184
|
-
bottom: 26px;
|
185
|
-
}
|
186
|
-
|
187
|
-
#node-gain-level {
|
188
|
-
align-self: end;
|
189
|
-
}
|
190
|
-
|
191
|
-
#mixer-level-container-inline {
|
192
|
-
grid-template-columns: 60px 60px 60px 60px;
|
193
|
-
grid-row-gap: 10px;
|
194
|
-
}
|
195
|
-
|
196
|
-
.preview-levels {
|
197
|
-
height: 100%;
|
198
|
-
width: 30px;
|
199
|
-
background-color: #333;
|
200
|
-
border-radius: 2px;
|
201
|
-
display: flex;
|
202
|
-
flex-direction: row;
|
203
|
-
padding: 4px 3px;
|
204
|
-
margin: auto;
|
205
|
-
margin-top: 0px;
|
206
|
-
writing-mode: vertical-rl;
|
207
|
-
}
|
208
|
-
|
209
|
-
/* paint not glowing LEDs */
|
210
|
-
.preview-level {
|
211
|
-
position: relative;
|
212
|
-
margin: 0 2px;
|
213
|
-
flex-grow: 1;
|
214
|
-
z-index: 3;
|
215
|
-
background-color: transparent;
|
216
|
-
background-repeat: repeat-y;
|
217
|
-
background-image: linear-gradient(to bottom, #666 3px, transparent 1px);
|
218
|
-
background-size: 100% 4px;
|
219
|
-
}
|
220
|
-
|
221
|
-
/* paint glowing LEDs */
|
222
|
-
.preview-level:before {
|
223
|
-
width: 100%;
|
224
|
-
height: 100%;
|
225
|
-
content: ' ';
|
226
|
-
position: absolute;
|
227
|
-
top: 0px;
|
228
|
-
left: 0px;
|
229
|
-
z-index: 1;
|
230
|
-
background-repeat: no-repeat;
|
231
|
-
background-image: linear-gradient(to top, green 0%, yellow 80%, red 100%);
|
232
|
-
background-size: 100% 100%;
|
233
|
-
}
|
234
|
-
|
235
|
-
.inline-channel-name {
|
236
|
-
left: 27px;
|
237
|
-
}
|
238
|
-
|
239
|
-
.inline-master-channel {
|
240
|
-
grid-row-start: 1;
|
241
|
-
grid-column-start: 4;
|
242
|
-
grid-row-end: 5;
|
243
|
-
height: 108px;
|
244
|
-
}
|
245
|
-
|
246
|
-
.inline-master-border {
|
247
|
-
border: 1px solid;
|
248
|
-
border-color: cyan;
|
249
|
-
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import type Registration from "@norskvideo/norsk-studio/lib/extension/registration";
|
2
|
-
import type { ActionReplayConfig, ActionReplayState, ActionReplayCommand, ActionReplayEvent } from "./runtime";
|
3
|
-
export default function ({ defineComponent, assertUnreachable, Av, }: Registration): import("@norskvideo/norsk-studio/lib/extension/client-types").NodeInfo<ActionReplayConfig, ActionReplayState, ActionReplayCommand, ActionReplayEvent>;
|
4
|
-
export declare const hardwareNames: readonly ["quadra", "nvidia"];
|
5
|
-
export type HardwareName = typeof hardwareNames[number];
|