@3dsource/angular-unreal-module 0.0.28 → 0.0.30

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 (107) hide show
  1. package/LICENSE +14 -14
  2. package/README.md +117 -36
  3. package/fesm2022/3dsource-angular-unreal-module.mjs +236 -235
  4. package/fesm2022/3dsource-angular-unreal-module.mjs.map +1 -1
  5. package/index.d.ts +1637 -3
  6. package/package.json +2 -2
  7. package/lib/components/clickable-overlay/clickable-overlay.component.d.ts +0 -11
  8. package/lib/components/freeze-frame/freeze-frame.component.d.ts +0 -8
  9. package/lib/components/index.d.ts +0 -10
  10. package/lib/components/low-bandwidth-indicator/DataFlowConstants.d.ts +0 -66
  11. package/lib/components/low-bandwidth-indicator/filter-settings/filter-settings.component.d.ts +0 -37
  12. package/lib/components/low-bandwidth-indicator/index.d.ts +0 -2
  13. package/lib/components/low-bandwidth-indicator/low-bandwidth-detector.component.d.ts +0 -38
  14. package/lib/components/low-bandwidth-modal/low-bandwidth-modal.component.d.ts +0 -8
  15. package/lib/components/screen-locker/afk-restart-screen-locker.component.d.ts +0 -22
  16. package/lib/components/stat-graph/stat-graph.component.d.ts +0 -28
  17. package/lib/components/unreal-error-modal/unreal-error-modal.component.d.ts +0 -11
  18. package/lib/components/unreal-scene/unreal-scene.component.d.ts +0 -50
  19. package/lib/components/unreal-status/unreal-status.component.d.ts +0 -24
  20. package/lib/components/video-locker/video-locker.component.d.ts +0 -14
  21. package/lib/components/video-stats/video-stats.component.d.ts +0 -36
  22. package/lib/components/webrtc-error-modal/webrtc-error-modal.component.d.ts +0 -10
  23. package/lib/constants/ButtonsAndCodes.d.ts +0 -23
  24. package/lib/constants/EControlSchemeType.d.ts +0 -6
  25. package/lib/constants/EMessageType.d.ts +0 -25
  26. package/lib/constants/EToClientMessageType.d.ts +0 -12
  27. package/lib/constants/InputOptions.d.ts +0 -2
  28. package/lib/constants/UnrealStatusMessage.d.ts +0 -4
  29. package/lib/constants/index.d.ts +0 -8
  30. package/lib/constants/initial-config.d.ts +0 -3
  31. package/lib/constants/unreal.constant.d.ts +0 -15
  32. package/lib/helpers/CommandObserver.d.ts +0 -8
  33. package/lib/helpers/DataDecoder.d.ts +0 -1
  34. package/lib/helpers/DataFlowMonitor.d.ts +0 -39
  35. package/lib/helpers/EventWrapper.d.ts +0 -18
  36. package/lib/helpers/FromStreamerHandlers/AnswerHandler.d.ts +0 -3
  37. package/lib/helpers/FromStreamerHandlers/ConfigHandler.d.ts +0 -3
  38. package/lib/helpers/FromStreamerHandlers/IceCandidateHandler.d.ts +0 -4
  39. package/lib/helpers/FromStreamerHandlers/InstanceReadyHandler.d.ts +0 -3
  40. package/lib/helpers/FromStreamerHandlers/InstanceReservedHandler.d.ts +0 -3
  41. package/lib/helpers/FromStreamerHandlers/PingHandler.d.ts +0 -2
  42. package/lib/helpers/FromStreamerHandlers/PlayerCountHandler.d.ts +0 -3
  43. package/lib/helpers/FromStreamerHandlers/SSInfoHandler.d.ts +0 -3
  44. package/lib/helpers/FromStreamerHandlers/index.d.ts +0 -8
  45. package/lib/helpers/GetNextUrl.d.ts +0 -1
  46. package/lib/helpers/KalmanFilter1D.d.ts +0 -20
  47. package/lib/helpers/LatencyTimings.d.ts +0 -13
  48. package/lib/helpers/TouchEmulator.d.ts +0 -24
  49. package/lib/helpers/VideoRecorder.d.ts +0 -8
  50. package/lib/helpers/WsHandlers/OnCloseHandler.d.ts +0 -2
  51. package/lib/helpers/WsHandlers/OnErrorHandler.d.ts +0 -2
  52. package/lib/helpers/WsHandlers/OnMessageHandler.d.ts +0 -2
  53. package/lib/helpers/WsHandlers/OpenHandler.d.ts +0 -2
  54. package/lib/helpers/WsHandlers/index.d.ts +0 -4
  55. package/lib/helpers/clamp-and-keep-max-percents.d.ts +0 -2
  56. package/lib/helpers/deepEqual.d.ts +0 -1
  57. package/lib/helpers/dispatchResize.d.ts +0 -2
  58. package/lib/helpers/error-codes.d.ts +0 -1
  59. package/lib/helpers/float-to-smooth-percents.d.ts +0 -2
  60. package/lib/helpers/get-image-from-video-stream.d.ts +0 -3
  61. package/lib/helpers/index.d.ts +0 -21
  62. package/lib/helpers/mapQpToQuality.d.ts +0 -2
  63. package/lib/helpers/prepare-commands.d.ts +0 -52
  64. package/lib/helpers/remove-exile-commands.d.ts +0 -10
  65. package/lib/helpers/resetAfk.d.ts +0 -1
  66. package/lib/helpers/resize-observer.d.ts +0 -2
  67. package/lib/interfaces/CloseReason.d.ts +0 -5
  68. package/lib/interfaces/CustomCloseCodes.d.ts +0 -6
  69. package/lib/interfaces/LBMStats.d.ts +0 -6
  70. package/lib/interfaces/SignalingData.d.ts +0 -8
  71. package/lib/interfaces/SignalingMessage.d.ts +0 -77
  72. package/lib/interfaces/TelemetryEvent.d.ts +0 -1
  73. package/lib/interfaces/disconnect-reasons.d.ts +0 -9
  74. package/lib/interfaces/errors.interface.d.ts +0 -5
  75. package/lib/interfaces/freeze-frame-message.interface.d.ts +0 -4
  76. package/lib/interfaces/index.d.ts +0 -15
  77. package/lib/interfaces/initial-config.d.ts +0 -6
  78. package/lib/interfaces/input.interface.d.ts +0 -19
  79. package/lib/interfaces/quality.interface.d.ts +0 -1
  80. package/lib/interfaces/stream-config.interface.d.ts +0 -5
  81. package/lib/interfaces/stream-resolution.interface.d.ts +0 -4
  82. package/lib/interfaces/unreal-internal-signal-events.interface.d.ts +0 -83
  83. package/lib/pipes/index.d.ts +0 -1
  84. package/lib/pipes/safe-html.pipe.d.ts +0 -9
  85. package/lib/services/afk.service.d.ts +0 -38
  86. package/lib/services/aggregator.service.d.ts +0 -52
  87. package/lib/services/command-telemetry.service.d.ts +0 -71
  88. package/lib/services/console-extensions.service.d.ts +0 -10
  89. package/lib/services/dev-mode.service.d.ts +0 -7
  90. package/lib/services/freeze-frame.service.d.ts +0 -16
  91. package/lib/services/index.d.ts +0 -15
  92. package/lib/services/input.service.d.ts +0 -53
  93. package/lib/services/regions-ping.service.d.ts +0 -35
  94. package/lib/services/signalling.service.d.ts +0 -40
  95. package/lib/services/stream-status-telemetry.service.d.ts +0 -11
  96. package/lib/services/sub.service.d.ts +0 -5
  97. package/lib/services/unreal-communicator.service.d.ts +0 -38
  98. package/lib/services/video-stream-status.service.d.ts +0 -24
  99. package/lib/services/video.service.d.ts +0 -17
  100. package/lib/services/web-rtc-player.service.d.ts +0 -44
  101. package/lib/store/index.d.ts +0 -5
  102. package/lib/store/unreal.actions.d.ts +0 -176
  103. package/lib/store/unreal.effects.d.ts +0 -69
  104. package/lib/store/unreal.feature.d.ts +0 -32
  105. package/lib/store/unreal.reducer.d.ts +0 -44
  106. package/lib/store/unreal.selectors.d.ts +0 -30
  107. package/public-api.d.ts +0 -7
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@3dsource/angular-unreal-module",
3
- "version": "0.0.28",
4
- "description": "An unreal scene standalone component",
3
+ "version": "0.0.30",
4
+ "description": "Angular Unreal module for connect with unreal engine stream",
5
5
  "keywords": [
6
6
  "3dsource",
7
7
  "unreal",
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ClickableOverlayComponent {
3
- state: import("@angular/core").Signal<{
4
- message: string;
5
- className: string;
6
- isActivityDetected: boolean;
7
- onOverlayClick: () => void;
8
- } | null | undefined>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<ClickableOverlayComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<ClickableOverlayComponent, "app-clickable-overlay", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FreezeFrameComponent {
3
- #private;
4
- freezeFrameProgressMessageFromVideo: import("@angular/core").Signal<number | null | undefined>;
5
- combinedFreeze: import("@angular/core").Signal<string | null | undefined>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<FreezeFrameComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<FreezeFrameComponent, "app-freeze-frame", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,10 +0,0 @@
1
- export * from './clickable-overlay/clickable-overlay.component';
2
- export * from './freeze-frame/freeze-frame.component';
3
- export * from './low-bandwidth-modal/low-bandwidth-modal.component';
4
- export * from './screen-locker/afk-restart-screen-locker.component';
5
- export * from './stat-graph/stat-graph.component';
6
- export * from './unreal-scene/unreal-scene.component';
7
- export * from './video-locker/video-locker.component';
8
- export * from './video-stats/video-stats.component';
9
- export * from './webrtc-error-modal/webrtc-error-modal.component';
10
- export * from './low-bandwidth-indicator';
@@ -1,66 +0,0 @@
1
- import { DataFlowMonitor } from '../../helpers/DataFlowMonitor';
2
- export interface FilterSettings {
3
- /**
4
- * Minimum number of kilobits per second to trigger low bandwidth
5
- */
6
- minimumBitrate: number;
7
- /**
8
- * Amount of a percentage drop to trigger a yellow warning
9
- */
10
- yellowFlag: number;
11
- /**
12
- * Amount of a percentage drop to trigger a red warning
13
- */
14
- redFlag: number;
15
- /**
16
- * Minimum number of frames per second to trigger low bandwidth
17
- */
18
- minimumFps: number;
19
- /**
20
- * Time to wait before checking if we can switch to low bandwidth
21
- */
22
- monitoringDelayTime: number;
23
- initialBitrateEstimate: number;
24
- initialErrorCovariance: number;
25
- processNoise: number;
26
- measurementNoise: number;
27
- panelOpen: boolean;
28
- }
29
- /**
30
- * Default LBM Filter Parameters
31
- */
32
- export declare const DefaultFilterModel: FilterSettings;
33
- /**
34
- * Global LBM Filter Parameters
35
- */
36
- export declare const FilterModel: {
37
- /**
38
- * Minimum number of kilobits per second to trigger low bandwidth
39
- */
40
- minimumBitrate: number;
41
- /**
42
- * Amount of a percentage drop to trigger a yellow warning
43
- */
44
- yellowFlag: number;
45
- /**
46
- * Amount of a percentage drop to trigger a red warning
47
- */
48
- redFlag: number;
49
- /**
50
- * Minimum number of frames per second to trigger low bandwidth
51
- */
52
- minimumFps: number;
53
- /**
54
- * Time to wait before checking if we can switch to low bandwidth
55
- */
56
- monitoringDelayTime: number;
57
- initialBitrateEstimate: number;
58
- initialErrorCovariance: number;
59
- processNoise: number;
60
- measurementNoise: number;
61
- panelOpen: boolean;
62
- };
63
- /**
64
- * Bitrate Monitor Static Class
65
- */
66
- export declare const BITRATE_MONITOR: DataFlowMonitor;
@@ -1,37 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { DefaultFilterModel } from '../DataFlowConstants';
3
- import * as i0 from "@angular/core";
4
- export declare class FilterSettingsComponent implements OnInit {
5
- private readonly storageKey;
6
- readonly defaultFilterModel: {
7
- minimumBitrate: number;
8
- yellowFlag: number;
9
- redFlag: number;
10
- minimumFps: number;
11
- monitoringDelayTime: number;
12
- initialBitrateEstimate: number;
13
- initialErrorCovariance: number;
14
- processNoise: number;
15
- measurementNoise: number;
16
- panelOpen: boolean;
17
- };
18
- settings: {
19
- minimumBitrate: number;
20
- yellowFlag: number;
21
- redFlag: number;
22
- minimumFps: number;
23
- monitoringDelayTime: number;
24
- initialBitrateEstimate: number;
25
- initialErrorCovariance: number;
26
- processNoise: number;
27
- measurementNoise: number;
28
- panelOpen: boolean;
29
- };
30
- ngOnInit(): void;
31
- togglePanel(): void;
32
- saveSettings(): void;
33
- dispatch(model: typeof DefaultFilterModel): void;
34
- reset(): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterSettingsComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterSettingsComponent, "app-filter-settings", never, {}, {}, never, never, true, never>;
37
- }
@@ -1,2 +0,0 @@
1
- export * from './filter-settings/filter-settings.component';
2
- export * from './low-bandwidth-detector.component';
@@ -1,38 +0,0 @@
1
- import type { OnInit } from '@angular/core';
2
- import { DevModeService } from '../../services';
3
- import type { Quality } from '../../interfaces';
4
- import * as i0 from "@angular/core";
5
- export declare class LowBandwidthDetectorComponent implements OnInit {
6
- private readonly store;
7
- private readonly dialog;
8
- private readonly destroyRef;
9
- private readonly videoStatGenerator;
10
- readonly devModeService: DevModeService;
11
- private readonly viewportReady$;
12
- private readonly isLowBandwidth$;
13
- private readonly lowBandwidthTrigger$;
14
- private readonly highBandwidthTrigger$;
15
- private readonly viewPortDestroyedTrigger$;
16
- private readonly aggregatedStats$;
17
- private readonly nativeQuality$;
18
- private readonly monitoringTrigger$;
19
- private readonly reTrigger$;
20
- private readonly canSwitchToLowBand$;
21
- private readonly videoQuality$;
22
- private readonly fps$;
23
- private readonly bitrateDrop$;
24
- readonly fps: import("@angular/core").Signal<number | undefined>;
25
- readonly nativeQuality: import("@angular/core").Signal<Quality | undefined>;
26
- readonly isLowBandwidth: import("@angular/core").Signal<boolean | undefined>;
27
- readonly aggregatedStats: import("@angular/core").Signal<import("../../interfaces").InboundVideoStats | undefined>;
28
- readonly isReducedQuality: import("@angular/core").WritableSignal<boolean>;
29
- readonly isIndicatorExpanded: import("@angular/core").WritableSignal<boolean>;
30
- readonly isIndicatorExpandedTrigger$: import("rxjs").Observable<false>;
31
- ngOnInit(): void;
32
- private trySetLowBandwidth;
33
- toggleIndicator(value: boolean): void;
34
- hideIndicatorAfterDelay(): void;
35
- openLBMDialog(): void;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<LowBandwidthDetectorComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<LowBandwidthDetectorComponent, "app-low-bandwidth-detector", never, {}, {}, never, never, true, never>;
38
- }
@@ -1,8 +0,0 @@
1
- import { DialogRef } from '@angular/cdk/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class LowBandwidthModalComponent {
4
- dialogRef: DialogRef<any, any>;
5
- close(value?: boolean): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<LowBandwidthModalComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<LowBandwidthModalComponent, "app-low-bandwidth-modal", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,22 +0,0 @@
1
- import type { AfterViewInit, OnInit } from '@angular/core';
2
- import { DestroyRef } from '@angular/core';
3
- import { VideoService } from '../../services';
4
- import { Store } from '@ngrx/store';
5
- import * as i0 from "@angular/core";
6
- export declare class AfkRestartScreenLockerComponent implements AfterViewInit, OnInit {
7
- store: Store<any>;
8
- videoService: VideoService;
9
- destroyRef: DestroyRef;
10
- showReconnectPopup: import("@angular/core").Signal<boolean | undefined>;
11
- isViewportReady: import("@angular/core").Signal<boolean | undefined>;
12
- imageLoadingSrc: import("@angular/core").Signal<string | undefined>;
13
- streamConfig: import("@angular/core").Signal<import("../../interfaces").StreamConfig | undefined>;
14
- isSecondStart: import("@angular/core").WritableSignal<boolean>;
15
- playCallBack: null | (() => void);
16
- ngOnInit(): void;
17
- ngAfterViewInit(): void;
18
- connect(): void;
19
- onDisconnect(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<AfkRestartScreenLockerComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<AfkRestartScreenLockerComponent, "app-afk-restart-screen-locker", never, {}, {}, never, never, true, never>;
22
- }
@@ -1,28 +0,0 @@
1
- import type { AfterViewInit } from '@angular/core';
2
- import { ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class StatGraphComponent implements AfterViewInit {
5
- private el;
6
- graph: ElementRef;
7
- private canvas;
8
- private ctx;
9
- readonly color: import("@angular/core").InputSignal<string>;
10
- readonly tickStep: import("@angular/core").InputSignal<number>;
11
- readonly label: import("@angular/core").InputSignal<string>;
12
- private scaleY;
13
- set dataTick(data: {
14
- value: number;
15
- hash: number;
16
- } | null);
17
- private data;
18
- max: number;
19
- min: number;
20
- current: number;
21
- ngAfterViewInit(): void;
22
- resize(): void;
23
- private draw;
24
- private getColor;
25
- private pushData;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<StatGraphComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<StatGraphComponent, "app-stat-graph", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "tickStep": { "alias": "tickStep"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "dataTick": { "alias": "dataTick"; "required": false; }; }, {}, never, never, true, never>;
28
- }
@@ -1,11 +0,0 @@
1
- import { DialogRef } from '@angular/cdk/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class UnrealErrorModalComponent {
4
- dialogRef: DialogRef<any, any>;
5
- dialogData: {
6
- content: string;
7
- };
8
- close(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<UnrealErrorModalComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<UnrealErrorModalComponent, "app-unreal-error-modal", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,50 +0,0 @@
1
- import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class UnrealSceneComponent implements AfterViewInit, OnInit, OnDestroy {
4
- isStudio: import("@angular/core").InputSignal<boolean>;
5
- useContainerAsSizeProvider: import("@angular/core").InputSignal<boolean>;
6
- studioResolutionSize: import("@angular/core").InputSignal<{
7
- width: number;
8
- height: number;
9
- }>;
10
- studioResolutionValues: import("rxjs").Observable<{
11
- width: number;
12
- height: number;
13
- }>;
14
- container: ElementRef;
15
- changeMouseOverScene: import("@angular/core").OutputEmitterRef<boolean>;
16
- private width;
17
- private height;
18
- private store;
19
- lightMode: import("@angular/core").Signal<boolean | undefined>;
20
- isFreezeFrameLoading: import("@angular/core").Signal<boolean | undefined>;
21
- private aggregatorService;
22
- private commandsSender;
23
- private inputService;
24
- private videoService;
25
- private stats;
26
- private streamTelemetryService;
27
- private element;
28
- private destroyRef;
29
- private get resizeValues();
30
- private get pixelRatio();
31
- onMouseOver(): void;
32
- onMouseOut(): void;
33
- ngOnInit(): void;
34
- ngAfterViewInit(): void;
35
- ngOnDestroy(): void;
36
- private adaptVideo;
37
- /**
38
- * This method calculates the dimensions for resizing a layout in a configurator stream.
39
- * It takes into account the pixel ratio of the device's screen and the orientation of the layout.
40
- * The method uses the `fitIntoRectangle` function to calculate the dimensions that would allow the layout to fit into the maximum space while maintaining its aspect ratio.
41
- * It also sets the maximum limits for the width and height based on the layout's orientation.
42
- * If the scale of the fitted dimensions is less than 1, it assigns the fitted dimensions to the output. Otherwise, it sets the scale of the output to 1.
43
- * @returns {Area} An object of type `Area` that contains the calculated dimensions for resizing the layout.
44
- */
45
- private getResizeValuesUniversal;
46
- private getResizeValues;
47
- private sendResize;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<UnrealSceneComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<UnrealSceneComponent, "app-unreal-scene", never, { "isStudio": { "alias": "isStudio"; "required": false; "isSignal": true; }; "useContainerAsSizeProvider": { "alias": "useContainerAsSizeProvider"; "required": false; "isSignal": true; }; "studioResolutionSize": { "alias": "studioResolutionSize"; "required": false; "isSignal": true; }; }, { "changeMouseOverScene": "changeMouseOverScene"; }, never, ["app-video-locker", "app-pdf", "app-show-case", "app-low-bandwidth-detector"], true, never>;
50
- }
@@ -1,24 +0,0 @@
1
- import type { OnInit } from '@angular/core';
2
- import type { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class UnrealStatusComponent implements OnInit {
5
- #private;
6
- message$: Observable<string | null>;
7
- readonly isDevMode: boolean;
8
- /**
9
- * An observable that emits smoothed percentage values from 0 to 100.
10
- */
11
- readonly messagePercents$: import("@angular/core").Signal<number | null | undefined>;
12
- ngOnInit(): void;
13
- /**
14
- * Sends a message to the embedded iframe identified by the default value '3dsource_start_screen' ID.
15
- * This function tries to post a message to the iframe's content window. If the content
16
- * window is not accessible (e.g., due to cross-origin policies), the function fails silently.
17
- *
18
- * @param {string} text The message to be sent to the iframe. This could be a status update
19
- * or any other relevant information that the iframe needs to process.
20
- */
21
- private sendMessageToIndex;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<UnrealStatusComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<UnrealStatusComponent, "app-unreal-status", never, {}, {}, never, never, true, never>;
24
- }
@@ -1,14 +0,0 @@
1
- import type { AfterViewInit, ElementRef, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class VideoLockerComponent implements AfterViewInit, OnInit {
4
- videoElement: ElementRef<HTMLDivElement>;
5
- private store;
6
- private destroyRef;
7
- protected videoIntroSrc$: import("rxjs").Observable<string | null>;
8
- protected imageIntroSrc$: import("rxjs").Observable<string | null>;
9
- ngOnInit(): void;
10
- ngAfterViewInit(): void;
11
- private createVideo;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<VideoLockerComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<VideoLockerComponent, "app-video-locker", never, {}, {}, never, never, true, never>;
14
- }
@@ -1,36 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class VideoStatsComponent implements OnInit {
5
- collapsed: boolean;
6
- private store;
7
- private videoStatGenerator;
8
- private isDevMode;
9
- private obs$;
10
- viewportReady: import("@angular/core").Signal<boolean | undefined>;
11
- ssInfo: import("@angular/core").Signal<string | undefined>;
12
- fpsTick: import("@angular/core").Signal<any>;
13
- fpsAvgTick: import("@angular/core").Signal<any>;
14
- bitrateTick: import("@angular/core").Signal<any>;
15
- videoQP: import("@angular/core").Signal<any>;
16
- bitrateAverageTick: import("@angular/core").Signal<any>;
17
- videoStatus: import("@angular/core").Signal<{
18
- key: string;
19
- value: any;
20
- }[] | undefined>;
21
- fields: string[];
22
- graphList: any[];
23
- graphList$: Observable<any>;
24
- private idKey;
25
- private elementsToShow;
26
- private trigger$;
27
- constructor();
28
- ngOnInit(): void;
29
- updateGraph(): void;
30
- toggle(): void;
31
- toggleGraph($event: MouseEvent, el: string, value?: any): void;
32
- private getFields;
33
- private writeFields;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<VideoStatsComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<VideoStatsComponent, "app-video-stats", never, {}, {}, never, never, true, never>;
36
- }
@@ -1,10 +0,0 @@
1
- import { DialogRef } from '@angular/cdk/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class WebrtcErrorModalComponent {
4
- #private;
5
- dialogRef: DialogRef<any, any>;
6
- close(): void;
7
- closeModalWithCirrusDisconnect(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<WebrtcErrorModalComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<WebrtcErrorModalComponent, "app-webrtc-error-modal", never, {}, {}, never, never, true, never>;
10
- }
@@ -1,23 +0,0 @@
1
- export declare const SpecialKeyCodes: {
2
- BackSpace: number;
3
- Shift: number;
4
- Control: number;
5
- Alt: number;
6
- RightShift: number;
7
- RightControl: number;
8
- RightAlt: number;
9
- };
10
- export declare const MouseButton: {
11
- MainButton: number;
12
- AuxiliaryButton: number;
13
- SecondaryButton: number;
14
- FourthButton: number;
15
- FifthButton: number;
16
- };
17
- export declare const MouseButtonsMask: {
18
- PrimaryButton: number;
19
- SecondaryButton: number;
20
- AuxiliaryButton: number;
21
- FourthButton: number;
22
- FifthButton: number;
23
- };
@@ -1,6 +0,0 @@
1
- export declare const EControlSchemeType: {
2
- readonly LockedMouse: 0;
3
- readonly HoveringMouse: 1;
4
- readonly Default: 2;
5
- };
6
- export type EControlSchemeTypeValues = (typeof EControlSchemeType)[keyof typeof EControlSchemeType];
@@ -1,25 +0,0 @@
1
- export declare const EMessageType: {
2
- readonly IFrameRequest: 0;
3
- readonly RequestQualityControl: 1;
4
- readonly MaxFpsRequest: 2;
5
- readonly AverageBitrateRequest: 3;
6
- readonly StartStreaming: 4;
7
- readonly StopStreaming: 5;
8
- readonly LatencyTest: 6;
9
- readonly RequestInitialSettings: 7;
10
- readonly UIInteraction: 50;
11
- readonly Command: 51;
12
- readonly KeyDown: 60;
13
- readonly KeyUp: 61;
14
- readonly KeyPress: 62;
15
- readonly MouseEnter: 70;
16
- readonly MouseLeave: 71;
17
- readonly MouseDown: 72;
18
- readonly MouseUp: 73;
19
- readonly MouseMove: 74;
20
- readonly MouseWheel: 75;
21
- readonly TouchStart: 80;
22
- readonly TouchEnd: 81;
23
- readonly TouchMove: 82;
24
- };
25
- export type EMessageTypeValues = (typeof EMessageType)[keyof typeof EMessageType];
@@ -1,12 +0,0 @@
1
- export declare const EToClientMessageType: {
2
- readonly QualityControlOwnership: 0;
3
- readonly Response: 1;
4
- readonly Command: 2;
5
- readonly FreezeFrame: 3;
6
- readonly UnfreezeFrame: 4;
7
- readonly VideoEncoderAvgQP: 5;
8
- readonly LatencyTest: 6;
9
- readonly InitialSettings: 7;
10
- readonly InputControlOwnership: 12;
11
- readonly Protocol: 255;
12
- };
@@ -1,2 +0,0 @@
1
- import type { InputProps } from '../interfaces';
2
- export declare const InputOptions: InputProps;
@@ -1,4 +0,0 @@
1
- export declare const UnrealStatusMessage: {
2
- readonly CONNECTING_TO_SESSION: "Connecting to session.";
3
- readonly STARTING_YOUR_SESSION: "Starting your session";
4
- };
@@ -1,8 +0,0 @@
1
- export * from './ButtonsAndCodes';
2
- export * from './EControlSchemeType';
3
- export * from './EMessageType';
4
- export * from './EToClientMessageType';
5
- export * from './initial-config';
6
- export * from './InputOptions';
7
- export * from './UnrealStatusMessage';
8
- export * from './unreal.constant';
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import type { UnrealInitialConfig } from '../interfaces';
3
- export declare const UNREAL_CONFIG: InjectionToken<UnrealInitialConfig>;
@@ -1,15 +0,0 @@
1
- export declare const DEBOUNCE_TO_MANY_RESIZE_CALLS = 100;
2
- export declare const SAME_SIZE_THRESHOLD = 1.01;
3
- export declare const MINIMAL_FPS = 6;
4
- export declare const STREAMING_VIDEO_ID = "streamingVideo";
5
- export declare const CONSOLE_COMMAND_ENABLE_MESSAGES = "EnableAllScreenMessages";
6
- export declare const CONSOLE_COMMAND_DISABLE_MESSAGES = "DisableAllScreenMessages";
7
- export declare const CONSOLE_COMMAND_PIXEL_QUALITY = "PixelStreaming.FreezeFrameQuality 95";
8
- export declare const FULL_HD_WIDTH = 1920;
9
- export declare const FULL_HD_HEIGHT = 1080;
10
- export declare const WS_TIMEOUT = 2000;
11
- export declare const WS_OPEN_STATE = 1;
12
- export declare const DEFAULT_TIMEOUT_PERIOD = 15;
13
- export declare const DEFAULT_WARN_TIMEOUT = 120;
14
- export declare const DATA_CHANNEL_CONNECTION_TIMEOUT = 5000;
15
- export declare const SCREEN_LOCKER_CONTAINER_ID = "3dsource_start_screen";
@@ -1,8 +0,0 @@
1
- import type { MetaBoxCommandList, MetaBoxCommandPacket } from '@3dsource/types-unreal';
2
- import type { Observable } from 'rxjs';
3
- export declare function observeCommandResponse<K extends keyof MetaBoxCommandList, T extends MetaBoxCommandList[K] = MetaBoxCommandList[K]>(data: T, sender: (data: T) => void, timeOut?: number, dispatchOnTimeout?: boolean): Observable<ObservedCallbackResponse<T> | never>;
4
- export interface ObservedCallbackResponse<T extends MetaBoxCommandPacket> {
5
- json: {
6
- commandCallback: T;
7
- };
8
- }
@@ -1 +0,0 @@
1
- export declare function decodeData(anyData: any): string;
@@ -1,39 +0,0 @@
1
- import type { Quality } from '../interfaces';
2
- import type { FilterSettings } from '../components/low-bandwidth-indicator/DataFlowConstants';
3
- export interface DataFlowCheckResult {
4
- isDropDetected: boolean;
5
- dropPercentage: number;
6
- activeMedian: number;
7
- quality: Quality;
8
- message: string;
9
- dataHistory: number[];
10
- config: {
11
- yellowFlagThresholdPercentage: number;
12
- redFlagThresholdPercentage: number;
13
- historyBufferLength: number;
14
- splitPoint: number;
15
- };
16
- }
17
- export declare class DataFlowMonitor {
18
- protected yellowFlagThresholdPercentage: number;
19
- protected redFlagThresholdPercentage: number;
20
- protected historyBufferLength: number;
21
- protected splitPoint: number;
22
- protected dataHistory: number[];
23
- /**
24
- * Initializes the DataFlowMonitor monitor.
25
- * @param yellowFlagThresholdPercentage - The percentage drop to trigger a YELLOW warning (default: 15%).
26
- * @param redFlagThresholdPercentage - The percentage drop to trigger a RED warning (default: 30%).
27
- * @param historyBufferLength - buffer length (default: 100).
28
- * @param splitPoint - The point at which to split the history buffer into two halves (default: 0.5).
29
- */
30
- constructor(yellowFlagThresholdPercentage?: number, redFlagThresholdPercentage?: number, historyBufferLength?: number, splitPoint?: number);
31
- reset(): void;
32
- config(data: FilterSettings): void;
33
- /**
34
- * Adds a new bitrate measurement and checks for significant drops.
35
- * @param currentValue - The current bitrate in kbps.
36
- * @returns BitrateCheckResult indicating if a drop was detected.
37
- */
38
- addValue(currentValue: number): DataFlowCheckResult;
39
- }
@@ -1,18 +0,0 @@
1
- import type { SignalDescriptor } from '../interfaces';
2
- import type { Observable } from 'rxjs';
3
- import type { MetaBoxCommandList } from '@3dsource/types-unreal';
4
- type Descriptor = MetaBoxCommandList & SignalDescriptor;
5
- /**
6
- * UnrealInternalSignalEvents commands list wrapper listener
7
- * @param event
8
- */
9
- export declare function fromSignal<K extends keyof Descriptor>(event: K): Observable<Descriptor[K]>;
10
- type ArgumentType<K extends keyof Descriptor> = Descriptor[K] extends void ? never : Descriptor[K];
11
- /**
12
- * UnrealInternalSignalEvents commands list wrapper sender
13
- * @param event
14
- * @param args
15
- */
16
- export declare function sendSignal<K extends keyof Descriptor>(event: K, ...args: ArgumentType<K> extends never ? [] : [ArgumentType<K>]): void;
17
- export declare function fromUnrealCallBackSignal<K extends keyof Descriptor>(command: K): Observable<Descriptor[K]>;
18
- export {};
@@ -1,3 +0,0 @@
1
- import type { SignallingService } from '../../services';
2
- import type { AnswerMessage } from '../../interfaces';
3
- export declare function AnswerHandler(this: SignallingService, msg: AnswerMessage): void;
@@ -1,3 +0,0 @@
1
- import type { SignallingService } from '../../services';
2
- import type { ConfigMessage } from '../../interfaces';
3
- export declare function ConfigHandler(this: SignallingService, msg: ConfigMessage): void;
@@ -1,4 +0,0 @@
1
- import type { SignallingService } from '../../services';
2
- export declare function IceCandidateHandler(this: SignallingService, msg: {
3
- candidate: RTCIceCandidate;
4
- }): void;
@@ -1,3 +0,0 @@
1
- import type { InstanceReady } from '../../interfaces';
2
- import type { SignallingService } from '../../services';
3
- export declare function InstanceReadyHandler(this: SignallingService, _: InstanceReady): void;
@@ -1,3 +0,0 @@
1
- import type { InstanceReserved } from '../../interfaces';
2
- import type { SignallingService } from '../../services';
3
- export declare function InstanceReservedHandler(this: SignallingService, msg: InstanceReserved): void;
@@ -1,2 +0,0 @@
1
- import type { SignallingService } from '../../services';
2
- export declare function PingHandler(this: SignallingService): void;
@@ -1,3 +0,0 @@
1
- import type { SignallingService } from '../..//services';
2
- import type { PlayerCountMessage } from '../..//interfaces';
3
- export declare function PlayerCountHandler(this: SignallingService, msg: PlayerCountMessage): void;
@@ -1,3 +0,0 @@
1
- import type { SignallingService } from '../../services';
2
- import type { SSInfo } from '../../interfaces';
3
- export declare function SSInfoHandler(this: SignallingService, msg: SSInfo): null;