@livepeer-frameworks/streamcrafter-wc 0.1.0
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/dist/cjs/components/fw-sc-advanced.js +198 -0
- package/dist/cjs/components/fw-sc-advanced.js.map +1 -0
- package/dist/cjs/components/fw-sc-compositor.js +116 -0
- package/dist/cjs/components/fw-sc-compositor.js.map +1 -0
- package/dist/cjs/components/fw-sc-layer-list.js +253 -0
- package/dist/cjs/components/fw-sc-layer-list.js.map +1 -0
- package/dist/cjs/components/fw-sc-scene-switcher.js +164 -0
- package/dist/cjs/components/fw-sc-scene-switcher.js.map +1 -0
- package/dist/cjs/components/fw-sc-volume.js +183 -0
- package/dist/cjs/components/fw-sc-volume.js.map +1 -0
- package/dist/cjs/components/fw-streamcrafter.js +508 -0
- package/dist/cjs/components/fw-streamcrafter.js.map +1 -0
- package/dist/cjs/controllers/ingest-controller-host.js +236 -0
- package/dist/cjs/controllers/ingest-controller-host.js.map +1 -0
- package/dist/cjs/define.js +25 -0
- package/dist/cjs/define.js.map +1 -0
- package/dist/cjs/icons/index.js +283 -0
- package/dist/cjs/icons/index.js.map +1 -0
- package/dist/cjs/index.js +38 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/node_modules/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js +33 -0
- package/dist/cjs/node_modules/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/cjs/styles/shared-styles.js +2019 -0
- package/dist/cjs/styles/shared-styles.js.map +1 -0
- package/dist/cjs/styles/utility-styles.js +182 -0
- package/dist/cjs/styles/utility-styles.js.map +1 -0
- package/dist/esm/components/fw-sc-advanced.js +198 -0
- package/dist/esm/components/fw-sc-advanced.js.map +1 -0
- package/dist/esm/components/fw-sc-compositor.js +116 -0
- package/dist/esm/components/fw-sc-compositor.js.map +1 -0
- package/dist/esm/components/fw-sc-layer-list.js +253 -0
- package/dist/esm/components/fw-sc-layer-list.js.map +1 -0
- package/dist/esm/components/fw-sc-scene-switcher.js +164 -0
- package/dist/esm/components/fw-sc-scene-switcher.js.map +1 -0
- package/dist/esm/components/fw-sc-volume.js +183 -0
- package/dist/esm/components/fw-sc-volume.js.map +1 -0
- package/dist/esm/components/fw-streamcrafter.js +508 -0
- package/dist/esm/components/fw-streamcrafter.js.map +1 -0
- package/dist/esm/controllers/ingest-controller-host.js +234 -0
- package/dist/esm/controllers/ingest-controller-host.js.map +1 -0
- package/dist/esm/define.js +23 -0
- package/dist/esm/define.js.map +1 -0
- package/dist/esm/icons/index.js +253 -0
- package/dist/esm/icons/index.js.map +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/node_modules/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js +31 -0
- package/dist/esm/node_modules/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/esm/styles/shared-styles.js +2017 -0
- package/dist/esm/styles/shared-styles.js.map +1 -0
- package/dist/esm/styles/utility-styles.js +180 -0
- package/dist/esm/styles/utility-styles.js.map +1 -0
- package/dist/fw-streamcrafter.iife.js +3121 -0
- package/dist/fw-streamcrafter.iife.js.map +1 -0
- package/dist/types/components/fw-sc-advanced.d.ts +20 -0
- package/dist/types/components/fw-sc-compositor.d.ts +19 -0
- package/dist/types/components/fw-sc-layer-list.d.ts +30 -0
- package/dist/types/components/fw-sc-scene-switcher.d.ts +23 -0
- package/dist/types/components/fw-sc-volume.d.ts +30 -0
- package/dist/types/components/fw-streamcrafter.d.ts +49 -0
- package/dist/types/controllers/ingest-controller-host.d.ts +77 -0
- package/dist/types/define.d.ts +1 -0
- package/dist/types/icons/index.d.ts +29 -0
- package/dist/types/iife-entry.d.ts +11 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/styles/shared-styles.d.ts +1 -0
- package/dist/types/styles/utility-styles.d.ts +1 -0
- package/package.json +55 -0
- package/src/components/fw-sc-advanced.ts +221 -0
- package/src/components/fw-sc-compositor.ts +162 -0
- package/src/components/fw-sc-layer-list.ts +251 -0
- package/src/components/fw-sc-scene-switcher.ts +163 -0
- package/src/components/fw-sc-volume.ts +171 -0
- package/src/components/fw-streamcrafter.ts +515 -0
- package/src/controllers/ingest-controller-host.ts +358 -0
- package/src/define.ts +23 -0
- package/src/icons/index.ts +291 -0
- package/src/iife-entry.ts +11 -0
- package/src/index.ts +15 -0
- package/src/styles/shared-styles.ts +2014 -0
- package/src/styles/utility-styles.ts +177 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-styles.js","sources":["../../../../src/styles/shared-styles.ts"],"sourcesContent":[null],"names":["css"],"mappings":";;;;AAAA;AACA;AAGO,MAAM,YAAY,GAAGA,OAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var lit = require('lit');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Minimal utility styles for StreamCrafter WC components.
|
|
7
|
+
* Subset of Tailwind-equivalent classes used across the React components.
|
|
8
|
+
*/
|
|
9
|
+
const utilityStyles = lit.css `
|
|
10
|
+
.flex {
|
|
11
|
+
display: flex;
|
|
12
|
+
}
|
|
13
|
+
.inline-flex {
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
}
|
|
16
|
+
.block {
|
|
17
|
+
display: block;
|
|
18
|
+
}
|
|
19
|
+
.hidden {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
.contents {
|
|
23
|
+
display: contents;
|
|
24
|
+
}
|
|
25
|
+
.flex-col {
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
}
|
|
28
|
+
.flex-row {
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
}
|
|
31
|
+
.flex-1 {
|
|
32
|
+
flex: 1 1 0%;
|
|
33
|
+
}
|
|
34
|
+
.flex-none {
|
|
35
|
+
flex: none;
|
|
36
|
+
}
|
|
37
|
+
.flex-wrap {
|
|
38
|
+
flex-wrap: wrap;
|
|
39
|
+
}
|
|
40
|
+
.items-center {
|
|
41
|
+
align-items: center;
|
|
42
|
+
}
|
|
43
|
+
.items-start {
|
|
44
|
+
align-items: flex-start;
|
|
45
|
+
}
|
|
46
|
+
.justify-center {
|
|
47
|
+
justify-content: center;
|
|
48
|
+
}
|
|
49
|
+
.justify-between {
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
}
|
|
52
|
+
.gap-0\\.5 {
|
|
53
|
+
gap: 0.125rem;
|
|
54
|
+
}
|
|
55
|
+
.gap-1 {
|
|
56
|
+
gap: 0.25rem;
|
|
57
|
+
}
|
|
58
|
+
.gap-2 {
|
|
59
|
+
gap: 0.5rem;
|
|
60
|
+
}
|
|
61
|
+
.gap-3 {
|
|
62
|
+
gap: 0.75rem;
|
|
63
|
+
}
|
|
64
|
+
.gap-4 {
|
|
65
|
+
gap: 1rem;
|
|
66
|
+
}
|
|
67
|
+
.w-full {
|
|
68
|
+
width: 100%;
|
|
69
|
+
}
|
|
70
|
+
.h-full {
|
|
71
|
+
height: 100%;
|
|
72
|
+
}
|
|
73
|
+
.min-w-0 {
|
|
74
|
+
min-width: 0;
|
|
75
|
+
}
|
|
76
|
+
.relative {
|
|
77
|
+
position: relative;
|
|
78
|
+
}
|
|
79
|
+
.absolute {
|
|
80
|
+
position: absolute;
|
|
81
|
+
}
|
|
82
|
+
.inset-0 {
|
|
83
|
+
inset: 0;
|
|
84
|
+
}
|
|
85
|
+
.overflow-hidden {
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
}
|
|
88
|
+
.overflow-auto {
|
|
89
|
+
overflow: auto;
|
|
90
|
+
}
|
|
91
|
+
.text-xs {
|
|
92
|
+
font-size: 0.75rem;
|
|
93
|
+
line-height: 1rem;
|
|
94
|
+
}
|
|
95
|
+
.text-sm {
|
|
96
|
+
font-size: 0.875rem;
|
|
97
|
+
line-height: 1.25rem;
|
|
98
|
+
}
|
|
99
|
+
.font-mono {
|
|
100
|
+
font-family:
|
|
101
|
+
ui-monospace,
|
|
102
|
+
SFMono-Regular,
|
|
103
|
+
SF Mono,
|
|
104
|
+
Menlo,
|
|
105
|
+
Consolas,
|
|
106
|
+
monospace;
|
|
107
|
+
}
|
|
108
|
+
.font-medium {
|
|
109
|
+
font-weight: 500;
|
|
110
|
+
}
|
|
111
|
+
.font-semibold {
|
|
112
|
+
font-weight: 600;
|
|
113
|
+
}
|
|
114
|
+
.uppercase {
|
|
115
|
+
text-transform: uppercase;
|
|
116
|
+
}
|
|
117
|
+
.tracking-wider {
|
|
118
|
+
letter-spacing: 0.05em;
|
|
119
|
+
}
|
|
120
|
+
.whitespace-nowrap {
|
|
121
|
+
white-space: nowrap;
|
|
122
|
+
}
|
|
123
|
+
.tabular-nums {
|
|
124
|
+
font-variant-numeric: tabular-nums;
|
|
125
|
+
}
|
|
126
|
+
.rounded {
|
|
127
|
+
border-radius: 0.25rem;
|
|
128
|
+
}
|
|
129
|
+
.rounded-md {
|
|
130
|
+
border-radius: 0.375rem;
|
|
131
|
+
}
|
|
132
|
+
.rounded-lg {
|
|
133
|
+
border-radius: 0.5rem;
|
|
134
|
+
}
|
|
135
|
+
.border-none {
|
|
136
|
+
border: none;
|
|
137
|
+
}
|
|
138
|
+
.cursor-pointer {
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
}
|
|
141
|
+
.cursor-not-allowed {
|
|
142
|
+
cursor: not-allowed;
|
|
143
|
+
}
|
|
144
|
+
.pointer-events-none {
|
|
145
|
+
pointer-events: none;
|
|
146
|
+
}
|
|
147
|
+
.select-none {
|
|
148
|
+
user-select: none;
|
|
149
|
+
}
|
|
150
|
+
.opacity-50 {
|
|
151
|
+
opacity: 0.5;
|
|
152
|
+
}
|
|
153
|
+
.opacity-70 {
|
|
154
|
+
opacity: 0.7;
|
|
155
|
+
}
|
|
156
|
+
.transition {
|
|
157
|
+
transition: all 150ms ease;
|
|
158
|
+
}
|
|
159
|
+
.p-0 {
|
|
160
|
+
padding: 0;
|
|
161
|
+
}
|
|
162
|
+
.p-2 {
|
|
163
|
+
padding: 0.5rem;
|
|
164
|
+
}
|
|
165
|
+
.px-2 {
|
|
166
|
+
padding-left: 0.5rem;
|
|
167
|
+
padding-right: 0.5rem;
|
|
168
|
+
}
|
|
169
|
+
.py-1 {
|
|
170
|
+
padding-top: 0.25rem;
|
|
171
|
+
padding-bottom: 0.25rem;
|
|
172
|
+
}
|
|
173
|
+
.m-0 {
|
|
174
|
+
margin: 0;
|
|
175
|
+
}
|
|
176
|
+
.bg-none {
|
|
177
|
+
background: none;
|
|
178
|
+
}
|
|
179
|
+
`;
|
|
180
|
+
|
|
181
|
+
exports.utilityStyles = utilityStyles;
|
|
182
|
+
//# sourceMappingURL=utility-styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utility-styles.js","sources":["../../../../src/styles/utility-styles.ts"],"sourcesContent":[null],"names":["css"],"mappings":";;;;AAAA;;;AAGG;AAGI,MAAM,aAAa,GAAGA,OAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { __decorate } from '../node_modules/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import { css, LitElement, html, nothing } from 'lit';
|
|
3
|
+
import { property, state, customElement } from 'lit/decorators.js';
|
|
4
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
5
|
+
import { sharedStyles } from '../styles/shared-styles.js';
|
|
6
|
+
import { utilityStyles } from '../styles/utility-styles.js';
|
|
7
|
+
import { xIcon } from '../icons/index.js';
|
|
8
|
+
|
|
9
|
+
let FwScAdvanced = class FwScAdvanced extends LitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this._activeTab = "stats";
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
return html `
|
|
16
|
+
<div class="panel">
|
|
17
|
+
<div class="header">
|
|
18
|
+
<div class="tabs">
|
|
19
|
+
<button
|
|
20
|
+
class=${classMap({ tab: true, "tab--active": this._activeTab === "stats" })}
|
|
21
|
+
@click=${() => {
|
|
22
|
+
this._activeTab = "stats";
|
|
23
|
+
}}
|
|
24
|
+
>
|
|
25
|
+
Stats
|
|
26
|
+
</button>
|
|
27
|
+
<button
|
|
28
|
+
class=${classMap({ tab: true, "tab--active": this._activeTab === "info" })}
|
|
29
|
+
@click=${() => {
|
|
30
|
+
this._activeTab = "info";
|
|
31
|
+
}}
|
|
32
|
+
>
|
|
33
|
+
Info
|
|
34
|
+
</button>
|
|
35
|
+
</div>
|
|
36
|
+
<button
|
|
37
|
+
class="close"
|
|
38
|
+
@click=${() => this.dispatchEvent(new CustomEvent("fw-close", { bubbles: true, composed: true }))}
|
|
39
|
+
aria-label="Close panel"
|
|
40
|
+
>
|
|
41
|
+
${xIcon(14)}
|
|
42
|
+
</button>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="body">
|
|
45
|
+
${this._activeTab === "stats" ? this._renderStats() : this._renderInfo()}
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
`;
|
|
49
|
+
}
|
|
50
|
+
_renderStats() {
|
|
51
|
+
const s = this.ic.s;
|
|
52
|
+
const stats = s.stats;
|
|
53
|
+
return html `
|
|
54
|
+
<div class="section">
|
|
55
|
+
<div class="label">Connection</div>
|
|
56
|
+
${this._row("State", s.state)}
|
|
57
|
+
${this._row("WebCodecs", s.isWebCodecsActive ? "Active" : s.useWebCodecs ? "Pending" : "Off")}
|
|
58
|
+
</div>
|
|
59
|
+
${stats
|
|
60
|
+
? html `
|
|
61
|
+
<div class="section">
|
|
62
|
+
<div class="label">WebRTC Stats</div>
|
|
63
|
+
${this._row("Video bitrate", stats.video.bitrate ? `${Math.round(stats.video.bitrate / 1000)} kbps` : "—")}
|
|
64
|
+
${this._row("Audio bitrate", stats.audio.bitrate ? `${Math.round(stats.audio.bitrate / 1000)} kbps` : "—")}
|
|
65
|
+
${this._row("RTT", stats.connection.rtt ? `${(stats.connection.rtt * 1000).toFixed(0)} ms` : "—")}
|
|
66
|
+
${this._row("FPS", stats.video.framesPerSecond ? String(stats.video.framesPerSecond) : "—")}
|
|
67
|
+
${this._row("Packets sent", String(stats.video.packetsSent))}
|
|
68
|
+
${this._row("Packets lost", String(stats.video.packetsLost))}
|
|
69
|
+
</div>
|
|
70
|
+
`
|
|
71
|
+
: nothing}
|
|
72
|
+
${s.encoderStats
|
|
73
|
+
? html `
|
|
74
|
+
<div class="section">
|
|
75
|
+
<div class="label">Encoder</div>
|
|
76
|
+
${this._row("Video frames", String(s.encoderStats.video.framesEncoded))}
|
|
77
|
+
${this._row("Video pending", String(s.encoderStats.video.framesPending))}
|
|
78
|
+
${this._row("Audio samples", String(s.encoderStats.audio.samplesEncoded))}
|
|
79
|
+
</div>
|
|
80
|
+
`
|
|
81
|
+
: nothing}
|
|
82
|
+
`;
|
|
83
|
+
}
|
|
84
|
+
_renderInfo() {
|
|
85
|
+
const s = this.ic.s;
|
|
86
|
+
return html `
|
|
87
|
+
<div class="section">
|
|
88
|
+
<div class="label">Configuration</div>
|
|
89
|
+
${this._row("Profile", s.qualityProfile)} ${this._row("Sources", String(s.sources.length))}
|
|
90
|
+
${this._row("WebCodecs Available", s.isWebCodecsAvailable ? "Yes" : "No")}
|
|
91
|
+
</div>
|
|
92
|
+
<div class="section">
|
|
93
|
+
<div class="label">Sources</div>
|
|
94
|
+
${s.sources.map((source) => html `
|
|
95
|
+
${this._row(source.label, `${source.type} ${source.muted ? "(muted)" : ""}`)}
|
|
96
|
+
`)}
|
|
97
|
+
</div>
|
|
98
|
+
`;
|
|
99
|
+
}
|
|
100
|
+
_row(label, value) {
|
|
101
|
+
return html `<div class="row">
|
|
102
|
+
<span class="row-label">${label}</span><span class="row-value">${value}</span>
|
|
103
|
+
</div>`;
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
FwScAdvanced.styles = [
|
|
107
|
+
sharedStyles,
|
|
108
|
+
utilityStyles,
|
|
109
|
+
css `
|
|
110
|
+
:host {
|
|
111
|
+
display: block;
|
|
112
|
+
}
|
|
113
|
+
.panel {
|
|
114
|
+
width: 320px;
|
|
115
|
+
height: 100%;
|
|
116
|
+
border-left: 1px solid rgba(90, 96, 127, 0.3);
|
|
117
|
+
background: #1a1b26;
|
|
118
|
+
overflow: auto;
|
|
119
|
+
font-size: 0.75rem;
|
|
120
|
+
color: #a9b1d6;
|
|
121
|
+
}
|
|
122
|
+
.header {
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
justify-content: space-between;
|
|
126
|
+
padding: 0.5rem 0.75rem;
|
|
127
|
+
border-bottom: 1px solid rgba(90, 96, 127, 0.3);
|
|
128
|
+
}
|
|
129
|
+
.tabs {
|
|
130
|
+
display: flex;
|
|
131
|
+
gap: 0.5rem;
|
|
132
|
+
}
|
|
133
|
+
.tab {
|
|
134
|
+
padding: 0.25rem 0.5rem;
|
|
135
|
+
border: none;
|
|
136
|
+
background: none;
|
|
137
|
+
color: #565f89;
|
|
138
|
+
font-size: 0.6875rem;
|
|
139
|
+
font-weight: 600;
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
border-radius: 0.25rem;
|
|
142
|
+
}
|
|
143
|
+
.tab--active {
|
|
144
|
+
color: #c0caf5;
|
|
145
|
+
background: rgba(90, 96, 127, 0.2);
|
|
146
|
+
}
|
|
147
|
+
.close {
|
|
148
|
+
display: flex;
|
|
149
|
+
background: none;
|
|
150
|
+
border: none;
|
|
151
|
+
color: #565f89;
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
padding: 0;
|
|
154
|
+
}
|
|
155
|
+
.close:hover {
|
|
156
|
+
color: #c0caf5;
|
|
157
|
+
}
|
|
158
|
+
.body {
|
|
159
|
+
padding: 0.75rem;
|
|
160
|
+
}
|
|
161
|
+
.section {
|
|
162
|
+
margin-bottom: 0.75rem;
|
|
163
|
+
}
|
|
164
|
+
.label {
|
|
165
|
+
font-size: 0.625rem;
|
|
166
|
+
font-weight: 600;
|
|
167
|
+
text-transform: uppercase;
|
|
168
|
+
letter-spacing: 0.05em;
|
|
169
|
+
color: #565f89;
|
|
170
|
+
margin-bottom: 0.375rem;
|
|
171
|
+
}
|
|
172
|
+
.row {
|
|
173
|
+
display: flex;
|
|
174
|
+
justify-content: space-between;
|
|
175
|
+
padding: 0.125rem 0;
|
|
176
|
+
}
|
|
177
|
+
.row-label {
|
|
178
|
+
color: #565f89;
|
|
179
|
+
}
|
|
180
|
+
.row-value {
|
|
181
|
+
color: #c0caf5;
|
|
182
|
+
font-family: ui-monospace, monospace;
|
|
183
|
+
font-variant-numeric: tabular-nums;
|
|
184
|
+
}
|
|
185
|
+
`,
|
|
186
|
+
];
|
|
187
|
+
__decorate([
|
|
188
|
+
property({ attribute: false })
|
|
189
|
+
], FwScAdvanced.prototype, "ic", void 0);
|
|
190
|
+
__decorate([
|
|
191
|
+
state()
|
|
192
|
+
], FwScAdvanced.prototype, "_activeTab", void 0);
|
|
193
|
+
FwScAdvanced = __decorate([
|
|
194
|
+
customElement("fw-sc-advanced")
|
|
195
|
+
], FwScAdvanced);
|
|
196
|
+
|
|
197
|
+
export { FwScAdvanced };
|
|
198
|
+
//# sourceMappingURL=fw-sc-advanced.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fw-sc-advanced.js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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4EF,IAAA,CAAA;AACF,CAhFY;AAJmB,UAAA,CAAA;AAA/B,IAAA,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;AAA4B,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,IAAA,EAAA,MAAA,CAAA;AAEzC,UAAA,CAAA;AAAhB,IAAA,KAAK;AAAuC,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAHlC,YAAY,GAAA,UAAA,CAAA;IADxB,aAAa,CAAC,gBAAgB;AAClB,CAAA,EAAA,YAAY,CAuMxB;;;;"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { __decorate } from '../node_modules/.pnpm/@rollup_plugin-typescript@12.3.0_rollup@4.57.1_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import { css, LitElement, html } from 'lit';
|
|
3
|
+
import { property, state, customElement } from 'lit/decorators.js';
|
|
4
|
+
import { sharedStyles } from '../styles/shared-styles.js';
|
|
5
|
+
import { utilityStyles } from '../styles/utility-styles.js';
|
|
6
|
+
import { soloIcon, pipBRIcon, pipBLIcon, pipTRIcon, pipTLIcon, splitHIcon, splitVIcon, focusLIcon, focusRIcon, dualPipIcon, splitPipIcon, featuredIcon, featuredRIcon, gridIcon, stackIcon, letterboxIcon, cropIcon, stretchIcon } from '../icons/index.js';
|
|
7
|
+
import { isLayoutAvailable } from '@livepeer-frameworks/streamcrafter-core';
|
|
8
|
+
|
|
9
|
+
const LAYOUT_PRESETS_UI = [
|
|
10
|
+
{ mode: "solo", label: "Solo", icon: soloIcon, minSources: 1 },
|
|
11
|
+
{ mode: "pip-br", label: "PiP ↘", icon: pipBRIcon, minSources: 2 },
|
|
12
|
+
{ mode: "pip-bl", label: "PiP ↙", icon: pipBLIcon, minSources: 2 },
|
|
13
|
+
{ mode: "pip-tr", label: "PiP ↗", icon: pipTRIcon, minSources: 2 },
|
|
14
|
+
{ mode: "pip-tl", label: "PiP ↖", icon: pipTLIcon, minSources: 2 },
|
|
15
|
+
{ mode: "split-h", label: "Split ⬌", icon: splitHIcon, minSources: 2 },
|
|
16
|
+
{ mode: "split-v", label: "Split ⬍", icon: splitVIcon, minSources: 2 },
|
|
17
|
+
{ mode: "focus-l", label: "Focus ◀", icon: focusLIcon, minSources: 2 },
|
|
18
|
+
{ mode: "focus-r", label: "Focus ▶", icon: focusRIcon, minSources: 2 },
|
|
19
|
+
{ mode: "pip-dual-br", label: "Main+2 PiP", icon: dualPipIcon, minSources: 3 },
|
|
20
|
+
{ mode: "split-pip-r", label: "Split+PiP", icon: splitPipIcon, minSources: 3 },
|
|
21
|
+
{ mode: "featured", label: "Featured", icon: featuredIcon, minSources: 3 },
|
|
22
|
+
{ mode: "featured-r", label: "Featured ▶", icon: featuredRIcon, minSources: 3 },
|
|
23
|
+
{ mode: "grid", label: "Grid", icon: gridIcon, minSources: 2 },
|
|
24
|
+
{ mode: "stack", label: "Stack", icon: stackIcon, minSources: 2 },
|
|
25
|
+
];
|
|
26
|
+
const SCALING_MODES = [
|
|
27
|
+
{ mode: "letterbox", icon: letterboxIcon, label: "Letterbox (fit)" },
|
|
28
|
+
{ mode: "crop", icon: cropIcon, label: "Crop (fill)" },
|
|
29
|
+
{ mode: "stretch", icon: stretchIcon, label: "Stretch" },
|
|
30
|
+
];
|
|
31
|
+
let FwScCompositor = class FwScCompositor extends LitElement {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
|
+
this._tooltipText = "";
|
|
35
|
+
this._tooltipTarget = null;
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
// Compositor uses controller compositor API — for now render layout bar from CSS classes
|
|
39
|
+
const sources = this.ic.s.sources;
|
|
40
|
+
const visibleSourceCount = sources.length;
|
|
41
|
+
const availableLayouts = LAYOUT_PRESETS_UI.filter((preset) => isLayoutAvailable(preset.mode, visibleSourceCount));
|
|
42
|
+
return html `
|
|
43
|
+
<div class="fw-sc-layout-overlay">
|
|
44
|
+
<div class="fw-sc-layout-bar">
|
|
45
|
+
<div class="fw-sc-layout-section">
|
|
46
|
+
<span class="fw-sc-layout-label">Layout</span>
|
|
47
|
+
<div class="fw-sc-layout-icons">
|
|
48
|
+
${availableLayouts.map((preset) => html `
|
|
49
|
+
<button
|
|
50
|
+
type="button"
|
|
51
|
+
class="fw-sc-layout-icon"
|
|
52
|
+
@click=${(e) => {
|
|
53
|
+
e.stopPropagation();
|
|
54
|
+
this._handleLayoutSelect(preset.mode);
|
|
55
|
+
}}
|
|
56
|
+
title=${preset.label}
|
|
57
|
+
>
|
|
58
|
+
${preset.icon()}
|
|
59
|
+
</button>
|
|
60
|
+
`)}
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="fw-sc-layout-separator"></div>
|
|
64
|
+
<div class="fw-sc-layout-section">
|
|
65
|
+
<span class="fw-sc-layout-label">Display</span>
|
|
66
|
+
<div class="fw-sc-scaling-icons">
|
|
67
|
+
${SCALING_MODES.map((sm) => html `
|
|
68
|
+
<button
|
|
69
|
+
type="button"
|
|
70
|
+
class="fw-sc-layout-icon"
|
|
71
|
+
@click=${(e) => {
|
|
72
|
+
e.stopPropagation();
|
|
73
|
+
}}
|
|
74
|
+
title=${sm.label}
|
|
75
|
+
>
|
|
76
|
+
${sm.icon()}
|
|
77
|
+
</button>
|
|
78
|
+
`)}
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
`;
|
|
84
|
+
}
|
|
85
|
+
_handleLayoutSelect(mode) {
|
|
86
|
+
this.dispatchEvent(new CustomEvent("fw-sc-layout-select", {
|
|
87
|
+
detail: { mode },
|
|
88
|
+
bubbles: true,
|
|
89
|
+
composed: true,
|
|
90
|
+
}));
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
FwScCompositor.styles = [
|
|
94
|
+
sharedStyles,
|
|
95
|
+
utilityStyles,
|
|
96
|
+
css `
|
|
97
|
+
:host {
|
|
98
|
+
display: contents;
|
|
99
|
+
}
|
|
100
|
+
`,
|
|
101
|
+
];
|
|
102
|
+
__decorate([
|
|
103
|
+
property({ attribute: false })
|
|
104
|
+
], FwScCompositor.prototype, "ic", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
state()
|
|
107
|
+
], FwScCompositor.prototype, "_tooltipText", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
state()
|
|
110
|
+
], FwScCompositor.prototype, "_tooltipTarget", void 0);
|
|
111
|
+
FwScCompositor = __decorate([
|
|
112
|
+
customElement("fw-sc-compositor")
|
|
113
|
+
], FwScCompositor);
|
|
114
|
+
|
|
115
|
+
export { FwScCompositor };
|
|
116
|
+
//# sourceMappingURL=fw-sc-compositor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fw-sc-compositor.js","sources":["../../../../src/components/fw-sc-compositor.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AA4CA,MAAM,iBAAiB,GAAqB;AAC1C,IAAA,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,EAAE;AAC9D,IAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,EAAE;AAClE,IAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,EAAE;AAClE,IAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,EAAE;AAClE,IAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,I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