@3dsource/angular-unreal-module 0.0.29 → 0.0.31-dev.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/LICENSE +14 -14
- package/README.md +112 -36
- package/fesm2022/3dsource-angular-unreal-module.mjs +262 -246
- package/fesm2022/3dsource-angular-unreal-module.mjs.map +1 -1
- package/index.d.ts +1638 -3
- package/package.json +2 -2
- package/lib/components/clickable-overlay/clickable-overlay.component.d.ts +0 -11
- package/lib/components/freeze-frame/freeze-frame.component.d.ts +0 -8
- package/lib/components/index.d.ts +0 -10
- package/lib/components/low-bandwidth-indicator/DataFlowConstants.d.ts +0 -66
- package/lib/components/low-bandwidth-indicator/filter-settings/filter-settings.component.d.ts +0 -37
- package/lib/components/low-bandwidth-indicator/index.d.ts +0 -2
- package/lib/components/low-bandwidth-indicator/low-bandwidth-detector.component.d.ts +0 -38
- package/lib/components/low-bandwidth-modal/low-bandwidth-modal.component.d.ts +0 -8
- package/lib/components/screen-locker/afk-restart-screen-locker.component.d.ts +0 -22
- package/lib/components/stat-graph/stat-graph.component.d.ts +0 -28
- package/lib/components/unreal-error-modal/unreal-error-modal.component.d.ts +0 -11
- package/lib/components/unreal-scene/unreal-scene.component.d.ts +0 -50
- package/lib/components/unreal-status/unreal-status.component.d.ts +0 -24
- package/lib/components/video-locker/video-locker.component.d.ts +0 -14
- package/lib/components/video-stats/video-stats.component.d.ts +0 -36
- package/lib/components/webrtc-error-modal/webrtc-error-modal.component.d.ts +0 -10
- package/lib/constants/ButtonsAndCodes.d.ts +0 -23
- package/lib/constants/EControlSchemeType.d.ts +0 -6
- package/lib/constants/EMessageType.d.ts +0 -25
- package/lib/constants/EToClientMessageType.d.ts +0 -12
- package/lib/constants/InputOptions.d.ts +0 -2
- package/lib/constants/UnrealStatusMessage.d.ts +0 -4
- package/lib/constants/index.d.ts +0 -8
- package/lib/constants/initial-config.d.ts +0 -3
- package/lib/constants/unreal.constant.d.ts +0 -15
- package/lib/helpers/CommandObserver.d.ts +0 -8
- package/lib/helpers/DataDecoder.d.ts +0 -1
- package/lib/helpers/DataFlowMonitor.d.ts +0 -39
- package/lib/helpers/EventWrapper.d.ts +0 -18
- package/lib/helpers/FromStreamerHandlers/AnswerHandler.d.ts +0 -3
- package/lib/helpers/FromStreamerHandlers/ConfigHandler.d.ts +0 -3
- package/lib/helpers/FromStreamerHandlers/IceCandidateHandler.d.ts +0 -4
- package/lib/helpers/FromStreamerHandlers/InstanceReadyHandler.d.ts +0 -3
- package/lib/helpers/FromStreamerHandlers/InstanceReservedHandler.d.ts +0 -3
- package/lib/helpers/FromStreamerHandlers/PingHandler.d.ts +0 -2
- package/lib/helpers/FromStreamerHandlers/PlayerCountHandler.d.ts +0 -3
- package/lib/helpers/FromStreamerHandlers/SSInfoHandler.d.ts +0 -3
- package/lib/helpers/FromStreamerHandlers/index.d.ts +0 -8
- package/lib/helpers/GetNextUrl.d.ts +0 -1
- package/lib/helpers/KalmanFilter1D.d.ts +0 -20
- package/lib/helpers/LatencyTimings.d.ts +0 -13
- package/lib/helpers/TouchEmulator.d.ts +0 -24
- package/lib/helpers/VideoRecorder.d.ts +0 -8
- package/lib/helpers/WsHandlers/OnCloseHandler.d.ts +0 -2
- package/lib/helpers/WsHandlers/OnErrorHandler.d.ts +0 -2
- package/lib/helpers/WsHandlers/OnMessageHandler.d.ts +0 -2
- package/lib/helpers/WsHandlers/OpenHandler.d.ts +0 -2
- package/lib/helpers/WsHandlers/index.d.ts +0 -4
- package/lib/helpers/clamp-and-keep-max-percents.d.ts +0 -2
- package/lib/helpers/deepEqual.d.ts +0 -1
- package/lib/helpers/dispatchResize.d.ts +0 -2
- package/lib/helpers/error-codes.d.ts +0 -1
- package/lib/helpers/float-to-smooth-percents.d.ts +0 -2
- package/lib/helpers/get-image-from-video-stream.d.ts +0 -3
- package/lib/helpers/index.d.ts +0 -21
- package/lib/helpers/mapQpToQuality.d.ts +0 -2
- package/lib/helpers/prepare-commands.d.ts +0 -52
- package/lib/helpers/remove-exile-commands.d.ts +0 -10
- package/lib/helpers/resetAfk.d.ts +0 -1
- package/lib/helpers/resize-observer.d.ts +0 -2
- package/lib/interfaces/CloseReason.d.ts +0 -5
- package/lib/interfaces/CustomCloseCodes.d.ts +0 -6
- package/lib/interfaces/LBMStats.d.ts +0 -6
- package/lib/interfaces/SignalingData.d.ts +0 -8
- package/lib/interfaces/SignalingMessage.d.ts +0 -77
- package/lib/interfaces/TelemetryEvent.d.ts +0 -1
- package/lib/interfaces/disconnect-reasons.d.ts +0 -9
- package/lib/interfaces/errors.interface.d.ts +0 -5
- package/lib/interfaces/freeze-frame-message.interface.d.ts +0 -4
- package/lib/interfaces/index.d.ts +0 -15
- package/lib/interfaces/initial-config.d.ts +0 -6
- package/lib/interfaces/input.interface.d.ts +0 -19
- package/lib/interfaces/quality.interface.d.ts +0 -1
- package/lib/interfaces/stream-config.interface.d.ts +0 -5
- package/lib/interfaces/stream-resolution.interface.d.ts +0 -4
- package/lib/interfaces/unreal-internal-signal-events.interface.d.ts +0 -83
- package/lib/pipes/index.d.ts +0 -1
- package/lib/pipes/safe-html.pipe.d.ts +0 -9
- package/lib/services/afk.service.d.ts +0 -38
- package/lib/services/aggregator.service.d.ts +0 -52
- package/lib/services/command-telemetry.service.d.ts +0 -71
- package/lib/services/console-extensions.service.d.ts +0 -10
- package/lib/services/dev-mode.service.d.ts +0 -7
- package/lib/services/freeze-frame.service.d.ts +0 -16
- package/lib/services/index.d.ts +0 -15
- package/lib/services/input.service.d.ts +0 -53
- package/lib/services/regions-ping.service.d.ts +0 -35
- package/lib/services/signalling.service.d.ts +0 -40
- package/lib/services/stream-status-telemetry.service.d.ts +0 -11
- package/lib/services/sub.service.d.ts +0 -5
- package/lib/services/unreal-communicator.service.d.ts +0 -38
- package/lib/services/video-stream-status.service.d.ts +0 -24
- package/lib/services/video.service.d.ts +0 -17
- package/lib/services/web-rtc-player.service.d.ts +0 -44
- package/lib/store/index.d.ts +0 -5
- package/lib/store/unreal.actions.d.ts +0 -176
- package/lib/store/unreal.effects.d.ts +0 -69
- package/lib/store/unreal.feature.d.ts +0 -32
- package/lib/store/unreal.reducer.d.ts +0 -44
- package/lib/store/unreal.selectors.d.ts +0 -30
- package/public-api.d.ts +0 -7
package/index.d.ts
CHANGED
|
@@ -1,5 +1,1640 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, AfterViewInit, OnInit, DestroyRef, ElementRef, OnDestroy, PipeTransform } from '@angular/core';
|
|
3
|
+
import { DialogRef } from '@angular/cdk/dialog';
|
|
4
|
+
import * as _3dsource_angular_unreal_module from '@3dsource/angular-unreal-module';
|
|
5
|
+
import * as _ngrx_store from '@ngrx/store';
|
|
6
|
+
import { Store } from '@ngrx/store';
|
|
7
|
+
import * as rxjs from 'rxjs';
|
|
8
|
+
import { Observable, Subject } from 'rxjs';
|
|
9
|
+
import { MetaBoxCommandList, MetaBoxCommandPacket, FResetControlClampsCommand, FCameraRecenterCommand, FUnLoadAllLevelsCommand, FDragCommand, FUnselectAllProductsCommand, FPauseSequenceCommand, FStopSequenceCommand, FUnLoadAllProductsCommand, FRequestCameraPresetCommand, FLoopBackCommand, FExecuteConsoleCommandCommand, FBoolPayload, FFreezeFrameCommand, FDragSequencePayload, FDragSequenceCommand, FAlignProductsToPlanePayload, FAlignProductsToPlaneCommand, FCameraPresetPayload, FApplyCameraPresetCommand, FLoadSceneStatePayload, FLoadSceneStateCommand, FClickSnapCommand, FControlCameraModePayload, FSetControlCameraModeCommand, FCameraClampsPayload, FSetCameraControlClampsCommand, FSetPawnMovementModePayload, FSetPawnMovementModeCommand, FEnableTeleportCommand, FApplyZoomPayload, FApplyZoomCommand, FFVectorPayload, FCameraBoxCommand, FDropPayload, FDropCommand, FSelectProductByObjectNamePayload, FSelectProductByObjectNameCommand, FGizmoTypePayload, FChangeGizmoTypeCommand, FWeatherPayload, FWeatherCommand, FFitToObjectsPayload, FFitToObjectsCommand, FSetProductsLocationPayload, FSetProductsLocationCommand, FResolutionPayload, FChangeResolutionCommand, FEnableSpinnerModeCommand, FControlSensitivityPayload, FControlSensitivityCommand, FCameraSettingsPayload, FCameraSettingsCommand, FDebugModeCommand, FEnableControlsCommand, FFStringPayload, FInitSequenceByObjectNamePayload, FInitSequenceByObjectNameCommand, FPlaySequencePayload, FPlaySequenceCommand, FJumpToSequencePayload, FJumpToSequenceCommand, FMoveSelectedPayload, FMoveSelectedCommand, FRotatePayload, FRotateSelectedCommand, FRenderPayload, FTakeRenderCommand, FTakeSpinnerRenderPreviewCommand, FTakeSpinnerRenderCommand, FSetMaterialPayload, FSetMaterialCommand, FProductPayload, FLoadProductCommand, FUnLoadProductByObjectNameCommand, FLevelPayload, FLoadLevelCommand, FComposurePayload, FEnableComposureCommand, FFStringsPayload, FClampPanToProductsCommand, FSettingsSequencePayload, FSetSettingsSequenceCommand } from '@3dsource/types-unreal';
|
|
10
|
+
import { ImageOutputValues, IKeyCode } from '@3dsource/utils';
|
|
11
|
+
import { SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
12
|
+
import * as _ngrx_effects from '@ngrx/effects';
|
|
13
|
+
|
|
14
|
+
declare class ClickableOverlayComponent {
|
|
15
|
+
state: i0.Signal<{
|
|
16
|
+
message: string;
|
|
17
|
+
className: string;
|
|
18
|
+
isActivityDetected: boolean;
|
|
19
|
+
onOverlayClick: () => void;
|
|
20
|
+
} | null | undefined>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickableOverlayComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClickableOverlayComponent, "app-clickable-overlay", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class FreezeFrameComponent {
|
|
26
|
+
#private;
|
|
27
|
+
freezeFrameProgressMessageFromVideo: i0.Signal<number | null | undefined>;
|
|
28
|
+
combinedFreeze: i0.Signal<string | null | undefined>;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FreezeFrameComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FreezeFrameComponent, "app-freeze-frame", never, {}, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare class LowBandwidthModalComponent {
|
|
34
|
+
dialogRef: DialogRef<any, any>;
|
|
35
|
+
close(value?: boolean): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LowBandwidthModalComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LowBandwidthModalComponent, "app-low-bandwidth-modal", never, {}, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare class SubService {
|
|
41
|
+
store: Store<any>;
|
|
42
|
+
disconnect$: rxjs.Observable<false>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare class AFKService extends SubService {
|
|
46
|
+
private enabled;
|
|
47
|
+
private closeTimeout;
|
|
48
|
+
private active;
|
|
49
|
+
private warnTimer;
|
|
50
|
+
private countdown;
|
|
51
|
+
private countdownTimer;
|
|
52
|
+
private selectWarnTimeout;
|
|
53
|
+
constructor();
|
|
54
|
+
initAfk(): void;
|
|
55
|
+
init(): void;
|
|
56
|
+
private hideOverlay;
|
|
57
|
+
/**
|
|
58
|
+
* Start a timer which when elapsed will warn the user they are inactive.
|
|
59
|
+
*/
|
|
60
|
+
private startAfkWarningTimer;
|
|
61
|
+
/**
|
|
62
|
+
* If the user interacts, then reset the warning timer.
|
|
63
|
+
*/
|
|
64
|
+
private resetAfkWarningTimer;
|
|
65
|
+
/**
|
|
66
|
+
* Update the count-down spans number for the overlay
|
|
67
|
+
* @param countdown the count down number to be inserted into the span for updating
|
|
68
|
+
*/
|
|
69
|
+
private updateCountDown;
|
|
70
|
+
/**
|
|
71
|
+
* Update the text overlays inner text
|
|
72
|
+
* @param message the update text to be inserted into the overlay
|
|
73
|
+
*/
|
|
74
|
+
private dispatchMessage;
|
|
75
|
+
private stop;
|
|
76
|
+
private reset;
|
|
77
|
+
private showAfkOverlay;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AFKService, never>;
|
|
79
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AFKService>;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare class FreezeFrameService extends SubService {
|
|
83
|
+
receiving: boolean;
|
|
84
|
+
private size;
|
|
85
|
+
private jpeg;
|
|
86
|
+
private freezeFrameOverlay;
|
|
87
|
+
init(): void;
|
|
88
|
+
setData(view: Uint8Array): void;
|
|
89
|
+
private dispatchInProgress;
|
|
90
|
+
start(view: Uint8Array): void;
|
|
91
|
+
invalidate(): void;
|
|
92
|
+
private showFreezeFrame;
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FreezeFrameService, never>;
|
|
94
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FreezeFrameService>;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
declare const WSCloseCode_NORMAL_CLOSURE = 3000;
|
|
98
|
+
declare const WSCloseCode_NORMAL_AFK_TIMEOUT = 3001;
|
|
99
|
+
declare const WSCloseCode_NORMAL_MANUAL_DISCONNECT = 3002;
|
|
100
|
+
declare const WSCloseCode_NORMAL_CIRRUS_CLOSED = 3003;
|
|
101
|
+
declare const WSCloseCodes: readonly [3000, 3001, 3002, 3003];
|
|
102
|
+
type WSCloseCodesValues = (typeof WSCloseCodes)[number];
|
|
103
|
+
|
|
104
|
+
interface CloseReason {
|
|
105
|
+
code: WSCloseCodesValues;
|
|
106
|
+
reason: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
declare const DisconnectReason: {
|
|
110
|
+
readonly afk: "afk";
|
|
111
|
+
readonly none: "none";
|
|
112
|
+
readonly reset: "reset";
|
|
113
|
+
readonly wsOnError: "wsOnError";
|
|
114
|
+
readonly dataChannelClosed: "dataChannelClosed";
|
|
115
|
+
readonly dataChannelTimeout: "dataChannelTimeout";
|
|
116
|
+
};
|
|
117
|
+
type DisconnectType = (typeof DisconnectReason)[keyof typeof DisconnectReason];
|
|
118
|
+
|
|
119
|
+
interface UnrealError {
|
|
120
|
+
errorType: UnrealErrorType;
|
|
121
|
+
message: string;
|
|
122
|
+
}
|
|
123
|
+
type UnrealErrorType = 'WebRTCError' | 'WebSocketError';
|
|
124
|
+
|
|
125
|
+
interface FreezeFrameMessage {
|
|
126
|
+
dataUrl: string | null;
|
|
127
|
+
progress: number | null;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
interface UnrealInitialConfig {
|
|
131
|
+
customErrorsEndpoint?: string;
|
|
132
|
+
commandTelemetryReceiver?: string;
|
|
133
|
+
regionsPingUrl?: string;
|
|
134
|
+
screenLockerContainerId?: string;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare const SpecialKeyCodes: {
|
|
138
|
+
BackSpace: number;
|
|
139
|
+
Shift: number;
|
|
140
|
+
Control: number;
|
|
141
|
+
Alt: number;
|
|
142
|
+
RightShift: number;
|
|
143
|
+
RightControl: number;
|
|
144
|
+
RightAlt: number;
|
|
145
|
+
};
|
|
146
|
+
declare const MouseButton: {
|
|
147
|
+
MainButton: number;
|
|
148
|
+
AuxiliaryButton: number;
|
|
149
|
+
SecondaryButton: number;
|
|
150
|
+
FourthButton: number;
|
|
151
|
+
FifthButton: number;
|
|
152
|
+
};
|
|
153
|
+
declare const MouseButtonsMask: {
|
|
154
|
+
PrimaryButton: number;
|
|
155
|
+
SecondaryButton: number;
|
|
156
|
+
AuxiliaryButton: number;
|
|
157
|
+
FourthButton: number;
|
|
158
|
+
FifthButton: number;
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
declare const EControlSchemeType: {
|
|
162
|
+
readonly LockedMouse: 0;
|
|
163
|
+
readonly HoveringMouse: 1;
|
|
164
|
+
readonly Default: 2;
|
|
165
|
+
};
|
|
166
|
+
type EControlSchemeTypeValues = (typeof EControlSchemeType)[keyof typeof EControlSchemeType];
|
|
167
|
+
|
|
168
|
+
declare const EMessageType: {
|
|
169
|
+
readonly IFrameRequest: 0;
|
|
170
|
+
readonly RequestQualityControl: 1;
|
|
171
|
+
readonly MaxFpsRequest: 2;
|
|
172
|
+
readonly AverageBitrateRequest: 3;
|
|
173
|
+
readonly StartStreaming: 4;
|
|
174
|
+
readonly StopStreaming: 5;
|
|
175
|
+
readonly LatencyTest: 6;
|
|
176
|
+
readonly RequestInitialSettings: 7;
|
|
177
|
+
readonly UIInteraction: 50;
|
|
178
|
+
readonly Command: 51;
|
|
179
|
+
readonly KeyDown: 60;
|
|
180
|
+
readonly KeyUp: 61;
|
|
181
|
+
readonly KeyPress: 62;
|
|
182
|
+
readonly MouseEnter: 70;
|
|
183
|
+
readonly MouseLeave: 71;
|
|
184
|
+
readonly MouseDown: 72;
|
|
185
|
+
readonly MouseUp: 73;
|
|
186
|
+
readonly MouseMove: 74;
|
|
187
|
+
readonly MouseWheel: 75;
|
|
188
|
+
readonly TouchStart: 80;
|
|
189
|
+
readonly TouchEnd: 81;
|
|
190
|
+
readonly TouchMove: 82;
|
|
191
|
+
};
|
|
192
|
+
type EMessageTypeValues = (typeof EMessageType)[keyof typeof EMessageType];
|
|
193
|
+
|
|
194
|
+
declare const EToClientMessageType: {
|
|
195
|
+
readonly QualityControlOwnership: 0;
|
|
196
|
+
readonly Response: 1;
|
|
197
|
+
readonly Command: 2;
|
|
198
|
+
readonly FreezeFrame: 3;
|
|
199
|
+
readonly UnfreezeFrame: 4;
|
|
200
|
+
readonly VideoEncoderAvgQP: 5;
|
|
201
|
+
readonly LatencyTest: 6;
|
|
202
|
+
readonly InitialSettings: 7;
|
|
203
|
+
readonly InputControlOwnership: 12;
|
|
204
|
+
readonly Protocol: 255;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
declare const UNREAL_CONFIG: InjectionToken<UnrealInitialConfig>;
|
|
208
|
+
|
|
209
|
+
declare const InputOptions: InputProps;
|
|
210
|
+
|
|
211
|
+
declare const UnrealStatusMessage: {
|
|
212
|
+
readonly CONNECTING_TO_SESSION: "Connecting to session.";
|
|
213
|
+
readonly STARTING_YOUR_SESSION: "Starting your session";
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
declare const DEBOUNCE_TO_MANY_RESIZE_CALLS = 100;
|
|
217
|
+
declare const SAME_SIZE_THRESHOLD = 1.01;
|
|
218
|
+
declare const MINIMAL_FPS = 6;
|
|
219
|
+
declare const STREAMING_VIDEO_ID = "streamingVideo";
|
|
220
|
+
declare const CONSOLE_COMMAND_ENABLE_MESSAGES = "EnableAllScreenMessages";
|
|
221
|
+
declare const CONSOLE_COMMAND_DISABLE_MESSAGES = "DisableAllScreenMessages";
|
|
222
|
+
declare const CONSOLE_COMMAND_PIXEL_QUALITY = "PixelStreaming.FreezeFrameQuality 95";
|
|
223
|
+
declare const FULL_HD_WIDTH = 1920;
|
|
224
|
+
declare const FULL_HD_HEIGHT = 1080;
|
|
225
|
+
declare const WS_TIMEOUT = 2000;
|
|
226
|
+
declare const WS_OPEN_STATE = 1;
|
|
227
|
+
declare const DEFAULT_TIMEOUT_PERIOD = 15;
|
|
228
|
+
declare const DEFAULT_WARN_TIMEOUT = 120;
|
|
229
|
+
declare const DATA_CHANNEL_CONNECTION_TIMEOUT = 5000;
|
|
230
|
+
declare const SCREEN_LOCKER_CONTAINER_ID = "3dsource_start_screen";
|
|
231
|
+
|
|
232
|
+
interface NormalizeAndQuantizeUnsignedValue {
|
|
233
|
+
inRange: boolean;
|
|
234
|
+
x: number;
|
|
235
|
+
y: number;
|
|
236
|
+
}
|
|
237
|
+
interface UnquantizeAndDenormalizeUnsignedValue {
|
|
238
|
+
x: number;
|
|
239
|
+
y: number;
|
|
240
|
+
}
|
|
241
|
+
interface NormalizeAndQuantizeSignedValue {
|
|
242
|
+
x: number;
|
|
243
|
+
y: number;
|
|
244
|
+
}
|
|
245
|
+
interface InputProps {
|
|
246
|
+
controlScheme: EControlSchemeTypeValues;
|
|
247
|
+
suppressBrowserKeys: boolean;
|
|
248
|
+
fakeMouseWithTouches: boolean;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare function AnswerHandler(this: SignallingService, msg: AnswerMessage): void;
|
|
252
|
+
|
|
253
|
+
declare function ConfigHandler(this: SignallingService, msg: ConfigMessage): void;
|
|
254
|
+
|
|
255
|
+
declare function IceCandidateHandler(this: SignallingService, msg: {
|
|
256
|
+
candidate: RTCIceCandidate;
|
|
257
|
+
}): void;
|
|
258
|
+
|
|
259
|
+
declare function InstanceReadyHandler(this: SignallingService, _: InstanceReady): void;
|
|
260
|
+
|
|
261
|
+
declare function InstanceReservedHandler(this: SignallingService, msg: InstanceReserved): void;
|
|
262
|
+
|
|
263
|
+
declare function PingHandler(this: SignallingService): void;
|
|
264
|
+
|
|
265
|
+
declare function PlayerCountHandler(this: SignallingService, msg: PlayerCountMessage): void;
|
|
266
|
+
|
|
267
|
+
declare function SSInfoHandler(this: SignallingService, msg: SSInfo): null;
|
|
268
|
+
|
|
269
|
+
declare function OnCloseHandler(this: SignallingService, e: CloseEvent): void;
|
|
270
|
+
|
|
271
|
+
declare function OnErrorHandler(this: SignallingService, e: Event): void;
|
|
272
|
+
|
|
273
|
+
declare function OnMessageHandler(this: SignallingService, e: MessageEvent<string>): void;
|
|
274
|
+
|
|
275
|
+
declare function OnOpenHandler(this: SignallingService): void;
|
|
276
|
+
|
|
277
|
+
declare const clampAndKeepMaxPercents: () => ((source: Observable<number>) => Observable<number>);
|
|
278
|
+
|
|
279
|
+
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>;
|
|
280
|
+
interface ObservedCallbackResponse<T extends MetaBoxCommandPacket> {
|
|
281
|
+
json: {
|
|
282
|
+
commandCallback: T;
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
declare function decodeData(anyData: any): string;
|
|
287
|
+
|
|
288
|
+
interface FilterSettings {
|
|
289
|
+
/**
|
|
290
|
+
* Minimum number of kilobits per second to trigger low bandwidth
|
|
291
|
+
*/
|
|
292
|
+
minimumBitrate: number;
|
|
293
|
+
/**
|
|
294
|
+
* Amount of a percentage drop to trigger a yellow warning
|
|
295
|
+
*/
|
|
296
|
+
yellowFlag: number;
|
|
297
|
+
/**
|
|
298
|
+
* Amount of a percentage drop to trigger a red warning
|
|
299
|
+
*/
|
|
300
|
+
redFlag: number;
|
|
301
|
+
/**
|
|
302
|
+
* Minimum number of frames per second to trigger low bandwidth
|
|
303
|
+
*/
|
|
304
|
+
minimumFps: number;
|
|
305
|
+
/**
|
|
306
|
+
* Time to wait before checking if we can switch to low bandwidth
|
|
307
|
+
*/
|
|
308
|
+
monitoringDelayTime: number;
|
|
309
|
+
initialBitrateEstimate: number;
|
|
310
|
+
initialErrorCovariance: number;
|
|
311
|
+
processNoise: number;
|
|
312
|
+
measurementNoise: number;
|
|
313
|
+
panelOpen: boolean;
|
|
314
|
+
}
|
|
1
315
|
/**
|
|
2
|
-
*
|
|
316
|
+
* Default LBM Filter Parameters
|
|
3
317
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
318
|
+
declare const DefaultFilterModel: FilterSettings;
|
|
319
|
+
|
|
320
|
+
interface DataFlowCheckResult {
|
|
321
|
+
isDropDetected: boolean;
|
|
322
|
+
dropPercentage: number;
|
|
323
|
+
activeMedian: number;
|
|
324
|
+
quality: Quality;
|
|
325
|
+
message: string;
|
|
326
|
+
dataHistory: number[];
|
|
327
|
+
config: {
|
|
328
|
+
yellowFlagThresholdPercentage: number;
|
|
329
|
+
redFlagThresholdPercentage: number;
|
|
330
|
+
historyBufferLength: number;
|
|
331
|
+
splitPoint: number;
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
declare class DataFlowMonitor {
|
|
335
|
+
protected yellowFlagThresholdPercentage: number;
|
|
336
|
+
protected redFlagThresholdPercentage: number;
|
|
337
|
+
protected historyBufferLength: number;
|
|
338
|
+
protected splitPoint: number;
|
|
339
|
+
protected dataHistory: number[];
|
|
340
|
+
/**
|
|
341
|
+
* Initializes the DataFlowMonitor monitor.
|
|
342
|
+
* @param yellowFlagThresholdPercentage - The percentage drop to trigger a YELLOW warning (default: 15%).
|
|
343
|
+
* @param redFlagThresholdPercentage - The percentage drop to trigger a RED warning (default: 30%).
|
|
344
|
+
* @param historyBufferLength - buffer length (default: 100).
|
|
345
|
+
* @param splitPoint - The point at which to split the history buffer into two halves (default: 0.5).
|
|
346
|
+
*/
|
|
347
|
+
constructor(yellowFlagThresholdPercentage?: number, redFlagThresholdPercentage?: number, historyBufferLength?: number, splitPoint?: number);
|
|
348
|
+
reset(): void;
|
|
349
|
+
config(data: FilterSettings): void;
|
|
350
|
+
/**
|
|
351
|
+
* Adds a new bitrate measurement and checks for significant drops.
|
|
352
|
+
* @param currentValue - The current bitrate in kbps.
|
|
353
|
+
* @returns BitrateCheckResult indicating if a drop was detected.
|
|
354
|
+
*/
|
|
355
|
+
addValue(currentValue: number): DataFlowCheckResult;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
declare const dispatchResize: () => void;
|
|
359
|
+
declare const forceResizeUnrealVideo: () => void;
|
|
360
|
+
|
|
361
|
+
declare function getRtcErrorMessage(code: number | null): string | undefined;
|
|
362
|
+
|
|
363
|
+
type Descriptor = MetaBoxCommandList & SignalDescriptor;
|
|
364
|
+
/**
|
|
365
|
+
* UnrealInternalSignalEvents commands list wrapper listener
|
|
366
|
+
* @param event
|
|
367
|
+
*/
|
|
368
|
+
declare function fromSignal<K extends keyof Descriptor>(event: K): Observable<Descriptor[K]>;
|
|
369
|
+
type ArgumentType<K extends keyof Descriptor> = Descriptor[K] extends void ? never : Descriptor[K];
|
|
370
|
+
/**
|
|
371
|
+
* UnrealInternalSignalEvents commands list wrapper sender
|
|
372
|
+
* @param event
|
|
373
|
+
* @param args
|
|
374
|
+
*/
|
|
375
|
+
declare function sendSignal<K extends keyof Descriptor>(event: K, ...args: ArgumentType<K> extends never ? [] : [ArgumentType<K>]): void;
|
|
376
|
+
declare function fromUnrealCallBackSignal<K extends keyof Descriptor>(command: K): Observable<Descriptor[K]>;
|
|
377
|
+
|
|
378
|
+
declare const floatToSmoothPercents: () => ((source: Observable<number>) => Observable<number>);
|
|
379
|
+
|
|
380
|
+
declare const getImageFromVideoStream: (takeSizeFrom?: "video" | "constant", imageOutput?: ImageOutputValues, sizes?: StreamResolutionProps) => string | null;
|
|
381
|
+
|
|
382
|
+
declare function getActiveUrl(urls: string[]): Generator<string, void, unknown>;
|
|
383
|
+
|
|
384
|
+
declare class KalmanFilter1D {
|
|
385
|
+
private estimate;
|
|
386
|
+
private uncertainty;
|
|
387
|
+
private processNoise;
|
|
388
|
+
private measurementNoise;
|
|
389
|
+
/**
|
|
390
|
+
* @param initialEstimate Initial guess of the state.
|
|
391
|
+
* @param initialUncertainty Initial uncertainty in the guess.
|
|
392
|
+
* @param processNoise Process variance (Q) representing model uncertainty.
|
|
393
|
+
* @param measurementNoise Measurement variance (R) representing noise in measurements.
|
|
394
|
+
*/
|
|
395
|
+
constructor(initialEstimate: number, initialUncertainty: number, processNoise: number, measurementNoise: number);
|
|
396
|
+
/**
|
|
397
|
+
* Incorporates a new measurement and returns the updated estimate.
|
|
398
|
+
* @param measurement The new measurement value.
|
|
399
|
+
*/
|
|
400
|
+
update(measurement: number): number;
|
|
401
|
+
config(data: FilterSettings): void;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
declare class LatencyTimings {
|
|
405
|
+
TestStartTimeMs: number | null;
|
|
406
|
+
UEReceiptTimeMs: number | null;
|
|
407
|
+
UEEncodeMs: number | null;
|
|
408
|
+
UECaptureToSendMs: number | null;
|
|
409
|
+
UETransmissionTimeMs: number | null;
|
|
410
|
+
BrowserReceiptTimeMs: number | null;
|
|
411
|
+
FrameDisplayDeltaTimeMs: number | null;
|
|
412
|
+
Reset(): void;
|
|
413
|
+
SetUETimings(UETimings: any): void;
|
|
414
|
+
SetFrameDisplayDeltaTime(DeltaTimeMs: number): void;
|
|
415
|
+
OnAllLatencyTimingsReady(_: any): void;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
declare function mapQpToQuality(VideoEncoderQP: number): Quality;
|
|
419
|
+
|
|
420
|
+
declare const getResetControlClampsCommand: () => FResetControlClampsCommand;
|
|
421
|
+
declare const getCameraRecenterCommand: () => FCameraRecenterCommand;
|
|
422
|
+
declare const unLoadAllLevelsCommand: () => FUnLoadAllLevelsCommand;
|
|
423
|
+
declare const getDragCommand: () => FDragCommand;
|
|
424
|
+
declare const getUnselectAllProductsCommand: () => FUnselectAllProductsCommand;
|
|
425
|
+
declare const getPauseSequenceCommand: () => FPauseSequenceCommand;
|
|
426
|
+
declare const getStopSequenceCommand: () => FStopSequenceCommand;
|
|
427
|
+
declare const getUnLoadAllProductsCommand: () => FUnLoadAllProductsCommand;
|
|
428
|
+
declare const getRequestCameraPresetCommand: () => FRequestCameraPresetCommand;
|
|
429
|
+
declare const getLoopBackCommand: () => FLoopBackCommand;
|
|
430
|
+
declare const getSetFpsCommand: (fpsRequired: number) => FExecuteConsoleCommandCommand;
|
|
431
|
+
declare const getFreezeFrameCommand: (payload: FBoolPayload, source: string) => FFreezeFrameCommand;
|
|
432
|
+
declare const getDragSequenceCommand: (payload: FDragSequencePayload) => FDragSequenceCommand;
|
|
433
|
+
declare const alignProductsToPlaneCommand: (payload: FAlignProductsToPlanePayload) => FAlignProductsToPlaneCommand;
|
|
434
|
+
declare const getApplyCameraPresetCommand: (payload: FCameraPresetPayload) => FApplyCameraPresetCommand;
|
|
435
|
+
declare const getLoadSceneStateCommand: (payload: FLoadSceneStatePayload) => FLoadSceneStateCommand;
|
|
436
|
+
declare const getClickSnapCommand: (payload: FBoolPayload) => FClickSnapCommand;
|
|
437
|
+
declare const getSetControlCameraModeCommand: (payload: FControlCameraModePayload) => FSetControlCameraModeCommand;
|
|
438
|
+
declare const getSetCameraControlClampsCommand: (payload: FCameraClampsPayload) => FSetCameraControlClampsCommand;
|
|
439
|
+
declare const getSetPawnMovementModeCommand: (payload: FSetPawnMovementModePayload) => FSetPawnMovementModeCommand;
|
|
440
|
+
declare const getEnableTeleportCommand: (payload: FBoolPayload) => FEnableTeleportCommand;
|
|
441
|
+
declare const getApplyZoomCommand: (payload: FApplyZoomPayload) => FApplyZoomCommand;
|
|
442
|
+
declare const getCameraBoxCommand: (payload: FFVectorPayload) => FCameraBoxCommand;
|
|
443
|
+
declare const getDropCommand: (payload?: FDropPayload) => FDropCommand;
|
|
444
|
+
declare const getSelectProductByObjectNameCommand: (payload: FSelectProductByObjectNamePayload) => FSelectProductByObjectNameCommand;
|
|
445
|
+
declare const getChangeGizmoTypeCommand: (payload: FGizmoTypePayload) => FChangeGizmoTypeCommand;
|
|
446
|
+
declare const getWeatherCommand: (payload: FWeatherPayload) => FWeatherCommand;
|
|
447
|
+
declare const getFitToObjectsCommand: (payload?: FFitToObjectsPayload) => FFitToObjectsCommand;
|
|
448
|
+
declare const setProductsLocationCommand: (payload: FSetProductsLocationPayload) => FSetProductsLocationCommand;
|
|
449
|
+
declare const getChangeResolutionCommand: (payload: FResolutionPayload) => FChangeResolutionCommand;
|
|
450
|
+
declare const getEnableSpinnerModeCommand: (payload: FBoolPayload) => FEnableSpinnerModeCommand;
|
|
451
|
+
declare const getControlSensitivityCommand: (payload: FControlSensitivityPayload) => FControlSensitivityCommand;
|
|
452
|
+
declare const getCameraSettingsCommand: (payload: FCameraSettingsPayload) => FCameraSettingsCommand;
|
|
453
|
+
declare const getDebugModeCommand: (payload: FBoolPayload) => FDebugModeCommand;
|
|
454
|
+
declare const getEnableControlsCommand: (payload: FBoolPayload) => FEnableControlsCommand;
|
|
455
|
+
declare const getExecuteConsoleCommand: (payload: FFStringPayload) => FExecuteConsoleCommandCommand;
|
|
456
|
+
declare const getInitSequenceByObjectNameCommand: (payload: FInitSequenceByObjectNamePayload) => FInitSequenceByObjectNameCommand;
|
|
457
|
+
declare const getPlaySequenceCommand: (payload: FPlaySequencePayload) => FPlaySequenceCommand;
|
|
458
|
+
declare const getJumpToSequenceCommand: (payload: FJumpToSequencePayload) => FJumpToSequenceCommand;
|
|
459
|
+
declare const getMoveSelectedCommand: (payload: FMoveSelectedPayload) => FMoveSelectedCommand;
|
|
460
|
+
declare const getRotateSelectedCommand: (payload: FRotatePayload) => FRotateSelectedCommand;
|
|
461
|
+
declare const getTakeRenderCommand: (payload: FRenderPayload) => FTakeRenderCommand;
|
|
462
|
+
declare const getTakeSpinnerRenderPreviewCommand: (payload: FRenderPayload) => FTakeSpinnerRenderPreviewCommand;
|
|
463
|
+
declare const getTakeSpinnerRenderCommand: (payload: FRenderPayload) => FTakeSpinnerRenderCommand;
|
|
464
|
+
declare const getSetMaterialCommand: (payload: FSetMaterialPayload) => FSetMaterialCommand;
|
|
465
|
+
declare const getLoadProductCommand: (payload: FProductPayload) => FLoadProductCommand;
|
|
466
|
+
declare const getUnLoadProductByObjectNameCommand: (payload: FFStringPayload) => FUnLoadProductByObjectNameCommand;
|
|
467
|
+
declare const getLoadLevelCommand: (payload: FLevelPayload) => FLoadLevelCommand;
|
|
468
|
+
declare const getEnableComposureCommand: (payload: FComposurePayload) => FEnableComposureCommand;
|
|
469
|
+
declare const clampPanToProductsCommand: (payload?: FFStringsPayload) => FClampPanToProductsCommand;
|
|
470
|
+
declare const getSetSettingsSequenceCommand: (payload: FSettingsSequencePayload) => FSetSettingsSequenceCommand;
|
|
471
|
+
|
|
472
|
+
declare const trackMixpanelEvent: _ngrx_store.ActionCreator<string, (props: {
|
|
473
|
+
event: string;
|
|
474
|
+
data?: unknown;
|
|
475
|
+
}) => {
|
|
476
|
+
event: string;
|
|
477
|
+
data?: unknown;
|
|
478
|
+
} & _ngrx_store.Action<string>>;
|
|
479
|
+
declare const changeLowBandwidth: _ngrx_store.ActionCreator<string, (props: {
|
|
480
|
+
lowBandwidth: boolean;
|
|
481
|
+
stats?: LBMStats;
|
|
482
|
+
}) => {
|
|
483
|
+
lowBandwidth: boolean;
|
|
484
|
+
stats?: LBMStats;
|
|
485
|
+
} & _ngrx_store.Action<string>>;
|
|
486
|
+
declare const setMaxFps: _ngrx_store.ActionCreator<string, (props: {
|
|
487
|
+
maxFps: number;
|
|
488
|
+
}) => {
|
|
489
|
+
maxFps: number;
|
|
490
|
+
} & _ngrx_store.Action<string>>;
|
|
491
|
+
declare const destroyRemoteConnections: _ngrx_store.ActionCreator<string, (props: {
|
|
492
|
+
disconnectReason: DisconnectType;
|
|
493
|
+
}) => {
|
|
494
|
+
disconnectReason: DisconnectType;
|
|
495
|
+
} & _ngrx_store.Action<string>>;
|
|
496
|
+
declare const destroyConnectionsAndResetState: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
497
|
+
declare const setCirrusConnected: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
498
|
+
declare const setCirrusDisconnected: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
499
|
+
declare const changeStatusMainVideoOnScene: _ngrx_store.ActionCreator<string, (props: {
|
|
500
|
+
isVideoPlaying: boolean;
|
|
501
|
+
}) => {
|
|
502
|
+
isVideoPlaying: boolean;
|
|
503
|
+
} & _ngrx_store.Action<string>>;
|
|
504
|
+
declare const setAwsInstance: _ngrx_store.ActionCreator<string, (props: {
|
|
505
|
+
wsUrl: string | null;
|
|
506
|
+
pollingUrl: string | null;
|
|
507
|
+
instanceName: string | null;
|
|
508
|
+
}) => {
|
|
509
|
+
wsUrl: string | null;
|
|
510
|
+
pollingUrl: string | null;
|
|
511
|
+
instanceName: string | null;
|
|
512
|
+
} & _ngrx_store.Action<string>>;
|
|
513
|
+
declare const setStatusMessage: _ngrx_store.ActionCreator<string, (props: {
|
|
514
|
+
message: string | null;
|
|
515
|
+
}) => {
|
|
516
|
+
message: string | null;
|
|
517
|
+
} & _ngrx_store.Action<string>>;
|
|
518
|
+
declare const setStatusPercentSignallingServer: _ngrx_store.ActionCreator<string, (props: {
|
|
519
|
+
percent: number | null;
|
|
520
|
+
}) => {
|
|
521
|
+
percent: number | null;
|
|
522
|
+
} & _ngrx_store.Action<string>>;
|
|
523
|
+
declare const setFreezeFrame: _ngrx_store.ActionCreator<string, (props: {
|
|
524
|
+
dataUrl: string | null;
|
|
525
|
+
progress: number | null;
|
|
526
|
+
}) => {
|
|
527
|
+
dataUrl: string | null;
|
|
528
|
+
progress: number | null;
|
|
529
|
+
} & _ngrx_store.Action<string>>;
|
|
530
|
+
declare const setMatchUrls: _ngrx_store.ActionCreator<string, (props: {
|
|
531
|
+
urls: string[];
|
|
532
|
+
}) => {
|
|
533
|
+
urls: string[];
|
|
534
|
+
} & _ngrx_store.Action<string>>;
|
|
535
|
+
declare const setStreamClientCompanyId: _ngrx_store.ActionCreator<string, (props: {
|
|
536
|
+
id: string;
|
|
537
|
+
}) => {
|
|
538
|
+
id: string;
|
|
539
|
+
} & _ngrx_store.Action<string>>;
|
|
540
|
+
declare const setStreamViewId: _ngrx_store.ActionCreator<string, (props: {
|
|
541
|
+
id: string;
|
|
542
|
+
}) => {
|
|
543
|
+
id: string;
|
|
544
|
+
} & _ngrx_store.Action<string>>;
|
|
545
|
+
declare const setIntroImageSrc: _ngrx_store.ActionCreator<string, (props: {
|
|
546
|
+
src: string;
|
|
547
|
+
}) => {
|
|
548
|
+
src: string;
|
|
549
|
+
} & _ngrx_store.Action<string>>;
|
|
550
|
+
declare const setLoadingImageSrc: _ngrx_store.ActionCreator<string, (props: {
|
|
551
|
+
src: string;
|
|
552
|
+
}) => {
|
|
553
|
+
src: string;
|
|
554
|
+
} & _ngrx_store.Action<string>>;
|
|
555
|
+
declare const setIntroVideoSrc: _ngrx_store.ActionCreator<string, (props: {
|
|
556
|
+
src: string;
|
|
557
|
+
}) => {
|
|
558
|
+
src: string;
|
|
559
|
+
} & _ngrx_store.Action<string>>;
|
|
560
|
+
declare const resetIntroSrc: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
561
|
+
declare const setFreezeFrameFromVideo: _ngrx_store.ActionCreator<string, (props: {
|
|
562
|
+
dataUrl: string | null;
|
|
563
|
+
progress: number | null;
|
|
564
|
+
}) => {
|
|
565
|
+
dataUrl: string | null;
|
|
566
|
+
progress: number | null;
|
|
567
|
+
} & _ngrx_store.Action<string>>;
|
|
568
|
+
declare const setEstablishingConnection: _ngrx_store.ActionCreator<string, (props: {
|
|
569
|
+
value: boolean;
|
|
570
|
+
}) => {
|
|
571
|
+
value: boolean;
|
|
572
|
+
} & _ngrx_store.Action<string>>;
|
|
573
|
+
declare const setDataChannelConnected: _ngrx_store.ActionCreator<string, (props: {
|
|
574
|
+
value: boolean;
|
|
575
|
+
}) => {
|
|
576
|
+
value: boolean;
|
|
577
|
+
} & _ngrx_store.Action<string>>;
|
|
578
|
+
declare const setConfig: _ngrx_store.ActionCreator<string, (props: {
|
|
579
|
+
config: Partial<StreamConfig>;
|
|
580
|
+
}) => {
|
|
581
|
+
config: Partial<StreamConfig>;
|
|
582
|
+
} & _ngrx_store.Action<string>>;
|
|
583
|
+
declare const setErrorMessage: _ngrx_store.ActionCreator<string, (props: {
|
|
584
|
+
errorType: UnrealErrorType;
|
|
585
|
+
message: string;
|
|
586
|
+
}) => {
|
|
587
|
+
errorType: UnrealErrorType;
|
|
588
|
+
message: string;
|
|
589
|
+
} & _ngrx_store.Action<string>>;
|
|
590
|
+
declare const setViewportReady: _ngrx_store.ActionCreator<string, (props: {
|
|
591
|
+
value: boolean;
|
|
592
|
+
}) => {
|
|
593
|
+
value: boolean;
|
|
594
|
+
} & _ngrx_store.Action<string>>;
|
|
595
|
+
declare const changeStreamResolutionAction: _ngrx_store.ActionCreator<string, (props: {
|
|
596
|
+
width: number | null;
|
|
597
|
+
height: number | null;
|
|
598
|
+
}) => {
|
|
599
|
+
width: number | null;
|
|
600
|
+
height: number | null;
|
|
601
|
+
} & _ngrx_store.Action<string>>;
|
|
602
|
+
declare const changeStreamResolutionSuccessAction: _ngrx_store.ActionCreator<string, (props: {
|
|
603
|
+
width: number | null;
|
|
604
|
+
height: number | null;
|
|
605
|
+
}) => {
|
|
606
|
+
width: number | null;
|
|
607
|
+
height: number | null;
|
|
608
|
+
} & _ngrx_store.Action<string>>;
|
|
609
|
+
declare const setSignalingName: _ngrx_store.ActionCreator<string, (props: {
|
|
610
|
+
instanceName: string;
|
|
611
|
+
}) => {
|
|
612
|
+
instanceName: string;
|
|
613
|
+
} & _ngrx_store.Action<string>>;
|
|
614
|
+
declare const updateCirrusInfo: _ngrx_store.ActionCreator<string, (props: {
|
|
615
|
+
ssInfo: string;
|
|
616
|
+
ssData: SignalingData;
|
|
617
|
+
}) => {
|
|
618
|
+
ssInfo: string;
|
|
619
|
+
ssData: SignalingData;
|
|
620
|
+
} & _ngrx_store.Action<string>>;
|
|
621
|
+
declare const commandStarted: _ngrx_store.ActionCreator<string, (props: {
|
|
622
|
+
id: string;
|
|
623
|
+
command: string;
|
|
624
|
+
}) => {
|
|
625
|
+
id: string;
|
|
626
|
+
command: string;
|
|
627
|
+
} & _ngrx_store.Action<string>>;
|
|
628
|
+
declare const commandCompleted: _ngrx_store.ActionCreator<string, (props: {
|
|
629
|
+
id: string;
|
|
630
|
+
}) => {
|
|
631
|
+
id: string;
|
|
632
|
+
} & _ngrx_store.Action<string>>;
|
|
633
|
+
declare const setLoopBackCommandIsCompleted: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
634
|
+
declare const showUnrealErrorMessage: _ngrx_store.ActionCreator<string, (props: {
|
|
635
|
+
code: number | null;
|
|
636
|
+
error?: string;
|
|
637
|
+
}) => {
|
|
638
|
+
code: number | null;
|
|
639
|
+
error?: string;
|
|
640
|
+
} & _ngrx_store.Action<string>>;
|
|
641
|
+
declare const initSignalling: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
642
|
+
declare const resetConfig: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
643
|
+
declare const resetAfkAction: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
644
|
+
declare const resetWarnTimeout: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
645
|
+
declare const resetUnrealStateAction: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
646
|
+
declare const resetUnrealState: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
647
|
+
|
|
648
|
+
declare class UnrealEffects {
|
|
649
|
+
private dialog;
|
|
650
|
+
private http;
|
|
651
|
+
private store;
|
|
652
|
+
private isDevMode;
|
|
653
|
+
private unrealInitialConfig;
|
|
654
|
+
private actions$;
|
|
655
|
+
private player;
|
|
656
|
+
private signallingService;
|
|
657
|
+
private scrollStrategy;
|
|
658
|
+
private commandsSender;
|
|
659
|
+
private videoStatGenerator;
|
|
660
|
+
cirrusDisconnectEffect$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
661
|
+
destroyConnections$: rxjs.Observable<{
|
|
662
|
+
disconnectReason: _3dsource_angular_unreal_module.DisconnectType;
|
|
663
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
664
|
+
resetState$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
665
|
+
destroyRemoteConnections$: rxjs.Observable<{
|
|
666
|
+
disconnectReason: _3dsource_angular_unreal_module.DisconnectType;
|
|
667
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
668
|
+
changeStreamResolution$: rxjs.Observable<{
|
|
669
|
+
width: number | null;
|
|
670
|
+
height: number | null;
|
|
671
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
672
|
+
forceLBMOff$: rxjs.Observable<{
|
|
673
|
+
lowBandwidth: boolean;
|
|
674
|
+
stats?: _3dsource_angular_unreal_module.LBMStats;
|
|
675
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
676
|
+
resetFreezeFrameOnLowBandwidthTriggered$: rxjs.Observable<{
|
|
677
|
+
dataUrl: string | null;
|
|
678
|
+
progress: number | null;
|
|
679
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
680
|
+
sendLbmStat$: rxjs.Subscription;
|
|
681
|
+
resetAfk$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
682
|
+
resetFreezeFrameOnViewportDestroy$: rxjs.Observable<{
|
|
683
|
+
dataUrl: string | null;
|
|
684
|
+
progress: number | null;
|
|
685
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
686
|
+
setMaxFps$: rxjs.Observable<{
|
|
687
|
+
maxFps: number;
|
|
688
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
689
|
+
webrtcErrorModalComponent$: rxjs.Observable<[arg: {
|
|
690
|
+
errorType: _3dsource_angular_unreal_module.UnrealErrorType;
|
|
691
|
+
message: string;
|
|
692
|
+
} & _ngrx_store.Action<string>, boolean]> & _ngrx_effects.CreateEffectMetadata;
|
|
693
|
+
resetAfkAction$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
694
|
+
setDataChannelTimeoutCheck$: rxjs.Observable<{
|
|
695
|
+
disconnectReason: _3dsource_angular_unreal_module.DisconnectType;
|
|
696
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
697
|
+
destroyConnectionAndRestart$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
698
|
+
showUnrealError$: rxjs.Observable<{
|
|
699
|
+
code: number | null;
|
|
700
|
+
error?: string;
|
|
701
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
702
|
+
sendStatisticsToUnreal$: rxjs.Observable<void> & _ngrx_effects.CreateEffectMetadata;
|
|
703
|
+
initAppBySetDataChannelConnected$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
704
|
+
setViewportReadyBySetLoopBackCommandIsCompleted$: rxjs.Observable<{
|
|
705
|
+
value: boolean;
|
|
706
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
707
|
+
listenUnrealCallbackByInitSignalling$: rxjs.Observable<{
|
|
708
|
+
id: string;
|
|
709
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
710
|
+
setConfigByInitSignalling$: rxjs.Observable<{
|
|
711
|
+
config: Partial<_3dsource_angular_unreal_module.StreamConfig>;
|
|
712
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
713
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnrealEffects, never>;
|
|
714
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UnrealEffects>;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
declare const unrealFeature: {
|
|
718
|
+
name: "unrealFeature";
|
|
719
|
+
reducer: _ngrx_store.ActionReducer<_3dsource_angular_unreal_module.UnrealState, _ngrx_store.Action<string>>;
|
|
720
|
+
selectUnrealFeatureState: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.UnrealState, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.UnrealState>;
|
|
721
|
+
selectLowBandwidth: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
722
|
+
selectDisconnectReason: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.DisconnectType, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.DisconnectType>;
|
|
723
|
+
selectIsVideoPlaying: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
724
|
+
selectSsInfo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
725
|
+
selectSsData: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.SignalingData | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.SignalingData | null>;
|
|
726
|
+
selectLowBandwidthStats: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.LBMStats | undefined, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.LBMStats | undefined>;
|
|
727
|
+
selectStreamConfig: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamConfig, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamConfig>;
|
|
728
|
+
selectAwsInstance: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.AwsInstance, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.AwsInstance>;
|
|
729
|
+
selectWasInitialized: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
730
|
+
selectIsFirstSuccessLoad: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
731
|
+
selectCirrusConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
732
|
+
selectViewportReady: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
733
|
+
selectFreezeFrameFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.FreezeFrameMessage, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.FreezeFrameMessage>;
|
|
734
|
+
selectFreezeFrame: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.FreezeFrameMessage, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.FreezeFrameMessage>;
|
|
735
|
+
selectStatusMessage: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
736
|
+
selectStatusPercentSignallingServer: _ngrx_store.MemoizedSelector<Record<string, any>, number | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => number | null>;
|
|
737
|
+
selectErrorMessage: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.UnrealError | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.UnrealError | null>;
|
|
738
|
+
selectDataChannelConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
739
|
+
selectStreamResolution: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamResolutionProps, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamResolutionProps>;
|
|
740
|
+
selectEstablishingConnection: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
741
|
+
selectLoaderCommands: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.CommandsLoaderState, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.CommandsLoaderState>;
|
|
742
|
+
selectMatchUrls: _ngrx_store.MemoizedSelector<Record<string, any>, string[], (featureState: _3dsource_angular_unreal_module.UnrealState) => string[]>;
|
|
743
|
+
selectStreamClientCompanyId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
744
|
+
selectStreamViewId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
745
|
+
selectVideoIntroSrc: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
746
|
+
selectImageIntroSrc: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
747
|
+
selectImageLoadingSrc: _ngrx_store.MemoizedSelector<Record<string, any>, string, (featureState: _3dsource_angular_unreal_module.UnrealState) => string>;
|
|
748
|
+
};
|
|
749
|
+
|
|
750
|
+
interface CommandsLoaderState {
|
|
751
|
+
commandsInProgress: {
|
|
752
|
+
timeStamp: number;
|
|
753
|
+
command: string;
|
|
754
|
+
id: string;
|
|
755
|
+
}[];
|
|
756
|
+
totalCommandsStarted: number;
|
|
757
|
+
totalCommandsCompleted: number;
|
|
758
|
+
}
|
|
759
|
+
interface UnrealState {
|
|
760
|
+
lowBandwidthStats: LBMStats | undefined;
|
|
761
|
+
streamConfig: StreamConfig;
|
|
762
|
+
awsInstance: AwsInstance;
|
|
763
|
+
lowBandwidth: boolean;
|
|
764
|
+
wasInitialized: boolean;
|
|
765
|
+
isFirstSuccessLoad: boolean;
|
|
766
|
+
cirrusConnected: boolean;
|
|
767
|
+
viewportReady: boolean;
|
|
768
|
+
freezeFrameFromVideo: FreezeFrameMessage;
|
|
769
|
+
freezeFrame: FreezeFrameMessage;
|
|
770
|
+
statusMessage: string | null;
|
|
771
|
+
/**
|
|
772
|
+
* @deprecated, use ssData in future
|
|
773
|
+
*/
|
|
774
|
+
ssInfo: string | null;
|
|
775
|
+
ssData: SignalingData | null;
|
|
776
|
+
statusPercentSignallingServer: number | null;
|
|
777
|
+
errorMessage: UnrealError | null;
|
|
778
|
+
dataChannelConnected: boolean;
|
|
779
|
+
streamResolution: StreamResolutionProps;
|
|
780
|
+
isVideoPlaying: boolean;
|
|
781
|
+
establishingConnection: boolean;
|
|
782
|
+
disconnectReason: DisconnectType;
|
|
783
|
+
loaderCommands: CommandsLoaderState;
|
|
784
|
+
matchUrls: string[];
|
|
785
|
+
streamClientCompanyId: string | null;
|
|
786
|
+
streamViewId: string | null;
|
|
787
|
+
videoIntroSrc: string | null;
|
|
788
|
+
imageIntroSrc: string | null;
|
|
789
|
+
imageLoadingSrc: string;
|
|
790
|
+
}
|
|
791
|
+
declare const initialState: UnrealState;
|
|
792
|
+
declare const unrealReducer: _ngrx_store.ActionReducer<UnrealState, _ngrx_store.Action<string>>;
|
|
793
|
+
|
|
794
|
+
declare const selectFreezeFrameDataUrlFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage, s2: boolean) => string | null>;
|
|
795
|
+
declare const selectFreezeFrameProgressMessageFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, number | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage, s2: boolean) => number | null>;
|
|
796
|
+
declare const selectFreezeFrameDataUrl: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage, s2: boolean) => string | null>;
|
|
797
|
+
declare const selectIsFreezeFrameLoading: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage) => boolean>;
|
|
798
|
+
declare const selectFreezeFrameCombinedDataUrl: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: string | null, s2: string | null) => string | null>;
|
|
799
|
+
declare const selectStreamConfig: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamConfig, (s1: _3dsource_angular_unreal_module.StreamConfig) => _3dsource_angular_unreal_module.StreamConfig>;
|
|
800
|
+
declare const selectWarnTimeout: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: _3dsource_angular_unreal_module.StreamConfig) => number>;
|
|
801
|
+
declare const selectMatchUrls: _ngrx_store.MemoizedSelector<Record<string, any>, string[], (s1: _3dsource_angular_unreal_module.StreamConfig) => string[]>;
|
|
802
|
+
declare const selectIsAutostart: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: _3dsource_angular_unreal_module.StreamConfig) => boolean>;
|
|
803
|
+
declare const selectWsUrl: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: _3dsource_angular_unreal_module.AwsInstance) => string | null>;
|
|
804
|
+
declare const selectShowReconnectPopup: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean, s3: boolean, s4: string | null, s5: string | null) => boolean>;
|
|
805
|
+
declare const selectShowLoader: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean, s3: _3dsource_angular_unreal_module.StreamConfig, s4: boolean) => boolean>;
|
|
806
|
+
declare const selectIsVideoPlayingAndDataChannelConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
807
|
+
declare const selectSignalingParameters: _ngrx_store.MemoizedSelector<Record<string, any>, string, (s1: _3dsource_angular_unreal_module.SignalingData | null, s2: _3dsource_angular_unreal_module.AwsInstance, s3: string | null) => string>;
|
|
808
|
+
declare const selectLoaderCommands: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.CommandsLoaderState, (s1: _3dsource_angular_unreal_module.CommandsLoaderState) => _3dsource_angular_unreal_module.CommandsLoaderState>;
|
|
809
|
+
declare const selectCommandsInProgress: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: _3dsource_angular_unreal_module.CommandsLoaderState) => number>;
|
|
810
|
+
declare const selectCommandProgress: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: _3dsource_angular_unreal_module.CommandsLoaderState) => number>;
|
|
811
|
+
declare const selectLastCommandInProgress: _ngrx_store.MemoizedSelector<Record<string, any>, {
|
|
812
|
+
timeStamp: number;
|
|
813
|
+
command: string;
|
|
814
|
+
id: string;
|
|
815
|
+
} | null, (s1: _3dsource_angular_unreal_module.CommandsLoaderState) => {
|
|
816
|
+
timeStamp: number;
|
|
817
|
+
command: string;
|
|
818
|
+
id: string;
|
|
819
|
+
} | null>;
|
|
820
|
+
/**
|
|
821
|
+
* Returns Scene load progress as a float value in between 0-1
|
|
822
|
+
*/
|
|
823
|
+
declare const selectTotalProgress: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: number | null, s2: number, s3: _3dsource_angular_unreal_module.AwsInstance) => number>;
|
|
824
|
+
|
|
825
|
+
declare const removeExileCommands: (state: CommandsLoaderState, idToRemove: string) => {
|
|
826
|
+
commandsInProgress: {
|
|
827
|
+
timeStamp: number;
|
|
828
|
+
command: string;
|
|
829
|
+
id: string;
|
|
830
|
+
}[];
|
|
831
|
+
totalCommandsStarted: number;
|
|
832
|
+
totalCommandsCompleted: number;
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
declare const resetAfk: () => void;
|
|
836
|
+
|
|
837
|
+
declare function fromResizeObserver(elem: HTMLElement): Observable<ResizeObserverEntry[]>;
|
|
838
|
+
|
|
839
|
+
declare class VideoRecorder {
|
|
840
|
+
private recordedChunks;
|
|
841
|
+
private mediaRecorder;
|
|
842
|
+
capture(canvas: any): void;
|
|
843
|
+
stop(): void;
|
|
844
|
+
handleDataAvailable(event: any): void;
|
|
845
|
+
download(): void;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
interface LBMStats {
|
|
849
|
+
dataFlowResult: DataFlowCheckResult;
|
|
850
|
+
reason: string;
|
|
851
|
+
triggerTime: number;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
type Quality = 'lime' | 'red' | 'orange';
|
|
855
|
+
|
|
856
|
+
interface SignalingData {
|
|
857
|
+
branchInfo: string;
|
|
858
|
+
cirrusVersion: string;
|
|
859
|
+
streamerVersion: string;
|
|
860
|
+
streamPath: string;
|
|
861
|
+
streamApp: string;
|
|
862
|
+
connectionId: string;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
interface InstanceReady extends InstanceMessageBase {
|
|
866
|
+
type: 'instanceReady';
|
|
867
|
+
}
|
|
868
|
+
interface InstanceReserved extends InstanceMessageBase {
|
|
869
|
+
type: 'instanceReserved';
|
|
870
|
+
}
|
|
871
|
+
interface InstanceMessageBase extends MessageBase {
|
|
872
|
+
correlationId: string;
|
|
873
|
+
payload: {
|
|
874
|
+
instanceId: string;
|
|
875
|
+
};
|
|
876
|
+
}
|
|
877
|
+
interface MessageBase {
|
|
878
|
+
type: OrchestrationMessageType;
|
|
879
|
+
}
|
|
880
|
+
interface SSInfo extends MessageBase {
|
|
881
|
+
type: 'ssInfo';
|
|
882
|
+
message: string;
|
|
883
|
+
data: SignalingData;
|
|
884
|
+
}
|
|
885
|
+
interface PlayerCountMessage extends MessageBase {
|
|
886
|
+
type: 'playerCount';
|
|
887
|
+
playerCount: number;
|
|
888
|
+
}
|
|
889
|
+
interface AnswerMessage extends RTCSessionDescriptionInit {
|
|
890
|
+
type: RTCSdpType;
|
|
891
|
+
}
|
|
892
|
+
interface ConfigMessage extends MessageBase, UnknownFields {
|
|
893
|
+
type: 'config';
|
|
894
|
+
peerConnectionOptions: RTCConfiguration;
|
|
895
|
+
}
|
|
896
|
+
interface CandidateMessage extends MessageBase {
|
|
897
|
+
type: 'iceCandidate';
|
|
898
|
+
candidate: RTCIceCandidate;
|
|
899
|
+
}
|
|
900
|
+
interface PingMessage extends MessageBase {
|
|
901
|
+
type: 'ping';
|
|
902
|
+
playerId: string;
|
|
903
|
+
appConnectionCounter: number;
|
|
904
|
+
}
|
|
905
|
+
type UnknownFields = Record<string, unknown>;
|
|
906
|
+
declare const OrchestrationMessageTypes: {
|
|
907
|
+
readonly requestReservation: "requestReservation";
|
|
908
|
+
readonly instanceReady: "instanceReady";
|
|
909
|
+
readonly instanceReserved: "instanceReserved";
|
|
910
|
+
readonly ssInfo: "ssInfo";
|
|
911
|
+
readonly playerCount: "playerCount";
|
|
912
|
+
readonly answer: "answer";
|
|
913
|
+
readonly iceCandidate: "iceCandidate";
|
|
914
|
+
readonly ping: "ping";
|
|
915
|
+
readonly config: "config";
|
|
916
|
+
};
|
|
917
|
+
interface SignalingMessageMap {
|
|
918
|
+
[OrchestrationMessageTypes.ssInfo]: SSInfo;
|
|
919
|
+
[OrchestrationMessageTypes.playerCount]: PlayerCountMessage;
|
|
920
|
+
[OrchestrationMessageTypes.answer]: AnswerMessage;
|
|
921
|
+
[OrchestrationMessageTypes.config]: ConfigMessage;
|
|
922
|
+
[OrchestrationMessageTypes.iceCandidate]: CandidateMessage;
|
|
923
|
+
[OrchestrationMessageTypes.instanceReady]: InstanceReady;
|
|
924
|
+
[OrchestrationMessageTypes.instanceReserved]: InstanceReserved;
|
|
925
|
+
[OrchestrationMessageTypes.ping]: PingMessage;
|
|
926
|
+
}
|
|
927
|
+
type OrchestrationMessageType = keyof SignalingMessageMap;
|
|
928
|
+
type SignalingMessageHandler<T extends keyof SignalingMessageMap> = (msg: SignalingMessageMap[T]) => void;
|
|
929
|
+
interface PollingOrchestrationMessage {
|
|
930
|
+
mm_message?: string;
|
|
931
|
+
signallingServer?: string;
|
|
932
|
+
error?: string;
|
|
933
|
+
info?: {
|
|
934
|
+
age: number | null;
|
|
935
|
+
left: number | null;
|
|
936
|
+
percent: number | null;
|
|
937
|
+
total: number | null;
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
interface StreamConfig {
|
|
942
|
+
autoStart: boolean;
|
|
943
|
+
warnTimeout: number;
|
|
944
|
+
matchMakerUrls: string[];
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
interface StreamResolutionProps {
|
|
948
|
+
width: number | null;
|
|
949
|
+
height: number | null;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
type TelemetryType = 'commandSent' | 'commandStop';
|
|
953
|
+
|
|
954
|
+
declare const UnrealInternalSignalEvents: {
|
|
955
|
+
readonly OnVideoInitialized: "OnVideoInitialized";
|
|
956
|
+
readonly RestAfkTimer: "RestAfkTimer";
|
|
957
|
+
readonly FreezeFrameStart: "FreezeFrameStart";
|
|
958
|
+
readonly UnrealCallback: "UnrealCallback";
|
|
959
|
+
readonly ClickableOverlay: "ClickableOverlay";
|
|
960
|
+
readonly VideoPlayClick: "VideoPlayClick";
|
|
961
|
+
readonly ShowPlayButton: "ShowPlayButton";
|
|
962
|
+
readonly ForceResizeViewport: "ForceResizeViewport";
|
|
963
|
+
readonly VideoAdaptedToContainer: "VideoAdaptedToContainer";
|
|
964
|
+
readonly TelemetryStart: "TelemetryStart";
|
|
965
|
+
readonly TelemetryStop: "TelemetryStop";
|
|
966
|
+
readonly TelemetryReset: "TelemetryReset";
|
|
967
|
+
};
|
|
968
|
+
interface SignalDescriptor {
|
|
969
|
+
[UnrealInternalSignalEvents.UnrealCallback]: {
|
|
970
|
+
json: UnrealCallBackJson;
|
|
971
|
+
};
|
|
972
|
+
[UnrealInternalSignalEvents.ClickableOverlay]: {
|
|
973
|
+
message: string;
|
|
974
|
+
className: string;
|
|
975
|
+
isActivityDetected: boolean;
|
|
976
|
+
onOverlayClick: () => void;
|
|
977
|
+
} | void;
|
|
978
|
+
[UnrealInternalSignalEvents.VideoPlayClick]: {
|
|
979
|
+
text: string;
|
|
980
|
+
};
|
|
981
|
+
[UnrealInternalSignalEvents.ForceResizeViewport]: void;
|
|
982
|
+
[UnrealInternalSignalEvents.OnVideoInitialized]: HTMLVideoElement;
|
|
983
|
+
[UnrealInternalSignalEvents.VideoAdaptedToContainer]: void;
|
|
984
|
+
[UnrealInternalSignalEvents.ShowPlayButton]: {
|
|
985
|
+
text: string;
|
|
986
|
+
callback: () => boolean;
|
|
987
|
+
};
|
|
988
|
+
[UnrealInternalSignalEvents.RestAfkTimer]: void;
|
|
989
|
+
[UnrealInternalSignalEvents.FreezeFrameStart]: void;
|
|
990
|
+
[UnrealInternalSignalEvents.TelemetryReset]: void;
|
|
991
|
+
[UnrealInternalSignalEvents.TelemetryStart]: {
|
|
992
|
+
externalId: string;
|
|
993
|
+
};
|
|
994
|
+
[UnrealInternalSignalEvents.TelemetryStop]: {
|
|
995
|
+
externalId: string;
|
|
996
|
+
payload?: {
|
|
997
|
+
multi?: boolean;
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
[key: string]: any;
|
|
1001
|
+
}
|
|
1002
|
+
type UnrealCallBackJson = MetaBoxCommandPacket | WrappedMetaBoxCommandPacket;
|
|
1003
|
+
interface WrappedMetaBoxCommandPacket {
|
|
1004
|
+
commandCallback: MetaBoxCommandPacket;
|
|
1005
|
+
}
|
|
1006
|
+
interface IAggregatedStat {
|
|
1007
|
+
quality: Quality;
|
|
1008
|
+
aggregatedStats: InboundVideoStats;
|
|
1009
|
+
}
|
|
1010
|
+
interface InboundVideoStats extends RTCInboundRtpStreamStats {
|
|
1011
|
+
VideoEncoderQP: number;
|
|
1012
|
+
runTime: number;
|
|
1013
|
+
pixelRatio: number;
|
|
1014
|
+
bytesReceivedStart: number;
|
|
1015
|
+
framesDecodedStart: number;
|
|
1016
|
+
timestampStart: number;
|
|
1017
|
+
videoCodec: string;
|
|
1018
|
+
avgBitrate: number;
|
|
1019
|
+
avgFrameRate: number;
|
|
1020
|
+
currentRoundTripTime: number;
|
|
1021
|
+
codecs: Record<string, string>;
|
|
1022
|
+
receiveToCompositeMs: number;
|
|
1023
|
+
bitrate: number;
|
|
1024
|
+
kalmanBitrate: number;
|
|
1025
|
+
bitrateDrop: number;
|
|
1026
|
+
dataFlowCheckResult: DataFlowCheckResult;
|
|
1027
|
+
dataFlowBitrate: DataFlowCheckResult;
|
|
1028
|
+
}
|
|
1029
|
+
interface AwsInstance {
|
|
1030
|
+
wsUrl: string | null;
|
|
1031
|
+
pollingUrl: string | null;
|
|
1032
|
+
instanceName: string | null;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
declare class SignallingService extends SubService {
|
|
1036
|
+
private readonly httpClient;
|
|
1037
|
+
private readonly regionsPingService;
|
|
1038
|
+
onConfig$: Subject<ConfigMessage>;
|
|
1039
|
+
onWebRtcIce$: Subject<RTCIceCandidate>;
|
|
1040
|
+
onWebRtcAnswer$: Subject<RTCSessionDescriptionInit | null>;
|
|
1041
|
+
private ws;
|
|
1042
|
+
protected wsTimeoutHandler: ReturnType<typeof setTimeout>;
|
|
1043
|
+
private wsMsgHandlers;
|
|
1044
|
+
protected correlationId: string;
|
|
1045
|
+
protected environmentId: string;
|
|
1046
|
+
private establishingConnection;
|
|
1047
|
+
private isCirrusConnected;
|
|
1048
|
+
private establishingConnectionDrop$;
|
|
1049
|
+
constructor();
|
|
1050
|
+
protected initEstablishingConnection(): void;
|
|
1051
|
+
private stopEstablishingConnection;
|
|
1052
|
+
private connectToSignaling;
|
|
1053
|
+
private connectToSignalingAfterPing;
|
|
1054
|
+
showStatusMessage(message: string | null): void;
|
|
1055
|
+
/**
|
|
1056
|
+
* Close the connection with the signaling server
|
|
1057
|
+
* @param data
|
|
1058
|
+
*/
|
|
1059
|
+
close(data: CloseReason | void): void;
|
|
1060
|
+
send(data: string | object): void;
|
|
1061
|
+
protected watchTimeoutOrErrorAndReconnectLater(): void;
|
|
1062
|
+
protected stopRetryTimer(): void;
|
|
1063
|
+
private initWebSocket;
|
|
1064
|
+
private httpUrlToWs;
|
|
1065
|
+
private clearWs;
|
|
1066
|
+
protected handleMessage(msg: MessageBase): void;
|
|
1067
|
+
private setHandlersFromStream;
|
|
1068
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignallingService, never>;
|
|
1069
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SignallingService>;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
declare class VideoService extends SubService {
|
|
1073
|
+
video: HTMLVideoElement | null;
|
|
1074
|
+
audio: HTMLAudioElement | null;
|
|
1075
|
+
container: HTMLDivElement | null;
|
|
1076
|
+
create(): void;
|
|
1077
|
+
private destroy;
|
|
1078
|
+
private createWebRtcVideo;
|
|
1079
|
+
attachVideoStream(stream: MediaStream): void;
|
|
1080
|
+
attachAudioStream(stream: MediaStream): void;
|
|
1081
|
+
private createWebRtcAudio;
|
|
1082
|
+
private playAudio;
|
|
1083
|
+
play(): void;
|
|
1084
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VideoService, never>;
|
|
1085
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VideoService>;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
declare class VideoStreamStatusService extends SubService {
|
|
1089
|
+
readonly latencyTestTimings: LatencyTimings;
|
|
1090
|
+
private readonly webrtcPlayer;
|
|
1091
|
+
private aggregatedStats;
|
|
1092
|
+
private VideoEncoderQP;
|
|
1093
|
+
private kalmanFilter1D;
|
|
1094
|
+
readonly videoStats$: Observable<IAggregatedStat>;
|
|
1095
|
+
constructor();
|
|
1096
|
+
/**
|
|
1097
|
+
* Aggregate video stats and emit it as videoStats$
|
|
1098
|
+
*/
|
|
1099
|
+
private aggregateStats;
|
|
1100
|
+
setEncoder(data: any): void;
|
|
1101
|
+
private getStats;
|
|
1102
|
+
private generateAggregatedStatsFunction;
|
|
1103
|
+
private onAggregatedStats;
|
|
1104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VideoStreamStatusService, never>;
|
|
1105
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VideoStreamStatusService>;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
declare class WebRtcPlayerService extends SubService {
|
|
1109
|
+
pcClient: RTCPeerConnection | null;
|
|
1110
|
+
onAudioTrack$: Subject<MediaStream>;
|
|
1111
|
+
onVideoTrack$: Subject<MediaStream>;
|
|
1112
|
+
onDataChannelMessage$: Subject<number[]>;
|
|
1113
|
+
onWebRtcCandidate$: Subject<RTCIceCandidate>;
|
|
1114
|
+
onWebRtcOffer$: Subject<RTCSessionDescriptionInit>;
|
|
1115
|
+
private cfg;
|
|
1116
|
+
private useMic;
|
|
1117
|
+
private forceTURN;
|
|
1118
|
+
private preferSFU;
|
|
1119
|
+
private autoPlayAudio;
|
|
1120
|
+
private startVideoMuted;
|
|
1121
|
+
private forceMonoAudio;
|
|
1122
|
+
private forceMaxBundle;
|
|
1123
|
+
private dcClient;
|
|
1124
|
+
private sdpConstraints;
|
|
1125
|
+
private dataChannelOptions;
|
|
1126
|
+
private webRtcErrorTimeout;
|
|
1127
|
+
createWebRtcOffer(): Promise<void>;
|
|
1128
|
+
createDataChannel(pc: RTCPeerConnection, label: string, options: RTCDataChannelInit): RTCDataChannel | null;
|
|
1129
|
+
receiveAnswer(answer: RTCSessionDescriptionInit): void;
|
|
1130
|
+
handleCandidateFromServer(iceCandidate: RTCIceCandidate): void;
|
|
1131
|
+
mungeSDP(offer: RTCSessionDescriptionInit): void;
|
|
1132
|
+
/**
|
|
1133
|
+
* Closes existing PeerConnection
|
|
1134
|
+
*/
|
|
1135
|
+
closePC(): void;
|
|
1136
|
+
canSend(): boolean | null;
|
|
1137
|
+
send(data: ArrayBuffer): void;
|
|
1138
|
+
setConfig(parOptions?: ConfigMessage): void;
|
|
1139
|
+
private dispatchWebRtcError;
|
|
1140
|
+
private createOffer;
|
|
1141
|
+
private setupTransceiversAsync;
|
|
1142
|
+
private setupDataChannelCallbacks;
|
|
1143
|
+
private onDataChannelConnected;
|
|
1144
|
+
private handleCreateOffer;
|
|
1145
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WebRtcPlayerService, never>;
|
|
1146
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WebRtcPlayerService>;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
declare class AggregatorService extends SubService {
|
|
1150
|
+
#private;
|
|
1151
|
+
readonly selectStreamConfig: i0.Signal<_3dsource_angular_unreal_module.StreamConfig | undefined>;
|
|
1152
|
+
readonly videoService: VideoService;
|
|
1153
|
+
readonly webrtcPlayer: WebRtcPlayerService;
|
|
1154
|
+
readonly freezeFrame: FreezeFrameService;
|
|
1155
|
+
readonly signallingSrv: SignallingService;
|
|
1156
|
+
readonly stats: VideoStreamStatusService;
|
|
1157
|
+
/**
|
|
1158
|
+
* /Never called for now
|
|
1159
|
+
* @
|
|
1160
|
+
*/
|
|
1161
|
+
destroy$: Subject<void>;
|
|
1162
|
+
responseEventListeners: Map<string, (data: unknown) => void>;
|
|
1163
|
+
unlockViewport$: Observable<boolean>;
|
|
1164
|
+
constructor();
|
|
1165
|
+
init(): void;
|
|
1166
|
+
private initialize;
|
|
1167
|
+
/**
|
|
1168
|
+
* @deprecated
|
|
1169
|
+
* Hack for 3DS platform;
|
|
1170
|
+
* TODO remove ASAP, use {@link BasicConfiguratorApiService.toMetaBoxHandlers.watchCallbacks}
|
|
1171
|
+
* Add external responses to the list of responses
|
|
1172
|
+
*/
|
|
1173
|
+
private addExternalResponses;
|
|
1174
|
+
addResponseEventListener(name: string, listener: (data: unknown) => void): void;
|
|
1175
|
+
showOnScreenKeyboard<T extends {
|
|
1176
|
+
showOnScreenKeyboard: boolean;
|
|
1177
|
+
}>(command: T): void;
|
|
1178
|
+
exposeApi(): void;
|
|
1179
|
+
removeLoadScreen(): void;
|
|
1180
|
+
startListenCallbacks(): void;
|
|
1181
|
+
private showMessageFromUnreal;
|
|
1182
|
+
resetResponseList(): void;
|
|
1183
|
+
listenSignaling(): void;
|
|
1184
|
+
listenWebRTC(): void;
|
|
1185
|
+
dataChannelMessageHandler(data: number[]): void;
|
|
1186
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AggregatorService, never>;
|
|
1187
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AggregatorService>;
|
|
1188
|
+
}
|
|
1189
|
+
declare const filteredLogs: {
|
|
1190
|
+
command: string;
|
|
1191
|
+
}[];
|
|
1192
|
+
|
|
1193
|
+
declare class CommandTelemetryService {
|
|
1194
|
+
private readonly appId;
|
|
1195
|
+
private commandsSent;
|
|
1196
|
+
private exileTimout;
|
|
1197
|
+
private pollingTime;
|
|
1198
|
+
private commandSequenceNumber;
|
|
1199
|
+
/**
|
|
1200
|
+
* The time the telemetry service was started.
|
|
1201
|
+
* Initialized at a moment when connectToSignaling() was called.
|
|
1202
|
+
* @private
|
|
1203
|
+
*/
|
|
1204
|
+
private startTime;
|
|
1205
|
+
private lastTime;
|
|
1206
|
+
private uuid;
|
|
1207
|
+
private viewId;
|
|
1208
|
+
private readonly sessionId;
|
|
1209
|
+
private readonly userId;
|
|
1210
|
+
private payloads;
|
|
1211
|
+
private readonly httpClient;
|
|
1212
|
+
private readonly unrealInitialConfig;
|
|
1213
|
+
constructor();
|
|
1214
|
+
private get timeNow();
|
|
1215
|
+
private get sessionTime();
|
|
1216
|
+
private get canSkipSending();
|
|
1217
|
+
decorate(funcToDecorate: IToBeDecorated): (data: any) => void;
|
|
1218
|
+
private start;
|
|
1219
|
+
private reset;
|
|
1220
|
+
private trackStartCommand;
|
|
1221
|
+
private trackStopCommand;
|
|
1222
|
+
private pushStatToBuffer;
|
|
1223
|
+
private trackTime;
|
|
1224
|
+
private send;
|
|
1225
|
+
/**
|
|
1226
|
+
* Listens for Unreal Engine callbacks.
|
|
1227
|
+
* Subscribes to the Unreal Engine event loop back and filters out events that do not have a tracking ID.
|
|
1228
|
+
* When a callback with a tracking ID is received,
|
|
1229
|
+
* it stops tracking the time for that command and filters out commands
|
|
1230
|
+
* that have exceeded the timeout limit.
|
|
1231
|
+
*/
|
|
1232
|
+
private listenCallbacks;
|
|
1233
|
+
private pushData;
|
|
1234
|
+
/**
|
|
1235
|
+
* Removes commands that have exceeded the timeout limit.
|
|
1236
|
+
* Iterates over all the commands sent and checks if the difference between the current time
|
|
1237
|
+
* and the time the command was sent is greater than the timeout limit.
|
|
1238
|
+
* If it is, the command is marked for deletion.
|
|
1239
|
+
* After checking all commands, those marked for deletion are removed from the commands sent.
|
|
1240
|
+
* This method is used to ensure that commands that are not responded to within a certain time frame
|
|
1241
|
+
* do not remain in the commandsSent object indefinitely, which could lead to memory leaks over time.
|
|
1242
|
+
*/
|
|
1243
|
+
private removeExileCommands;
|
|
1244
|
+
/**
|
|
1245
|
+
* Wraps the provided function with telemetry tracking.
|
|
1246
|
+
* Generates a unique tracking ID and adds it to the data object.
|
|
1247
|
+
* Pushes the command sent to the payloads with the tracking ID.
|
|
1248
|
+
* Starts tracking the time for the command.
|
|
1249
|
+
* Finally, calls the provided function with the modified data object.
|
|
1250
|
+
*
|
|
1251
|
+
* @param {IToBeDecorated} funcToDecorate - The function to be decorated with telemetry tracking.
|
|
1252
|
+
* @param {any} data - The data object to be passed to the function. It will be augmented with a unique tracking ID.
|
|
1253
|
+
*/
|
|
1254
|
+
private wrapper;
|
|
1255
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandTelemetryService, never>;
|
|
1256
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommandTelemetryService>;
|
|
1257
|
+
}
|
|
1258
|
+
type IToBeDecorated = (data: any) => unknown;
|
|
1259
|
+
declare function TelemetryStart(externalId: string): void;
|
|
1260
|
+
declare function TelemetryStop(externalId: string, payload?: any): void;
|
|
1261
|
+
declare function ResetTelemetry(): void;
|
|
1262
|
+
|
|
1263
|
+
declare class ConsoleExtensionsService extends SubService {
|
|
1264
|
+
private httpClient;
|
|
1265
|
+
private isDevMode;
|
|
1266
|
+
init(): void;
|
|
1267
|
+
private unrealHelp;
|
|
1268
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConsoleExtensionsService, never>;
|
|
1269
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConsoleExtensionsService>;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
declare class DevModeService {
|
|
1273
|
+
get isDevMode(): boolean;
|
|
1274
|
+
setDevMode(value: boolean): void;
|
|
1275
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DevModeService, never>;
|
|
1276
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DevModeService>;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
declare class InputService extends SubService {
|
|
1280
|
+
private commandsSender;
|
|
1281
|
+
private isDevMode;
|
|
1282
|
+
readonly defaultKeys: (17 | 37 | 38 | 39 | 40 | 46 | 65 | 68 | 83 | 87 | 107 | 109 | 187 | 189)[];
|
|
1283
|
+
private availableKeys;
|
|
1284
|
+
private options;
|
|
1285
|
+
private reInit$;
|
|
1286
|
+
private deactivatedVideoTrigger$;
|
|
1287
|
+
private normalizeAndQuantizeUnsigned;
|
|
1288
|
+
private unQuantizeAndDenormalizeUnsigned;
|
|
1289
|
+
private normalizeAndQuantizeSigned;
|
|
1290
|
+
video: HTMLVideoElement;
|
|
1291
|
+
videoBoundingRect: DOMRect;
|
|
1292
|
+
fingerIds: Map<any, any>;
|
|
1293
|
+
maxByteValue: number;
|
|
1294
|
+
fingers: number[];
|
|
1295
|
+
private offsetParams;
|
|
1296
|
+
constructor();
|
|
1297
|
+
useKeyboardKeys(keys: IKeyCode[]): void;
|
|
1298
|
+
private setup;
|
|
1299
|
+
/**
|
|
1300
|
+
* We use `object-fit: cover` on the video element. Since the video can have
|
|
1301
|
+
* a different aspect ratio from its container (and potentially be larger),
|
|
1302
|
+
* we need to calculate offsets and scale factors to map container (e.g., mouse)
|
|
1303
|
+
* coordinates back to the actual video coordinates.
|
|
1304
|
+
*
|
|
1305
|
+
* @param videoElement The video element whose scaling and positioning we need
|
|
1306
|
+
* @returns Object containing offset and scale info for coordinate normalization
|
|
1307
|
+
* @private
|
|
1308
|
+
*/
|
|
1309
|
+
private getObjectFitOffset;
|
|
1310
|
+
private setupNormalizeAndQuantize;
|
|
1311
|
+
private sendInputData;
|
|
1312
|
+
private registerInputs;
|
|
1313
|
+
private getTouchPositionWithOffset;
|
|
1314
|
+
private getMousePositionWithOffset;
|
|
1315
|
+
private registerTouchEvents;
|
|
1316
|
+
focusWindow(): void;
|
|
1317
|
+
emitMouseMove(x: number, y: number, deltaX: number, deltaY: number): void;
|
|
1318
|
+
emitMouseDown(button: number, x: number, y: number): void;
|
|
1319
|
+
emitMouseUp(button: number, x: number, y: number): void;
|
|
1320
|
+
emitMouseWheel(delta: number, x: number, y: number): void;
|
|
1321
|
+
private releaseMouseButtons;
|
|
1322
|
+
private pressMouseButtons;
|
|
1323
|
+
private registerHoveringMouseEvents;
|
|
1324
|
+
private registerMouseEnterAndLeaveEvents;
|
|
1325
|
+
private isKeyCodeBrowserKey;
|
|
1326
|
+
private getKeyCode;
|
|
1327
|
+
private registerKeyboardEvents;
|
|
1328
|
+
private startListenKeys;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
declare class RegionsPingService {
|
|
1332
|
+
private httpClient;
|
|
1333
|
+
private unrealInitialConfig;
|
|
1334
|
+
config: {
|
|
1335
|
+
ping_count: number;
|
|
1336
|
+
ping_timeout: number;
|
|
1337
|
+
max_parallel_requests: number;
|
|
1338
|
+
bust_cache: boolean;
|
|
1339
|
+
};
|
|
1340
|
+
constructor();
|
|
1341
|
+
getFastest(regionListUrl?: string): Observable<string | undefined>;
|
|
1342
|
+
getPingResult(providers: ProvidersData): Observable<PingResult | null>;
|
|
1343
|
+
getProviders(regionList?: string): Observable<ProvidersData>;
|
|
1344
|
+
private startPinging;
|
|
1345
|
+
private checkLatency;
|
|
1346
|
+
private fetchWithTimeout;
|
|
1347
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegionsPingService, never>;
|
|
1348
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RegionsPingService>;
|
|
1349
|
+
}
|
|
1350
|
+
interface ProvidersData {
|
|
1351
|
+
timeout?: number;
|
|
1352
|
+
regions: Region[];
|
|
1353
|
+
}
|
|
1354
|
+
interface Region {
|
|
1355
|
+
region_code: string;
|
|
1356
|
+
url: string;
|
|
1357
|
+
timeout?: number;
|
|
1358
|
+
}
|
|
1359
|
+
interface PingResult {
|
|
1360
|
+
region_code: string | undefined;
|
|
1361
|
+
result: number[];
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
declare class StreamStatusTelemetryService {
|
|
1365
|
+
#private;
|
|
1366
|
+
constructor();
|
|
1367
|
+
private mapEventData;
|
|
1368
|
+
private initTelemetry;
|
|
1369
|
+
private trackEventToMixPanel;
|
|
1370
|
+
init(): void;
|
|
1371
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StreamStatusTelemetryService, never>;
|
|
1372
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StreamStatusTelemetryService>;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
declare class UnrealCommunicatorService {
|
|
1376
|
+
private telemetry;
|
|
1377
|
+
private afkService;
|
|
1378
|
+
private freezeFrame;
|
|
1379
|
+
private webrtcPlayer;
|
|
1380
|
+
private videoService;
|
|
1381
|
+
private consoleExtensions;
|
|
1382
|
+
private store;
|
|
1383
|
+
private destroy$;
|
|
1384
|
+
private cirrusConnected;
|
|
1385
|
+
constructor();
|
|
1386
|
+
destroy(): void;
|
|
1387
|
+
sendCommandToUnreal(data: MetaBoxCommandPacket): void;
|
|
1388
|
+
emitUIInteraction(descriptor: MetaBoxCommandPacket): void;
|
|
1389
|
+
/**
|
|
1390
|
+
A build-in command can be sent to the UE4 client. The commands are defined by a
|
|
1391
|
+
JSON descriptor and will be executed automatically.
|
|
1392
|
+
The currently supported commands are:
|
|
1393
|
+
|
|
1394
|
+
1. A command to run any console command:
|
|
1395
|
+
"{ ConsoleCommand: <string> }"
|
|
1396
|
+
|
|
1397
|
+
2. A command to change the resolution to the given width and height.
|
|
1398
|
+
"{ Resolution.Width: <value>, Resolution.Height: <value> } }"
|
|
1399
|
+
*/
|
|
1400
|
+
emitCommand(descriptor: MetaBoxCommandPacket): void;
|
|
1401
|
+
sendInputData(data: ArrayBuffer): void;
|
|
1402
|
+
private emitDescriptor;
|
|
1403
|
+
private requestInitialSettings;
|
|
1404
|
+
private requestQualityControl;
|
|
1405
|
+
private listenVideo;
|
|
1406
|
+
private prepareScreen;
|
|
1407
|
+
private showPlayOverlay;
|
|
1408
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnrealCommunicatorService, never>;
|
|
1409
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UnrealCommunicatorService>;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
declare class AfkRestartScreenLockerComponent implements AfterViewInit, OnInit {
|
|
1413
|
+
store: Store<any>;
|
|
1414
|
+
videoService: VideoService;
|
|
1415
|
+
destroyRef: DestroyRef;
|
|
1416
|
+
showReconnectPopup: i0.Signal<boolean | undefined>;
|
|
1417
|
+
isViewportReady: i0.Signal<boolean | undefined>;
|
|
1418
|
+
imageLoadingSrc: i0.Signal<string | undefined>;
|
|
1419
|
+
streamConfig: i0.Signal<_3dsource_angular_unreal_module.StreamConfig | undefined>;
|
|
1420
|
+
isSecondStart: i0.WritableSignal<boolean>;
|
|
1421
|
+
playCallBack: null | (() => void);
|
|
1422
|
+
ngOnInit(): void;
|
|
1423
|
+
ngAfterViewInit(): void;
|
|
1424
|
+
connect(): void;
|
|
1425
|
+
onDisconnect(): void;
|
|
1426
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AfkRestartScreenLockerComponent, never>;
|
|
1427
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AfkRestartScreenLockerComponent, "app-afk-restart-screen-locker", never, {}, {}, never, never, true, never>;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
declare class StatGraphComponent implements AfterViewInit {
|
|
1431
|
+
private el;
|
|
1432
|
+
graph: ElementRef;
|
|
1433
|
+
private canvas;
|
|
1434
|
+
private ctx;
|
|
1435
|
+
readonly color: i0.InputSignal<string>;
|
|
1436
|
+
readonly tickStep: i0.InputSignal<number>;
|
|
1437
|
+
readonly label: i0.InputSignal<string>;
|
|
1438
|
+
private scaleY;
|
|
1439
|
+
set dataTick(data: {
|
|
1440
|
+
value: number;
|
|
1441
|
+
hash: number;
|
|
1442
|
+
} | null);
|
|
1443
|
+
private data;
|
|
1444
|
+
max: number;
|
|
1445
|
+
min: number;
|
|
1446
|
+
current: number;
|
|
1447
|
+
ngAfterViewInit(): void;
|
|
1448
|
+
resize(): void;
|
|
1449
|
+
private draw;
|
|
1450
|
+
private getColor;
|
|
1451
|
+
private pushData;
|
|
1452
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatGraphComponent, never>;
|
|
1453
|
+
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>;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
declare class UnrealSceneComponent implements AfterViewInit, OnInit, OnDestroy {
|
|
1457
|
+
isStudio: i0.InputSignal<boolean>;
|
|
1458
|
+
useContainerAsSizeProvider: i0.InputSignal<boolean>;
|
|
1459
|
+
studioResolutionSize: i0.InputSignal<{
|
|
1460
|
+
width: number;
|
|
1461
|
+
height: number;
|
|
1462
|
+
}>;
|
|
1463
|
+
studioResolutionValues: rxjs.Observable<{
|
|
1464
|
+
width: number;
|
|
1465
|
+
height: number;
|
|
1466
|
+
}>;
|
|
1467
|
+
container: ElementRef;
|
|
1468
|
+
changeMouseOverScene: i0.OutputEmitterRef<boolean>;
|
|
1469
|
+
private width;
|
|
1470
|
+
private height;
|
|
1471
|
+
private store;
|
|
1472
|
+
lightMode: i0.Signal<boolean | undefined>;
|
|
1473
|
+
isFreezeFrameLoading: i0.Signal<boolean | undefined>;
|
|
1474
|
+
private aggregatorService;
|
|
1475
|
+
private commandsSender;
|
|
1476
|
+
private inputService;
|
|
1477
|
+
private videoService;
|
|
1478
|
+
private stats;
|
|
1479
|
+
private streamTelemetryService;
|
|
1480
|
+
private element;
|
|
1481
|
+
private destroyRef;
|
|
1482
|
+
private get resizeValues();
|
|
1483
|
+
private get pixelRatio();
|
|
1484
|
+
onMouseOver(): void;
|
|
1485
|
+
onMouseOut(): void;
|
|
1486
|
+
ngOnInit(): void;
|
|
1487
|
+
ngAfterViewInit(): void;
|
|
1488
|
+
ngOnDestroy(): void;
|
|
1489
|
+
private adaptVideo;
|
|
1490
|
+
/**
|
|
1491
|
+
* This method calculates the dimensions for resizing a layout in a configurator stream.
|
|
1492
|
+
* It takes into account the pixel ratio of the device's screen and the orientation of the layout.
|
|
1493
|
+
* 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.
|
|
1494
|
+
* It also sets the maximum limits for the width and height based on the layout's orientation.
|
|
1495
|
+
* 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.
|
|
1496
|
+
* @returns {Area} An object of type `Area` that contains the calculated dimensions for resizing the layout.
|
|
1497
|
+
*/
|
|
1498
|
+
private getResizeValuesUniversal;
|
|
1499
|
+
private getResizeValues;
|
|
1500
|
+
private sendResize;
|
|
1501
|
+
private makeEven;
|
|
1502
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnrealSceneComponent, never>;
|
|
1503
|
+
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>;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
declare class VideoLockerComponent implements AfterViewInit, OnInit {
|
|
1507
|
+
videoElement: ElementRef<HTMLDivElement>;
|
|
1508
|
+
private store;
|
|
1509
|
+
private destroyRef;
|
|
1510
|
+
protected videoIntroSrc$: rxjs.Observable<string | null>;
|
|
1511
|
+
protected imageIntroSrc$: rxjs.Observable<string | null>;
|
|
1512
|
+
ngOnInit(): void;
|
|
1513
|
+
ngAfterViewInit(): void;
|
|
1514
|
+
private createVideo;
|
|
1515
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VideoLockerComponent, never>;
|
|
1516
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VideoLockerComponent, "app-video-locker", never, {}, {}, never, never, true, never>;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
declare class VideoStatsComponent implements OnInit {
|
|
1520
|
+
collapsed: boolean;
|
|
1521
|
+
private store;
|
|
1522
|
+
private videoStatGenerator;
|
|
1523
|
+
private isDevMode;
|
|
1524
|
+
private obs$;
|
|
1525
|
+
viewportReady: i0.Signal<boolean | undefined>;
|
|
1526
|
+
ssInfo: i0.Signal<string | undefined>;
|
|
1527
|
+
fpsTick: i0.Signal<any>;
|
|
1528
|
+
fpsAvgTick: i0.Signal<any>;
|
|
1529
|
+
bitrateTick: i0.Signal<any>;
|
|
1530
|
+
videoQP: i0.Signal<any>;
|
|
1531
|
+
bitrateAverageTick: i0.Signal<any>;
|
|
1532
|
+
videoStatus: i0.Signal<{
|
|
1533
|
+
key: string;
|
|
1534
|
+
value: any;
|
|
1535
|
+
}[] | undefined>;
|
|
1536
|
+
fields: string[];
|
|
1537
|
+
graphList: any[];
|
|
1538
|
+
graphList$: Observable<any>;
|
|
1539
|
+
private idKey;
|
|
1540
|
+
private elementsToShow;
|
|
1541
|
+
private trigger$;
|
|
1542
|
+
constructor();
|
|
1543
|
+
ngOnInit(): void;
|
|
1544
|
+
updateGraph(): void;
|
|
1545
|
+
toggle(): void;
|
|
1546
|
+
toggleGraph($event: MouseEvent, el: string, value?: any): void;
|
|
1547
|
+
private getFields;
|
|
1548
|
+
private writeFields;
|
|
1549
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VideoStatsComponent, never>;
|
|
1550
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VideoStatsComponent, "app-video-stats", never, {}, {}, never, never, true, never>;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
declare class WebrtcErrorModalComponent {
|
|
1554
|
+
#private;
|
|
1555
|
+
dialogRef: DialogRef<any, any>;
|
|
1556
|
+
close(): void;
|
|
1557
|
+
closeModalWithCirrusDisconnect(): void;
|
|
1558
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WebrtcErrorModalComponent, never>;
|
|
1559
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WebrtcErrorModalComponent, "app-webrtc-error-modal", never, {}, {}, never, never, true, never>;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
declare class FilterSettingsComponent implements OnInit {
|
|
1563
|
+
private readonly storageKey;
|
|
1564
|
+
readonly defaultFilterModel: {
|
|
1565
|
+
minimumBitrate: number;
|
|
1566
|
+
yellowFlag: number;
|
|
1567
|
+
redFlag: number;
|
|
1568
|
+
minimumFps: number;
|
|
1569
|
+
monitoringDelayTime: number;
|
|
1570
|
+
initialBitrateEstimate: number;
|
|
1571
|
+
initialErrorCovariance: number;
|
|
1572
|
+
processNoise: number;
|
|
1573
|
+
measurementNoise: number;
|
|
1574
|
+
panelOpen: boolean;
|
|
1575
|
+
};
|
|
1576
|
+
settings: {
|
|
1577
|
+
minimumBitrate: number;
|
|
1578
|
+
yellowFlag: number;
|
|
1579
|
+
redFlag: number;
|
|
1580
|
+
minimumFps: number;
|
|
1581
|
+
monitoringDelayTime: number;
|
|
1582
|
+
initialBitrateEstimate: number;
|
|
1583
|
+
initialErrorCovariance: number;
|
|
1584
|
+
processNoise: number;
|
|
1585
|
+
measurementNoise: number;
|
|
1586
|
+
panelOpen: boolean;
|
|
1587
|
+
};
|
|
1588
|
+
ngOnInit(): void;
|
|
1589
|
+
togglePanel(): void;
|
|
1590
|
+
saveSettings(): void;
|
|
1591
|
+
dispatch(model: typeof DefaultFilterModel): void;
|
|
1592
|
+
reset(): void;
|
|
1593
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterSettingsComponent, never>;
|
|
1594
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterSettingsComponent, "app-filter-settings", never, {}, {}, never, never, true, never>;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
declare class LowBandwidthDetectorComponent implements OnInit {
|
|
1598
|
+
private readonly store;
|
|
1599
|
+
private readonly dialog;
|
|
1600
|
+
private readonly destroyRef;
|
|
1601
|
+
private readonly videoStatGenerator;
|
|
1602
|
+
readonly devModeService: DevModeService;
|
|
1603
|
+
private readonly viewportReady$;
|
|
1604
|
+
private readonly isLowBandwidth$;
|
|
1605
|
+
private readonly lowBandwidthTrigger$;
|
|
1606
|
+
private readonly highBandwidthTrigger$;
|
|
1607
|
+
private readonly viewPortDestroyedTrigger$;
|
|
1608
|
+
private readonly aggregatedStats$;
|
|
1609
|
+
private readonly nativeQuality$;
|
|
1610
|
+
private readonly monitoringTrigger$;
|
|
1611
|
+
private readonly reTrigger$;
|
|
1612
|
+
private readonly canSwitchToLowBand$;
|
|
1613
|
+
private readonly videoQuality$;
|
|
1614
|
+
private readonly fps$;
|
|
1615
|
+
private readonly bitrateDrop$;
|
|
1616
|
+
readonly fps: i0.Signal<number | undefined>;
|
|
1617
|
+
readonly nativeQuality: i0.Signal<Quality | undefined>;
|
|
1618
|
+
readonly isLowBandwidth: i0.Signal<boolean | undefined>;
|
|
1619
|
+
readonly aggregatedStats: i0.Signal<_3dsource_angular_unreal_module.InboundVideoStats | undefined>;
|
|
1620
|
+
readonly isReducedQuality: i0.WritableSignal<boolean>;
|
|
1621
|
+
readonly isIndicatorExpanded: i0.WritableSignal<boolean>;
|
|
1622
|
+
readonly isIndicatorExpandedTrigger$: rxjs.Observable<false>;
|
|
1623
|
+
ngOnInit(): void;
|
|
1624
|
+
private trySetLowBandwidth;
|
|
1625
|
+
toggleIndicator(value: boolean): void;
|
|
1626
|
+
hideIndicatorAfterDelay(): void;
|
|
1627
|
+
openLBMDialog(): void;
|
|
1628
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LowBandwidthDetectorComponent, never>;
|
|
1629
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LowBandwidthDetectorComponent, "app-low-bandwidth-detector", never, {}, {}, never, never, true, never>;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
declare class SafePipe implements PipeTransform {
|
|
1633
|
+
private sanitizer;
|
|
1634
|
+
transform(value: any, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
|
|
1635
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
|
|
1636
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "safe", true>;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
export { AFKService, AfkRestartScreenLockerComponent, AggregatorService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY, ClickableOverlayComponent, CommandTelemetryService, ConfigHandler, ConsoleExtensionsService, DATA_CHANNEL_CONNECTION_TIMEOUT, DEBOUNCE_TO_MANY_RESIZE_CALLS, DEFAULT_TIMEOUT_PERIOD, DEFAULT_WARN_TIMEOUT, DataFlowMonitor, DevModeService, DisconnectReason, EControlSchemeType, EMessageType, EToClientMessageType, FULL_HD_HEIGHT, FULL_HD_WIDTH, FilterSettingsComponent, FreezeFrameComponent, FreezeFrameService, IceCandidateHandler, InputOptions, InputService, InstanceReadyHandler, InstanceReservedHandler, KalmanFilter1D, LatencyTimings, LowBandwidthDetectorComponent, LowBandwidthModalComponent, MINIMAL_FPS, MouseButton, MouseButtonsMask, OnCloseHandler, OnErrorHandler, OnMessageHandler, OnOpenHandler, OrchestrationMessageTypes, PingHandler, PlayerCountHandler, RegionsPingService, ResetTelemetry, SAME_SIZE_THRESHOLD, SCREEN_LOCKER_CONTAINER_ID, SSInfoHandler, STREAMING_VIDEO_ID, SafePipe, SignallingService, SpecialKeyCodes, StatGraphComponent, StreamStatusTelemetryService, SubService, TelemetryStart, TelemetryStop, UNREAL_CONFIG, UnrealCommunicatorService, UnrealEffects, UnrealInternalSignalEvents, UnrealSceneComponent, UnrealStatusMessage, VideoLockerComponent, VideoRecorder, VideoService, VideoStatsComponent, VideoStreamStatusService, WSCloseCode_NORMAL_AFK_TIMEOUT, WSCloseCode_NORMAL_CIRRUS_CLOSED, WSCloseCode_NORMAL_CLOSURE, WSCloseCode_NORMAL_MANUAL_DISCONNECT, WSCloseCodes, WS_OPEN_STATE, WS_TIMEOUT, WebRtcPlayerService, WebrtcErrorModalComponent, alignProductsToPlaneCommand, changeLowBandwidth, changeStatusMainVideoOnScene, changeStreamResolutionAction, changeStreamResolutionSuccessAction, clampAndKeepMaxPercents, clampPanToProductsCommand, commandCompleted, commandStarted, decodeData, destroyConnectionsAndResetState, destroyRemoteConnections, dispatchResize, filteredLogs, floatToSmoothPercents, forceResizeUnrealVideo, fromResizeObserver, fromSignal, fromUnrealCallBackSignal, getActiveUrl, getApplyCameraPresetCommand, getApplyZoomCommand, getCameraBoxCommand, getCameraRecenterCommand, getCameraSettingsCommand, getChangeGizmoTypeCommand, getChangeResolutionCommand, getClickSnapCommand, getControlSensitivityCommand, getDebugModeCommand, getDragCommand, getDragSequenceCommand, getDropCommand, getEnableComposureCommand, getEnableControlsCommand, getEnableSpinnerModeCommand, getEnableTeleportCommand, getExecuteConsoleCommand, getFitToObjectsCommand, getFreezeFrameCommand, getImageFromVideoStream, getInitSequenceByObjectNameCommand, getJumpToSequenceCommand, getLoadLevelCommand, getLoadProductCommand, getLoadSceneStateCommand, getLoopBackCommand, getMoveSelectedCommand, getPauseSequenceCommand, getPlaySequenceCommand, getRequestCameraPresetCommand, getResetControlClampsCommand, getRotateSelectedCommand, getRtcErrorMessage, getSelectProductByObjectNameCommand, getSetCameraControlClampsCommand, getSetControlCameraModeCommand, getSetFpsCommand, getSetMaterialCommand, getSetPawnMovementModeCommand, getSetSettingsSequenceCommand, getStopSequenceCommand, getTakeRenderCommand, getTakeSpinnerRenderCommand, getTakeSpinnerRenderPreviewCommand, getUnLoadAllProductsCommand, getUnLoadProductByObjectNameCommand, getUnselectAllProductsCommand, getWeatherCommand, initSignalling, initialState, mapQpToQuality, observeCommandResponse, removeExileCommands, resetAfk, resetAfkAction, resetConfig, resetIntroSrc, resetUnrealState, resetUnrealStateAction, resetWarnTimeout, selectCommandProgress, selectCommandsInProgress, selectFreezeFrameCombinedDataUrl, selectFreezeFrameDataUrl, selectFreezeFrameDataUrlFromVideo, selectFreezeFrameProgressMessageFromVideo, selectIsAutostart, selectIsFreezeFrameLoading, selectIsVideoPlayingAndDataChannelConnected, selectLastCommandInProgress, selectLoaderCommands, selectMatchUrls, selectShowLoader, selectShowReconnectPopup, selectSignalingParameters, selectStreamConfig, selectTotalProgress, selectWarnTimeout, selectWsUrl, sendSignal, setAwsInstance, setCirrusConnected, setCirrusDisconnected, setConfig, setDataChannelConnected, setErrorMessage, setEstablishingConnection, setFreezeFrame, setFreezeFrameFromVideo, setIntroImageSrc, setIntroVideoSrc, setLoadingImageSrc, setLoopBackCommandIsCompleted, setMatchUrls, setMaxFps, setProductsLocationCommand, setSignalingName, setStatusMessage, setStatusPercentSignallingServer, setStreamClientCompanyId, setStreamViewId, setViewportReady, showUnrealErrorMessage, trackMixpanelEvent, unLoadAllLevelsCommand, unrealFeature, unrealReducer, updateCirrusInfo };
|
|
1640
|
+
export type { AnswerMessage, AwsInstance, CandidateMessage, CloseReason, CommandsLoaderState, ConfigMessage, DataFlowCheckResult, DisconnectType, EControlSchemeTypeValues, EMessageTypeValues, FreezeFrameMessage, IAggregatedStat, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, LBMStats, MessageBase, NormalizeAndQuantizeSignedValue, NormalizeAndQuantizeUnsignedValue, ObservedCallbackResponse, OrchestrationMessageType, PingMessage, PlayerCountMessage, PollingOrchestrationMessage, Quality, SSInfo, SignalDescriptor, SignalingData, SignalingMessageHandler, SignalingMessageMap, StreamConfig, StreamResolutionProps, TelemetryType, UnknownFields, UnquantizeAndDenormalizeUnsignedValue, UnrealCallBackJson, UnrealError, UnrealErrorType, UnrealInitialConfig, UnrealState, WSCloseCodesValues, WrappedMetaBoxCommandPacket };
|