@arcware-cloud/pixelstreaming-websdk 1.3.21 → 1.3.23

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 (48) hide show
  1. package/README.md +4 -0
  2. package/index.cjs.js +27490 -27086
  3. package/index.esm.js +27747 -27375
  4. package/index.umd.js +27489 -27085
  5. package/package.json +1 -1
  6. package/types/index.d.ts +0 -3
  7. package/types/lib/ApplyUrlHack.d.ts +0 -2
  8. package/types/lib/ArcwareApplication.d.ts +0 -54
  9. package/types/lib/ArcwareConfig.d.ts +0 -44
  10. package/types/lib/ArcwareInit.d.ts +0 -19
  11. package/types/lib/ArcwarePixelStreaming.d.ts +0 -140
  12. package/types/lib/MessageTypes.d.ts +0 -4
  13. package/types/lib/domain/ArcwareSettingsSchema.d.ts +0 -274
  14. package/types/lib/domain/EventHandler.d.ts +0 -11
  15. package/types/lib/domain/Session.d.ts +0 -29
  16. package/types/lib/domain/Stats.d.ts +0 -36
  17. package/types/lib/domain/debounce.d.ts +0 -1
  18. package/types/lib/features/ArcwareEventUtil.d.ts +0 -28
  19. package/types/lib/features/ArcwareFileTransferUtil.d.ts +0 -13
  20. package/types/lib/features/DiagnosticsCollector.d.ts +0 -181
  21. package/types/lib/features/ZWhiteLabel.d.ts +0 -31
  22. package/types/lib/features/common.d.ts +0 -17
  23. package/types/lib/features/whiteLabelling.d.ts +0 -4
  24. package/types/lib/index.d.ts +0 -6
  25. package/types/lib/styles/ArcwarePixelStreamingApplicationStyles.d.ts +0 -543
  26. package/types/lib/ui/ArcwareLogoLoader/index.d.ts +0 -14
  27. package/types/lib/ui/AudioButton/AudioIcon.d.ts +0 -7
  28. package/types/lib/ui/AudioButton/index.d.ts +0 -15
  29. package/types/lib/ui/LoveLetters/index.d.ts +0 -6
  30. package/types/lib/ui/MicButton/index.d.ts +0 -14
  31. package/types/lib/ui/MicIcon/index.d.ts +0 -7
  32. package/types/lib/ui/MicrophoneOverlay/index.d.ts +0 -11
  33. package/types/lib/ui/PlayIcon/index.d.ts +0 -5
  34. package/types/lib/ui/StopButton/index.d.ts +0 -16
  35. package/types/lib/ui/StopIcon/index.d.ts +0 -5
  36. package/types/shared/index.d.ts +0 -1
  37. package/types/shared/lib/Messages/ErrorMessage.d.ts +0 -18
  38. package/types/shared/lib/Messages/LoveLetter.d.ts +0 -18
  39. package/types/shared/lib/Messages/Ping.d.ts +0 -15
  40. package/types/shared/lib/Messages/Queue.d.ts +0 -58
  41. package/types/shared/lib/Messages/Render.d.ts +0 -9
  42. package/types/shared/lib/Messages/SessionId.d.ts +0 -12
  43. package/types/shared/lib/Messages/Stats.d.ts +0 -182
  44. package/types/shared/lib/Messages/StreamInfo.d.ts +0 -338
  45. package/types/shared/lib/Messages/Version.d.ts +0 -12
  46. package/types/shared/lib/Messages/WebSdkSettings.d.ts +0 -96
  47. package/types/shared/lib/Messages/index.d.ts +0 -193
  48. package/types/shared/lib/index.d.ts +0 -1
@@ -1,543 +0,0 @@
1
- export declare const ArcwareStyles: {
2
- customStyles: {
3
- ":root": {
4
- "--color0": string;
5
- "--color1": string;
6
- "--color2": string;
7
- "--color3": string;
8
- "--color4": string;
9
- "--color5": string;
10
- "--color6": string;
11
- "--color7": string;
12
- "--color8": string;
13
- "--color9": string;
14
- "--color10": string;
15
- "--color11": string;
16
- "--color12": string;
17
- "--color13": string;
18
- "--colorBoxShadow": string;
19
- };
20
- ".aw-splash": {
21
- backgroundRepeat: string;
22
- backgroundPosition: string;
23
- backgroundSize: string;
24
- backgroundColor: string;
25
- };
26
- "@keyframes aw-loader-fade": {
27
- from: {
28
- opacity: number;
29
- };
30
- to: {
31
- opacity: number;
32
- };
33
- };
34
- "#playerUI *": {
35
- fontFamily: string;
36
- };
37
- "#shared-stream-container": {
38
- boxSizing: string;
39
- };
40
- "#shared-stream-container::-webkit-scrollbar": {
41
- width: string;
42
- };
43
- "#shared-stream-container::-webkit-scrollbar-track": {
44
- background: string;
45
- opacity: string;
46
- borderRadius: string;
47
- borderTop: string;
48
- borderRight: string;
49
- borderBottom: string;
50
- borderLeft: string;
51
- };
52
- "#shared-stream-container::-webkit-scrollbar-track-piece": {
53
- background: string;
54
- };
55
- "#shared-stream-container::-webkit-scrollbar-thumb": {
56
- background: string;
57
- width: string;
58
- borderRight: string;
59
- borderLeft: string;
60
- transition: string;
61
- borderRadius: string;
62
- };
63
- "#shared-stream-container::-webkit-scrollbar-thumb:hover": {
64
- transition: string;
65
- background: string;
66
- };
67
- "#playerUI, #videoElementParent": {
68
- position: string;
69
- width: string;
70
- height: string;
71
- maxWidth: string;
72
- maxHeight: string;
73
- top: number;
74
- right: number;
75
- bottom: number;
76
- left: number;
77
- margin: string;
78
- boxSizing: string;
79
- pointerEvents: string;
80
- };
81
- "#streamingVideo": {
82
- maxWidth: string;
83
- maxHeight: string;
84
- boxSizing: string;
85
- background: string;
86
- };
87
- "#uiFeatures #controls": {
88
- top: string;
89
- left: string;
90
- bottom: string;
91
- right: string;
92
- display: string;
93
- flexDirection: string;
94
- };
95
- "#uiFeatures #connection": {
96
- bottom: string;
97
- left: string;
98
- width: string;
99
- heihgt: string;
100
- };
101
- "#uiFeatures button": {
102
- backgroundColor: string;
103
- border: string;
104
- position: string;
105
- width: string;
106
- height: string;
107
- padding: string;
108
- textAlign: string;
109
- cursor: string;
110
- display: string;
111
- flexDirection: string;
112
- justifyContent: string;
113
- alignItems: string;
114
- boxShadow: string;
115
- borderRadius: string;
116
- outline: string;
117
- };
118
- "#uiFeatures button:hover, #uiFeatures button:active": {
119
- padding: string;
120
- border: string;
121
- };
122
- "#uiFeatures button #audioIconMuted, #uiFeatures button #audioIconUnmuted, #uiFeatures button #micIconMuted, #uiFeatures button #micIconUnmuted": {
123
- width: string;
124
- height: string;
125
- };
126
- "#uiFeatures button #maximizeIcon, #uiFeatures button #minimizeIcon": {
127
- width: string;
128
- height: string;
129
- };
130
- "#stopIcon, #playIcon": {
131
- width: string;
132
- height: string;
133
- };
134
- "#uiFeatures button .tooltiptext": {
135
- right: string;
136
- left: string;
137
- boxShadow: string;
138
- borderRadius: string;
139
- backgroundColor: string;
140
- width: string;
141
- visibility: string;
142
- };
143
- "@media (hover: hover) and (pointer: fine)": {
144
- "#uiFeatures button:hover .tooltiptext": {
145
- visibility: string;
146
- };
147
- };
148
- "#controls>*": {
149
- marginBottom: string;
150
- display: string;
151
- lineHeight: string;
152
- padding: string;
153
- backgroundColor: string;
154
- };
155
- "#uiFeatures #settingsIcon, #uiFeatures #statsIcon": {
156
- width: string;
157
- height: string;
158
- };
159
- ".svgIcon": {
160
- fill: string;
161
- };
162
- "#uiFeatures button:hover .svgIcon, #uiFeatures button:active .svgIcon": {
163
- fill: string;
164
- };
165
- ".tgl-switch .tgl-slider, .tgl-flat:checked+.tgl-slider": {
166
- border: string;
167
- };
168
- ".tgl-switch .tgl-slider": {
169
- background: string;
170
- };
171
- ".tgl-switch .tgl-slider::before": {
172
- content: string;
173
- display: string;
174
- background: string;
175
- position: string;
176
- height: string;
177
- width: string;
178
- borderRadius: string;
179
- margin: string;
180
- top: string;
181
- bottom: string;
182
- left: string;
183
- right: string;
184
- };
185
- ".tgl-switch .tgl-slider::after": {
186
- height: string;
187
- width: string;
188
- borderRadius: string;
189
- top: string;
190
- left: string;
191
- };
192
- ".tgl-flat:checked+.tgl-slider:after": {
193
- left: string;
194
- background: string;
195
- };
196
- ".form-control": {
197
- backgroundColor: string;
198
- border: string;
199
- borderRadius: string;
200
- color: string;
201
- textAlign: string;
202
- fontFamily: string;
203
- padding: string;
204
- };
205
- ".btn-flat": {
206
- background: string;
207
- color: string;
208
- border: string;
209
- padding: string;
210
- cursor: string;
211
- borderRadius: string;
212
- textTransform: string;
213
- minWidth: string;
214
- };
215
- ".btn-flat:disabled": {
216
- background: string;
217
- borderColor: string;
218
- color: string;
219
- cursor: string;
220
- };
221
- ".btn-flat:focus": {
222
- outline: string;
223
- };
224
- ".arcware-logo-loader": {
225
- position: string;
226
- display: string;
227
- alignItems: string;
228
- justifyContent: string;
229
- width: string;
230
- height: string;
231
- margin: string;
232
- boxSizing: string;
233
- };
234
- ".arcware-logo-loader img": {
235
- maxWidth: string;
236
- maxHeight: string;
237
- objectFit: string;
238
- objectPosition: string;
239
- display: string;
240
- margin: number;
241
- verticalAlign: string;
242
- };
243
- ".arcware-logo-loader.pulse img": {
244
- animation: string;
245
- };
246
- ".arcware-logo-loader.aw-custom-loader": {
247
- width: string;
248
- height: string;
249
- };
250
- ".arcware-logo-loader.aw-custom-loader img": {
251
- display: string;
252
- width: string;
253
- height: string;
254
- maxWidth: string;
255
- maxHeight: string;
256
- objectFit: string;
257
- margin: string;
258
- };
259
- "#playOverlay img#playButton": {
260
- width: string;
261
- };
262
- "#disconnectOverlay, #errorOverlay": {
263
- textTransform: string;
264
- textAlign: string;
265
- fontSize: string;
266
- lineHeight: number;
267
- };
268
- "#disconnectOverlay .clickableState": {
269
- textTransform: string;
270
- textAlign: string;
271
- color: string;
272
- padding: string;
273
- fontSize: string;
274
- border: string;
275
- margin: string;
276
- width: string;
277
- };
278
- "#afkOverlay": {
279
- background: string;
280
- transition: string;
281
- opacity: number;
282
- pointerEvents: string;
283
- };
284
- "#afkOverlayInner": {
285
- textTransform: string;
286
- background: string;
287
- padding: string;
288
- fontSize: string;
289
- width: string;
290
- textAlign: string;
291
- lineHeight: number;
292
- };
293
- "#afkOverlayInner center::first-line": {
294
- textTransform: string;
295
- color: string;
296
- fontWeight: string;
297
- fontSize: string;
298
- };
299
- "#afkOverlayInner #afkCountDownNumber": {
300
- color: string;
301
- fontSize: string;
302
- lineHeight: string;
303
- };
304
- "#afkOverlayInner center .retry-button": {
305
- textTransform: string;
306
- textAlign: string;
307
- color: string;
308
- padding: string;
309
- fontSize: string;
310
- border: string;
311
- margin: string;
312
- width: string;
313
- };
314
- "#connectOverlay #connectButton": {
315
- textTransform: string;
316
- textAlign: string;
317
- color: string;
318
- padding: string;
319
- fontSize: string;
320
- border: string;
321
- margin: string;
322
- width: string;
323
- };
324
- "#connectOverlay .connection-text": {
325
- textTransform: string;
326
- textAlign: string;
327
- margin: string;
328
- };
329
- "#connectOverlay .connection-text .title": {
330
- color: string;
331
- fontSize: string;
332
- margin: string;
333
- };
334
- "#connectOverlay .connection-text .subtitle": {
335
- color: string;
336
- opacity: number;
337
- fontSize: string;
338
- margin: string;
339
- };
340
- "#infoOverlay.hiddenState": {
341
- display: string;
342
- };
343
- "#disconnectOverlay, #playOverlay, #errorOverlay, #microphoneOverlay, #connectOverlay": {
344
- background: string;
345
- display: string;
346
- transition: string;
347
- opacity: number;
348
- pointerEvents: string;
349
- };
350
- "#microphoneOverlay": {
351
- textTransform: string;
352
- padding: string;
353
- fontSize: string;
354
- height: string;
355
- width: string;
356
- textAlign: string;
357
- lineHeight: number;
358
- position: string;
359
- margin: string;
360
- top: string;
361
- bottom: string;
362
- left: string;
363
- right: string;
364
- justifyContent: string;
365
- alignItems: string;
366
- flexDirection: string;
367
- zIndex: number;
368
- };
369
- "#microphoneOverlay .title": {
370
- fontSize: string;
371
- position: string;
372
- marginBottom: string;
373
- color: string;
374
- };
375
- "#microphoneOverlay .title:after": {
376
- content: string;
377
- display: string;
378
- animation: string;
379
- position: string;
380
- };
381
- "#microphoneOverlay p": {
382
- margin: number;
383
- color: string;
384
- };
385
- "#microphoneOverlay svg": {
386
- height: string;
387
- marginBottom: string;
388
- marginTop: string;
389
- };
390
- "#microphoneOverlay .svgIcon": {
391
- fill: string;
392
- };
393
- "#disconnectOverlay.hiddenState, #playOverlay.hiddenState, #errorOverlay.hiddenState, #afkOverlay.hiddenState, #microphoneOverlay.hiddenState": {
394
- opacity: number;
395
- pointerEvents: string;
396
- };
397
- "#disconnectOverlay.mic-overlay-is-visible, #errorOverlay.mic-overlay-is-visible, #infoOverlay.mic-overlay-is-visible": {
398
- opacity: number;
399
- pointerEvents: string;
400
- };
401
- "#infoOverlay.hiddenState, #connectOverlay.hiddenState": {
402
- display: string;
403
- };
404
- "#connectOverlay": {
405
- display: string;
406
- flexDirection: string;
407
- alignItems: string;
408
- justifyContent: string;
409
- };
410
- "#infoOverlay": {
411
- display: string;
412
- };
413
- ".love-letters-box-root": {
414
- display: string;
415
- position: string;
416
- width: string;
417
- height: string;
418
- color: string;
419
- justifyContent: string;
420
- alignItems: string;
421
- flexDirection: string;
422
- background: string;
423
- zIndex: number;
424
- };
425
- ".love-letters-box-root.fade-out": {
426
- opacity: number;
427
- transition: string;
428
- };
429
- "#letters-block": {
430
- position: string;
431
- top: number;
432
- left: number;
433
- right: number;
434
- bottom: number;
435
- margin: string;
436
- color: string;
437
- zIndex: number;
438
- display: string;
439
- flexDirection: string;
440
- justifyContent: string;
441
- alignItems: string;
442
- fontSize: string;
443
- textTransform: string;
444
- textAlign: string;
445
- };
446
- "#letters-wrapper": {
447
- height: string;
448
- overflow: string;
449
- position: string;
450
- display: string;
451
- flexDirection: string;
452
- alignItems: string;
453
- justifyContent: string;
454
- marginTop: string;
455
- paddingBottom: string;
456
- };
457
- "#letters-wrapper p": {
458
- textAlign: string;
459
- lineHeight: number;
460
- fontSize: string;
461
- };
462
- ".letter-animation:nth-last-of-type(1)::after": {
463
- display: string;
464
- animation: string;
465
- content: string;
466
- position: string;
467
- };
468
- ".letter-animation": {
469
- transition: string;
470
- transformOrigin: string;
471
- margin: string;
472
- };
473
- ".letter-animation-enter": {
474
- animation: string;
475
- };
476
- ".letter-animation-exit": {
477
- opacity: number;
478
- scale: number;
479
- transition: string;
480
- margin: number;
481
- };
482
- "@keyframes dotty": {
483
- "0%": {
484
- content: string;
485
- };
486
- "25%": {
487
- content: string;
488
- };
489
- "50%": {
490
- content: string;
491
- };
492
- "75%": {
493
- content: string;
494
- };
495
- "100%": {
496
- content: string;
497
- };
498
- };
499
- "@keyframes fadeInUp": {
500
- from: {
501
- opacity: number;
502
- transform: string;
503
- scale: number;
504
- };
505
- to: {
506
- opacity: number;
507
- transform: string;
508
- scale: number;
509
- };
510
- };
511
- ".hidden": {
512
- display: string;
513
- opacity: number;
514
- };
515
- ".visible": {
516
- display: string;
517
- opacity: number;
518
- transition: string;
519
- };
520
- ".love-letters-box-root .arcware-logo-loader": {
521
- display: string;
522
- alignItems: string;
523
- justifyContent: string;
524
- };
525
- ".love-letters-box-root .arcware-logo-loader.aw-custom-loader": {
526
- width: string;
527
- height: string;
528
- };
529
- ".love-letters-box-root .arcware-logo-loader.aw-custom-loader img": {
530
- display: string;
531
- margin: string;
532
- width: string;
533
- height: string;
534
- objectFit: string;
535
- objectPosition: string;
536
- };
537
- ".love-letters-box-root .arcware-logo-loader.aw-custom-loader img.alt-40pct": {
538
- width: string;
539
- maxWidth: string;
540
- height: string;
541
- };
542
- };
543
- };
@@ -1,14 +0,0 @@
1
- export declare class ArcwareLogoLoader {
2
- arcwareLogoLoader: HTMLDivElement;
3
- constructor();
4
- private createArcwareLogoLoader;
5
- private _imgEl?;
6
- private _hostEl?;
7
- /** Call this once after you create the wrapper/root that contains the SVG */
8
- setHostElement(el: HTMLElement): void;
9
- /** Swap the loader image at runtime; pass undefined to go back to SVG */
10
- setImage(url?: string): void;
11
- /** Enable/disable pulsing fade in ms; 0 disables */
12
- setFade(ms?: number): void;
13
- private getSvg;
14
- }
@@ -1,7 +0,0 @@
1
- export declare class AudioIcon {
2
- audioIconUnmuted: SVGElement;
3
- audioIconMuted: SVGElement;
4
- constructor();
5
- private createAudioIconUnmuted;
6
- private createAudioIconMuted;
7
- }
@@ -1,15 +0,0 @@
1
- import { ArcwarePixelStreaming } from "../../ArcwarePixelStreaming";
2
- export declare class AudioButton {
3
- private button;
4
- private stream;
5
- private audioIcon;
6
- private tooltipText;
7
- constructor(stream: ArcwarePixelStreaming);
8
- private setAudioMutedByDefault;
9
- private createButton;
10
- private createTooltipText;
11
- private toggleAudio;
12
- private updateAudioIcon;
13
- get element(): HTMLButtonElement;
14
- private onVolumeChange;
15
- }
@@ -1,6 +0,0 @@
1
- export declare class LoveLetters {
2
- loveLettersRoot: HTMLElement | null;
3
- constructor();
4
- addLetter(letter: string, listLength: number): void;
5
- updateOpacity(listLength: number): void;
6
- }
@@ -1,14 +0,0 @@
1
- import { ArcwarePixelStreaming } from "../../ArcwarePixelStreaming";
2
- export declare class MicButton {
3
- private button;
4
- private stream;
5
- private micIcon;
6
- private tooltipText;
7
- constructor(stream: ArcwarePixelStreaming);
8
- private setMicMutedByDefault;
9
- private createButton;
10
- private createTooltipText;
11
- private toggleMic;
12
- private updateMicIcon;
13
- get element(): HTMLButtonElement;
14
- }
@@ -1,7 +0,0 @@
1
- export declare class MicIcon {
2
- micIconUnmuted: SVGElement;
3
- micIconMuted: SVGElement;
4
- constructor();
5
- private createMicIconUnmuted;
6
- private createMicIconMuted;
7
- }
@@ -1,11 +0,0 @@
1
- import { ArcwarePixelStreaming } from "../../ArcwarePixelStreaming";
2
- export declare class MicrophoneOverlay {
3
- private overlay;
4
- private parentElement;
5
- private micIcon;
6
- private stream;
7
- constructor(stream: ArcwarePixelStreaming);
8
- createOverlay(): void;
9
- toggleMessage(enabled: boolean): void;
10
- toggleVisibility(visible: boolean): void;
11
- }
@@ -1,5 +0,0 @@
1
- export declare class PlayIcon {
2
- playIcon: SVGElement;
3
- constructor();
4
- private createPlayIcon;
5
- }
@@ -1,16 +0,0 @@
1
- import { ArcwarePixelStreaming } from "../../ArcwarePixelStreaming";
2
- export declare class StopButton {
3
- private button;
4
- private stream;
5
- private stopIcon;
6
- private playIcon;
7
- private tooltipText;
8
- private isStreaming;
9
- constructor(stream: ArcwarePixelStreaming);
10
- private createButton;
11
- private createTooltipText;
12
- private toggleStreaming;
13
- private updateButtonIcon;
14
- get element(): HTMLButtonElement;
15
- private updateButtonState;
16
- }
@@ -1,5 +0,0 @@
1
- export declare class StopIcon {
2
- stopIcon: SVGElement;
3
- constructor();
4
- private createStopIcon;
5
- }
@@ -1 +0,0 @@
1
- export * from "./lib";
@@ -1,18 +0,0 @@
1
- import { z } from "zod";
2
- export declare const ZErrorMessage: z.ZodObject<{
3
- type: z.ZodLiteral<"error">;
4
- code: z.ZodNumber;
5
- reason: z.ZodString;
6
- verbosity: z.ZodNumber;
7
- }, "strip", z.ZodTypeAny, {
8
- type?: "error";
9
- code?: number;
10
- reason?: string;
11
- verbosity?: number;
12
- }, {
13
- type?: "error";
14
- code?: number;
15
- reason?: string;
16
- verbosity?: number;
17
- }>;
18
- export type ErrorMessage = z.infer<typeof ZErrorMessage>;
@@ -1,18 +0,0 @@
1
- import { z } from "zod";
2
- export declare const ZLoveLetter: z.ZodObject<{
3
- type: z.ZodLiteral<"letter">;
4
- reason: z.ZodString;
5
- code: z.ZodNumber;
6
- verbosity: z.ZodNumber;
7
- }, "strip", z.ZodTypeAny, {
8
- type?: "letter";
9
- reason?: string;
10
- code?: number;
11
- verbosity?: number;
12
- }, {
13
- type?: "letter";
14
- reason?: string;
15
- code?: number;
16
- verbosity?: number;
17
- }>;
18
- export type LoveLetter = z.infer<typeof ZLoveLetter>;