@3dsource/angular-unreal-module 0.0.98 → 0.0.99
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/package.json
CHANGED
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ElementRef, OnInit, InjectionToken, PipeTransform } from '@angular/core';
|
|
3
3
|
import { DialogRef } from '@angular/cdk/dialog';
|
|
4
|
-
import * as _ngrx_store from '@ngrx/store';
|
|
5
|
-
import { Store } from '@ngrx/store';
|
|
6
4
|
import * as rxjs from 'rxjs';
|
|
7
5
|
import { Observable, Subject } from 'rxjs';
|
|
8
6
|
import * as _3dsource_angular_unreal_module from '@3dsource/angular-unreal-module';
|
|
7
|
+
import * as _ngrx_store from '@ngrx/store';
|
|
8
|
+
import { Store } from '@ngrx/store';
|
|
9
9
|
import { MetaBoxCommandPacket, MetaBoxCommandList } from '@3dsource/types-unreal';
|
|
10
10
|
import { IKeyCode, ImageOutputValues } from '@3dsource/utils';
|
|
11
11
|
import { SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
12
12
|
import * as _ngrx_effects from '@ngrx/effects';
|
|
13
13
|
|
|
14
|
-
declare class
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickableOverlayComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClickableOverlayComponent, "app-clickable-overlay", never, {}, {}, never, never, true, never>;
|
|
14
|
+
declare class AfkTimeoutModalComponent {
|
|
15
|
+
#private;
|
|
16
|
+
isAfkTimerVisible: i0.Signal<boolean>;
|
|
17
|
+
afkCountdown: i0.Signal<number>;
|
|
18
|
+
resetAfk(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AfkTimeoutModalComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AfkTimeoutModalComponent, "app-afk-timeout-modal", never, {}, {}, never, never, true, never>;
|
|
23
21
|
}
|
|
24
22
|
|
|
25
23
|
declare class FreezeFrameComponent {
|
|
26
|
-
private
|
|
27
|
-
readonly freezeFrameProgressMessageFromVideo: i0.Signal<number | null
|
|
28
|
-
readonly combinedFreeze: i0.Signal<string | null
|
|
24
|
+
#private;
|
|
25
|
+
readonly freezeFrameProgressMessageFromVideo: i0.Signal<number | null>;
|
|
26
|
+
readonly combinedFreeze: i0.Signal<string | null>;
|
|
29
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<FreezeFrameComponent, never>;
|
|
30
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<FreezeFrameComponent, "app-freeze-frame", never, {}, {}, never, never, true, never>;
|
|
31
29
|
}
|
|
@@ -38,37 +36,34 @@ declare class LowBandwidthModalComponent {
|
|
|
38
36
|
}
|
|
39
37
|
|
|
40
38
|
declare class ImageLoadingSrcComponent {
|
|
41
|
-
|
|
39
|
+
#private;
|
|
42
40
|
isLoaderScreenVisible: i0.Signal<boolean>;
|
|
43
41
|
imageLoadingSrc: i0.Signal<string>;
|
|
44
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLoadingSrcComponent, never>;
|
|
45
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageLoadingSrcComponent, "app-image-loading-src", never, {}, {}, never, never, true, never>;
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
declare class StatGraphComponent
|
|
46
|
+
declare class StatGraphComponent {
|
|
47
|
+
readonly stat: i0.InputSignal<number | undefined>;
|
|
49
48
|
private el;
|
|
50
|
-
graph: ElementRef
|
|
49
|
+
readonly graph: i0.Signal<ElementRef<HTMLCanvasElement> | undefined>;
|
|
51
50
|
private canvas;
|
|
52
51
|
private ctx;
|
|
53
52
|
readonly color: i0.InputSignal<string>;
|
|
54
53
|
readonly tickStep: i0.InputSignal<number>;
|
|
55
54
|
readonly label: i0.InputSignal<string>;
|
|
56
55
|
private scaleY;
|
|
57
|
-
set dataTick(data: {
|
|
58
|
-
value: number;
|
|
59
|
-
hash: number;
|
|
60
|
-
} | null);
|
|
61
56
|
private data;
|
|
62
|
-
max: number
|
|
63
|
-
min: number
|
|
64
|
-
current: number
|
|
65
|
-
|
|
66
|
-
resize(
|
|
57
|
+
readonly max: i0.WritableSignal<number>;
|
|
58
|
+
readonly min: i0.WritableSignal<number>;
|
|
59
|
+
readonly current: i0.WritableSignal<number>;
|
|
60
|
+
constructor();
|
|
61
|
+
resize(): void;
|
|
67
62
|
private draw;
|
|
68
63
|
private getColor;
|
|
69
64
|
private pushData;
|
|
70
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<StatGraphComponent, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StatGraphComponent, "app-stat-graph", never, { "
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatGraphComponent, "app-stat-graph", never, { "stat": { "alias": "stat"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "tickStep": { "alias": "tickStep"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
72
67
|
}
|
|
73
68
|
|
|
74
69
|
declare class UnrealSceneComponent {
|
|
@@ -131,43 +126,30 @@ declare class IntroSrcComponent {
|
|
|
131
126
|
}
|
|
132
127
|
|
|
133
128
|
declare class VideoStatsComponent implements OnInit {
|
|
134
|
-
collapsed: boolean
|
|
129
|
+
readonly collapsed: i0.WritableSignal<boolean>;
|
|
135
130
|
private store;
|
|
136
131
|
private videoService;
|
|
137
132
|
private isDevMode;
|
|
138
|
-
private
|
|
139
|
-
readonly viewportReady: i0.Signal<boolean
|
|
140
|
-
readonly ssInfo: i0.Signal<string
|
|
141
|
-
readonly fpsTick: i0.Signal<
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
readonly
|
|
146
|
-
value: number;
|
|
147
|
-
hash: number;
|
|
148
|
-
} | undefined>;
|
|
149
|
-
readonly bitrateTick: i0.Signal<{
|
|
150
|
-
value: number;
|
|
151
|
-
hash: number;
|
|
152
|
-
} | undefined>;
|
|
153
|
-
readonly videoQP: i0.Signal<{
|
|
154
|
-
value: number;
|
|
155
|
-
hash: number;
|
|
156
|
-
} | undefined>;
|
|
157
|
-
readonly bitrateAverageTick: i0.Signal<{
|
|
158
|
-
value: number;
|
|
159
|
-
hash: number;
|
|
160
|
-
} | undefined>;
|
|
133
|
+
private readonly videoStats;
|
|
134
|
+
readonly viewportReady: i0.Signal<boolean>;
|
|
135
|
+
readonly ssInfo: i0.Signal<string>;
|
|
136
|
+
readonly fpsTick: i0.Signal<number>;
|
|
137
|
+
readonly fpsAvgTick: i0.Signal<number>;
|
|
138
|
+
readonly bitrateTick: i0.Signal<number>;
|
|
139
|
+
readonly videoQP: i0.Signal<number>;
|
|
140
|
+
readonly bitrateAverageTick: i0.Signal<number>;
|
|
161
141
|
readonly videoStatus: i0.Signal<{
|
|
162
142
|
key: string;
|
|
163
143
|
value: any;
|
|
164
144
|
}[] | undefined>;
|
|
165
145
|
fields: string[];
|
|
166
|
-
graphList:
|
|
167
|
-
|
|
146
|
+
readonly graphList: i0.WritableSignal<{
|
|
147
|
+
key: string;
|
|
148
|
+
color: string;
|
|
149
|
+
stat: any;
|
|
150
|
+
}[]>;
|
|
168
151
|
private idKey;
|
|
169
152
|
private elementsToShow;
|
|
170
|
-
private trigger$;
|
|
171
153
|
constructor();
|
|
172
154
|
ngOnInit(): void;
|
|
173
155
|
updateGraph(): void;
|
|
@@ -180,8 +162,7 @@ declare class VideoStatsComponent implements OnInit {
|
|
|
180
162
|
}
|
|
181
163
|
|
|
182
164
|
declare class WebrtcErrorModalComponent {
|
|
183
|
-
private
|
|
184
|
-
private store;
|
|
165
|
+
#private;
|
|
185
166
|
close(): void;
|
|
186
167
|
closeModalWithCirrusDisconnect(): void;
|
|
187
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<WebrtcErrorModalComponent, never>;
|
|
@@ -236,7 +217,7 @@ interface ReconnectConfig {
|
|
|
236
217
|
enabled?: boolean;
|
|
237
218
|
/** Maximum number of reconnection attempts before giving up. Default: 3 */
|
|
238
219
|
maxAttempts?: number;
|
|
239
|
-
/** Delay in milliseconds between reconnection attempts. Default:
|
|
220
|
+
/** Delay in milliseconds between reconnection attempts. Default: 1000 */
|
|
240
221
|
delayMs?: number;
|
|
241
222
|
/** Reconnect on ICE connection failure (disconnected/failed state). Default: true */
|
|
242
223
|
onIceFailure?: boolean;
|
|
@@ -278,14 +259,14 @@ declare const MouseButtonsMask: {
|
|
|
278
259
|
FifthButton: number;
|
|
279
260
|
};
|
|
280
261
|
|
|
281
|
-
declare const
|
|
262
|
+
declare const ControlScheme: {
|
|
282
263
|
readonly LockedMouse: 0;
|
|
283
264
|
readonly HoveringMouse: 1;
|
|
284
265
|
readonly Default: 2;
|
|
285
266
|
};
|
|
286
|
-
type
|
|
267
|
+
type ControlSchemeValues = (typeof ControlScheme)[keyof typeof ControlScheme];
|
|
287
268
|
|
|
288
|
-
declare const
|
|
269
|
+
declare const MessageType: {
|
|
289
270
|
readonly IFrameRequest: 0;
|
|
290
271
|
readonly RequestQualityControl: 1;
|
|
291
272
|
readonly MaxFpsRequest: 2;
|
|
@@ -309,9 +290,9 @@ declare const EMessageType: {
|
|
|
309
290
|
readonly TouchEnd: 81;
|
|
310
291
|
readonly TouchMove: 82;
|
|
311
292
|
};
|
|
312
|
-
type
|
|
293
|
+
type MessageTypeValues = (typeof MessageType)[keyof typeof MessageType];
|
|
313
294
|
|
|
314
|
-
declare const
|
|
295
|
+
declare const ToClientMessage: {
|
|
315
296
|
readonly QualityControlOwnership: 0;
|
|
316
297
|
readonly Response: 1;
|
|
317
298
|
readonly Command: 2;
|
|
@@ -333,11 +314,6 @@ declare const UNREAL_CONFIG: InjectionToken<UnrealInitialConfig>;
|
|
|
333
314
|
|
|
334
315
|
declare const InputOptions: InputProps;
|
|
335
316
|
|
|
336
|
-
declare const UnrealStatusMessage: {
|
|
337
|
-
readonly CONNECTING_TO_SESSION: "Connecting to session.";
|
|
338
|
-
readonly STARTING_YOUR_SESSION: "Starting your session";
|
|
339
|
-
};
|
|
340
|
-
|
|
341
317
|
declare const DEBOUNCE_TO_MANY_RESIZE_CALLS = 100;
|
|
342
318
|
declare const SAME_SIZE_THRESHOLD = 1.01;
|
|
343
319
|
declare const MINIMAL_FPS = 6;
|
|
@@ -360,6 +336,10 @@ declare const DEFAULT_RECONNECT_MAX_ATTEMPTS = 3;
|
|
|
360
336
|
declare const DEFAULT_RECONNECT_DELAY_MS = 1000;
|
|
361
337
|
declare const DEFAULT_RECONNECT_ON_ICE_FAILURE = true;
|
|
362
338
|
declare const DEFAULT_RECONNECT_ON_DATACHANNEL_CLOSE = true;
|
|
339
|
+
declare const UnrealStatusMessage: {
|
|
340
|
+
readonly CONNECTING_TO_SESSION: "Connecting to session.";
|
|
341
|
+
readonly STARTING_YOUR_SESSION: "Starting your session";
|
|
342
|
+
};
|
|
363
343
|
|
|
364
344
|
interface NormalizeAndQuantizeUnsignedValue {
|
|
365
345
|
inRange: boolean;
|
|
@@ -375,9 +355,8 @@ interface NormalizeAndQuantizeSignedValue {
|
|
|
375
355
|
y: number;
|
|
376
356
|
}
|
|
377
357
|
interface InputProps {
|
|
378
|
-
controlScheme:
|
|
358
|
+
controlScheme: ControlSchemeValues;
|
|
379
359
|
suppressBrowserKeys: boolean;
|
|
380
|
-
fakeMouseWithTouches: boolean;
|
|
381
360
|
}
|
|
382
361
|
|
|
383
362
|
declare class SubService {
|
|
@@ -410,14 +389,9 @@ declare class AFKService extends SubService {
|
|
|
410
389
|
* @param countdown the count down number to be inserted into the span for updating
|
|
411
390
|
*/
|
|
412
391
|
private updateCountDown;
|
|
413
|
-
/**
|
|
414
|
-
* Update the text overlays inner text
|
|
415
|
-
* @param message the update text to be inserted into the overlay
|
|
416
|
-
*/
|
|
417
|
-
private dispatchMessage;
|
|
418
392
|
private clearTimers;
|
|
419
393
|
private stop;
|
|
420
|
-
|
|
394
|
+
reset(): void;
|
|
421
395
|
private showAfkOverlay;
|
|
422
396
|
static ɵfac: i0.ɵɵFactoryDeclaration<AFKService, never>;
|
|
423
397
|
static ɵprov: i0.ɵɵInjectableDeclaration<AFKService>;
|
|
@@ -476,10 +450,11 @@ declare class CommandTelemetryService {
|
|
|
476
450
|
private get sessionTime();
|
|
477
451
|
private get canSkipSending();
|
|
478
452
|
decorate(funcToDecorate: IToBeDecorated): (data: any) => void;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
453
|
+
trackStartCommand(trackingId: string): void;
|
|
454
|
+
trackStopCommand(trackingId: string, multi?: boolean, response?: {
|
|
455
|
+
multi?: boolean;
|
|
456
|
+
} & Record<string, unknown>, timeStampsRaw?: TimeStampsRaw): void;
|
|
457
|
+
reset(): void;
|
|
483
458
|
private pushStatToBuffer;
|
|
484
459
|
private trackTime;
|
|
485
460
|
private send;
|
|
@@ -517,9 +492,26 @@ declare class CommandTelemetryService {
|
|
|
517
492
|
static ɵprov: i0.ɵɵInjectableDeclaration<CommandTelemetryService>;
|
|
518
493
|
}
|
|
519
494
|
type IToBeDecorated = (data: any) => unknown;
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
495
|
+
interface TimeStampsRaw {
|
|
496
|
+
timeStampPak: TimeStampPakCollection;
|
|
497
|
+
timeStampCommand: TimeStampCommandCollection;
|
|
498
|
+
}
|
|
499
|
+
interface TimeStampPakCollection {
|
|
500
|
+
onLoadPak: TimeStampMemory;
|
|
501
|
+
onRenderPak: TimeStampMemory;
|
|
502
|
+
onSequencePak: TimeStampMemory;
|
|
503
|
+
onSpawnPak: TimeStampMemory;
|
|
504
|
+
}
|
|
505
|
+
interface TimeStampMemory {
|
|
506
|
+
timestamp: number;
|
|
507
|
+
ram: number;
|
|
508
|
+
vRam: number;
|
|
509
|
+
}
|
|
510
|
+
interface TimeStampCommandCollection {
|
|
511
|
+
onRequestCommand: TimeStampMemory;
|
|
512
|
+
onStartCommand: TimeStampMemory;
|
|
513
|
+
onCompleteCommand: TimeStampMemory;
|
|
514
|
+
}
|
|
523
515
|
|
|
524
516
|
declare class ConsoleExtensionsService extends SubService {
|
|
525
517
|
#private;
|
|
@@ -644,6 +636,7 @@ declare class SignallingService extends SubService {
|
|
|
644
636
|
private readonly action$;
|
|
645
637
|
private readonly httpClient;
|
|
646
638
|
private readonly regionsPingService;
|
|
639
|
+
private readonly commandTelemetryService;
|
|
647
640
|
readonly region: i0.WritableSignal<string>;
|
|
648
641
|
readonly selectClientAndViewIds: i0.Signal<{
|
|
649
642
|
clientId: string | null;
|
|
@@ -709,8 +702,8 @@ declare class SignallingService extends SubService {
|
|
|
709
702
|
*
|
|
710
703
|
* ### Telemetry semantics
|
|
711
704
|
*
|
|
712
|
-
* - `
|
|
713
|
-
* - `
|
|
705
|
+
* - `trackStartCommand('EXT-getSignaling')` begins before work.
|
|
706
|
+
* - `trackStopCommand('getSignaling', {...})` runs on receipt of an orchestration response.
|
|
714
707
|
* If an attempt fails (e.g., timeout), stopping the span is the responsibility of
|
|
715
708
|
* your telemetry layer or a `finalize` elsewhere if desired.
|
|
716
709
|
*
|
|
@@ -789,12 +782,10 @@ declare class StreamStatusTelemetryService {
|
|
|
789
782
|
}
|
|
790
783
|
|
|
791
784
|
declare class UnrealCommunicatorService {
|
|
792
|
-
private action$;
|
|
793
785
|
private store;
|
|
794
786
|
private commandTelemetryService;
|
|
795
787
|
private freezeFrameService;
|
|
796
788
|
private webRtcPlayerService;
|
|
797
|
-
private videoService;
|
|
798
789
|
private destroy$;
|
|
799
790
|
private cirrusConnected;
|
|
800
791
|
constructor();
|
|
@@ -819,8 +810,6 @@ declare class UnrealCommunicatorService {
|
|
|
819
810
|
private requestInitialSettings;
|
|
820
811
|
private requestQualityControl;
|
|
821
812
|
protected listenVideo(): void;
|
|
822
|
-
private prepareScreen;
|
|
823
|
-
private showPlayOverlay;
|
|
824
813
|
static ɵfac: i0.ɵɵFactoryDeclaration<UnrealCommunicatorService, never>;
|
|
825
814
|
static ɵprov: i0.ɵɵInjectableDeclaration<UnrealCommunicatorService>;
|
|
826
815
|
}
|
|
@@ -837,12 +826,12 @@ declare class VideoService extends SubService {
|
|
|
837
826
|
/**
|
|
838
827
|
* Aggregate video stats and emit it as videoStats$
|
|
839
828
|
*/
|
|
840
|
-
videoStats$: rxjs.Observable<
|
|
829
|
+
videoStats$: rxjs.Observable<AggregatedStat>;
|
|
841
830
|
constructor();
|
|
842
831
|
protected init(): void;
|
|
843
832
|
setContainer(container?: HTMLDivElement | null): void;
|
|
844
833
|
setLatencyTimings(latencyTimings: string): void;
|
|
845
|
-
setEncoder(data:
|
|
834
|
+
setEncoder(data: ArrayBuffer): void;
|
|
846
835
|
create(): void;
|
|
847
836
|
attachVideoStream(stream: MediaStream, pcClient: RTCPeerConnection): void;
|
|
848
837
|
attachAudioStream(stream: MediaStream): void;
|
|
@@ -864,6 +853,7 @@ declare class WebRtcPlayerService extends SubService {
|
|
|
864
853
|
private pcClient;
|
|
865
854
|
private signallingSrv;
|
|
866
855
|
private videoService;
|
|
856
|
+
private commandTelemetryService;
|
|
867
857
|
private cfg;
|
|
868
858
|
private useMic;
|
|
869
859
|
private forceTURN;
|
|
@@ -1022,7 +1012,6 @@ declare class AnalyticsService {
|
|
|
1022
1012
|
sendEventToMixPanel(name: string, params?: Record<string, unknown>): void;
|
|
1023
1013
|
constructor();
|
|
1024
1014
|
private monitorMouse;
|
|
1025
|
-
private getOffset;
|
|
1026
1015
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnalyticsService, never>;
|
|
1027
1016
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnalyticsService>;
|
|
1028
1017
|
}
|
|
@@ -1242,7 +1231,7 @@ interface ObservedCallbackResponse<T extends MetaBoxCommandPacket> {
|
|
|
1242
1231
|
};
|
|
1243
1232
|
}
|
|
1244
1233
|
|
|
1245
|
-
declare function decodeData(anyData:
|
|
1234
|
+
declare function decodeData(anyData: ArrayBuffer): string;
|
|
1246
1235
|
|
|
1247
1236
|
declare const dispatchResize: () => void;
|
|
1248
1237
|
declare const forceResizeUnrealVideo: () => void;
|
|
@@ -1311,10 +1300,9 @@ declare class LatencyTimings {
|
|
|
1311
1300
|
Reset(): void;
|
|
1312
1301
|
SetUETimings(UETimings: any): void;
|
|
1313
1302
|
SetFrameDisplayDeltaTime(DeltaTimeMs: number): void;
|
|
1314
|
-
OnAllLatencyTimingsReady(_: any): void;
|
|
1315
1303
|
}
|
|
1316
1304
|
|
|
1317
|
-
declare
|
|
1305
|
+
declare function qpToQuality(VideoEncoderQP: number): Quality;
|
|
1318
1306
|
|
|
1319
1307
|
declare const trackMixpanelEvent: _ngrx_store.ActionCreator<string, (props: {
|
|
1320
1308
|
event: string;
|
|
@@ -1510,6 +1498,11 @@ declare const commandCompleted: _ngrx_store.ActionCreator<string, (props: {
|
|
|
1510
1498
|
declare const setLoopBackCommandIsCompleted: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1511
1499
|
declare const setAfkTimerVisible: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1512
1500
|
declare const setAfkTimerHide: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1501
|
+
declare const setAfkTimerCountdown: _ngrx_store.ActionCreator<string, (props: {
|
|
1502
|
+
countdown: number;
|
|
1503
|
+
}) => {
|
|
1504
|
+
countdown: number;
|
|
1505
|
+
} & _ngrx_store.Action<string>>;
|
|
1513
1506
|
declare const showUnrealErrorMessage: _ngrx_store.ActionCreator<string, (props: {
|
|
1514
1507
|
code: number | null;
|
|
1515
1508
|
error?: string;
|
|
@@ -1580,6 +1573,7 @@ declare class UnrealEffects {
|
|
|
1580
1573
|
private unrealInitialConfig;
|
|
1581
1574
|
private webRtcPlayerService;
|
|
1582
1575
|
private commandsSender;
|
|
1576
|
+
private readonly commandTelemetryService;
|
|
1583
1577
|
private signallingService;
|
|
1584
1578
|
private videoService;
|
|
1585
1579
|
private dataChannelConnectionTimeout;
|
|
@@ -1711,12 +1705,12 @@ declare const unrealFeature: {
|
|
|
1711
1705
|
name: "unrealFeature";
|
|
1712
1706
|
reducer: _ngrx_store.ActionReducer<_3dsource_angular_unreal_module.UnrealState, _ngrx_store.Action<string>>;
|
|
1713
1707
|
selectUnrealFeatureState: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.UnrealState, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.UnrealState>;
|
|
1708
|
+
selectSsInfo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1714
1709
|
selectLowBandwidth: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1715
1710
|
selectIsVideoPlaying: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1716
1711
|
selectStatusMessage: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1717
1712
|
selectEnvironmentId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1718
1713
|
selectStreamRequestContext: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamRequestContext | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamRequestContext | null>;
|
|
1719
|
-
selectSsInfo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1720
1714
|
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>;
|
|
1721
1715
|
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>;
|
|
1722
1716
|
selectStreamConfig: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamConfig, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamConfig>;
|
|
@@ -1724,6 +1718,7 @@ declare const unrealFeature: {
|
|
|
1724
1718
|
selectWasInitialized: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1725
1719
|
selectIsFirstSuccessLoad: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1726
1720
|
selectIsAfkTimerVisible: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1721
|
+
selectAfkCountdown: _ngrx_store.MemoizedSelector<Record<string, any>, number, (featureState: _3dsource_angular_unreal_module.UnrealState) => number>;
|
|
1727
1722
|
selectCirrusConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1728
1723
|
selectViewportReady: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1729
1724
|
selectFreezeFrameFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.FreezeFrameMessage, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.FreezeFrameMessage>;
|
|
@@ -1768,6 +1763,7 @@ interface UnrealState {
|
|
|
1768
1763
|
wasInitialized: boolean;
|
|
1769
1764
|
isFirstSuccessLoad: boolean;
|
|
1770
1765
|
isAfkTimerVisible: boolean;
|
|
1766
|
+
afkCountdown: number;
|
|
1771
1767
|
cirrusConnected: boolean;
|
|
1772
1768
|
viewportReady: boolean;
|
|
1773
1769
|
freezeFrameFromVideo: FreezeFrameMessage;
|
|
@@ -1812,7 +1808,7 @@ declare const selectStreamConfig: _ngrx_store.MemoizedSelector<Record<string, an
|
|
|
1812
1808
|
declare const selectWarnTimeout: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: _3dsource_angular_unreal_module.StreamConfig) => number>;
|
|
1813
1809
|
declare const selectIsExistMatchUrls: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: string[]) => boolean>;
|
|
1814
1810
|
declare const selectIsAutostart: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: _3dsource_angular_unreal_module.StreamConfig) => boolean>;
|
|
1815
|
-
declare const
|
|
1811
|
+
declare const selectIsShowPopupWithoutAutoStart: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: _3dsource_angular_unreal_module.StreamConfig, s2: boolean) => boolean>;
|
|
1816
1812
|
declare const selectShowReconnectPopup: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
1817
1813
|
declare const selectShowLoader: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
1818
1814
|
declare const selectIsVideoPlayingAndDataChannelConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
@@ -1840,7 +1836,7 @@ declare const selectClientAndViewIds: _ngrx_store.MemoizedSelector<Record<string
|
|
|
1840
1836
|
clientId: string | null;
|
|
1841
1837
|
viewId: string | null;
|
|
1842
1838
|
}>;
|
|
1843
|
-
declare const
|
|
1839
|
+
declare const selectIsLoaderScreenVisible: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean, s3: boolean) => boolean>;
|
|
1844
1840
|
|
|
1845
1841
|
declare const removeExileCommands: (state: CommandsLoaderState, idToRemove: string) => {
|
|
1846
1842
|
commandsInProgress: {
|
|
@@ -1856,15 +1852,6 @@ declare const resetAfk: () => void;
|
|
|
1856
1852
|
|
|
1857
1853
|
declare function fromResizeObserver(elem: HTMLElement): Observable<ResizeObserverEntry[]>;
|
|
1858
1854
|
|
|
1859
|
-
declare class VideoRecorder {
|
|
1860
|
-
private recordedChunks;
|
|
1861
|
-
private mediaRecorder;
|
|
1862
|
-
capture(canvas: any): void;
|
|
1863
|
-
stop(): void;
|
|
1864
|
-
handleDataAvailable(event: any): void;
|
|
1865
|
-
download(): void;
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
1855
|
interface LBMStats {
|
|
1869
1856
|
dataFlowResult: DataFlowCheckResult;
|
|
1870
1857
|
reason: string;
|
|
@@ -2080,56 +2067,28 @@ type TelemetryType = 'commandSent' | 'commandStop';
|
|
|
2080
2067
|
declare const UnrealInternalSignalEvents: {
|
|
2081
2068
|
readonly OnVideoInitialized: "OnVideoInitialized";
|
|
2082
2069
|
readonly RestAfkTimer: "RestAfkTimer";
|
|
2083
|
-
readonly FreezeFrameStart: "FreezeFrameStart";
|
|
2084
2070
|
readonly UnrealCallback: "UnrealCallback";
|
|
2085
|
-
readonly ClickableOverlay: "ClickableOverlay";
|
|
2086
2071
|
readonly VideoPlayClick: "VideoPlayClick";
|
|
2087
2072
|
readonly ShowPlayButton: "ShowPlayButton";
|
|
2088
2073
|
readonly ForceResizeViewport: "ForceResizeViewport";
|
|
2089
2074
|
readonly VideoAdaptedToContainer: "VideoAdaptedToContainer";
|
|
2090
|
-
readonly TelemetryStart: "TelemetryStart";
|
|
2091
|
-
readonly TelemetryStop: "TelemetryStop";
|
|
2092
|
-
readonly TelemetryReset: "TelemetryReset";
|
|
2093
2075
|
};
|
|
2094
2076
|
interface SignalDescriptor {
|
|
2095
2077
|
[UnrealInternalSignalEvents.UnrealCallback]: {
|
|
2096
2078
|
json: UnrealCallBackJson;
|
|
2097
2079
|
};
|
|
2098
|
-
[UnrealInternalSignalEvents.ClickableOverlay]: {
|
|
2099
|
-
message: string;
|
|
2100
|
-
className: string;
|
|
2101
|
-
isActivityDetected: boolean;
|
|
2102
|
-
onOverlayClick: () => void;
|
|
2103
|
-
} | void;
|
|
2104
|
-
[UnrealInternalSignalEvents.VideoPlayClick]: {
|
|
2105
|
-
text: string;
|
|
2106
|
-
};
|
|
2107
2080
|
[UnrealInternalSignalEvents.ForceResizeViewport]: void;
|
|
2108
2081
|
[UnrealInternalSignalEvents.OnVideoInitialized]: HTMLVideoElement;
|
|
2109
2082
|
[UnrealInternalSignalEvents.VideoAdaptedToContainer]: void;
|
|
2110
|
-
[UnrealInternalSignalEvents.ShowPlayButton]:
|
|
2111
|
-
text: string;
|
|
2112
|
-
callback: () => boolean;
|
|
2113
|
-
};
|
|
2083
|
+
[UnrealInternalSignalEvents.ShowPlayButton]: void;
|
|
2114
2084
|
[UnrealInternalSignalEvents.RestAfkTimer]: void;
|
|
2115
|
-
[UnrealInternalSignalEvents.FreezeFrameStart]: void;
|
|
2116
|
-
[UnrealInternalSignalEvents.TelemetryReset]: void;
|
|
2117
|
-
[UnrealInternalSignalEvents.TelemetryStart]: {
|
|
2118
|
-
externalId: string;
|
|
2119
|
-
};
|
|
2120
|
-
[UnrealInternalSignalEvents.TelemetryStop]: {
|
|
2121
|
-
externalId: string;
|
|
2122
|
-
payload?: {
|
|
2123
|
-
multi?: boolean;
|
|
2124
|
-
};
|
|
2125
|
-
};
|
|
2126
2085
|
[key: string]: any;
|
|
2127
2086
|
}
|
|
2128
2087
|
type UnrealCallBackJson = MetaBoxCommandPacket | WrappedMetaBoxCommandPacket;
|
|
2129
2088
|
interface WrappedMetaBoxCommandPacket {
|
|
2130
2089
|
commandCallback: MetaBoxCommandPacket;
|
|
2131
2090
|
}
|
|
2132
|
-
interface
|
|
2091
|
+
interface AggregatedStat {
|
|
2133
2092
|
quality: Quality;
|
|
2134
2093
|
aggregatedStats: InboundVideoStats;
|
|
2135
2094
|
}
|
|
@@ -2171,17 +2130,17 @@ interface AwsInstance {
|
|
|
2171
2130
|
instanceName: string | null;
|
|
2172
2131
|
/**
|
|
2173
2132
|
* Unique identifier for the streaming request.
|
|
2174
|
-
* Coming with new orchestration message "instanceReserved".
|
|
2133
|
+
* Coming with a new orchestration message "instanceReserved".
|
|
2175
2134
|
*/
|
|
2176
2135
|
streamRequestId?: string;
|
|
2177
2136
|
/**
|
|
2178
2137
|
* Estimated time of arrival (in seconds) for the instance to be ready.
|
|
2179
|
-
* Coming with new orchestration message "instanceReserved".
|
|
2138
|
+
* Coming with a new orchestration message "instanceReserved".
|
|
2180
2139
|
*/
|
|
2181
2140
|
eta?: number;
|
|
2182
2141
|
/**
|
|
2183
2142
|
* Progress of completion for the instance launch (0-1).
|
|
2184
|
-
* Based on ETA time comes from backend with new orchestration.
|
|
2143
|
+
* Based on ETA time comes from the backend with new orchestration.
|
|
2185
2144
|
* If eta is not provided, this value will be undefined.
|
|
2186
2145
|
*/
|
|
2187
2146
|
progressComplete?: number;
|
|
@@ -2330,7 +2289,7 @@ declare class LowBandwidthDetectorComponent implements OnInit {
|
|
|
2330
2289
|
|
|
2331
2290
|
declare class SafePipe implements PipeTransform {
|
|
2332
2291
|
private sanitizer;
|
|
2333
|
-
transform(value:
|
|
2292
|
+
transform(value: string, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
|
|
2334
2293
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
|
|
2335
2294
|
static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "safe", true>;
|
|
2336
2295
|
}
|
|
@@ -2339,5 +2298,5 @@ declare function provideAngularUnrealModule(config?: {
|
|
|
2339
2298
|
playwright: boolean;
|
|
2340
2299
|
}): i0.EnvironmentProviders;
|
|
2341
2300
|
|
|
2342
|
-
export { AFKService, AfkPlaywrightService, AggregatorPlaywrightService, AggregatorService, AnalyticsService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY,
|
|
2343
|
-
export type { AnySignalingMessage, AwsInstance, CandidateMessage, CloseReason, CommandsLoaderState, ConfigMessage, ConnectionError, DataFlowCheckResult, DisconnectReasonType,
|
|
2301
|
+
export { AFKService, AfkPlaywrightService, AfkTimeoutModalComponent, AggregatorPlaywrightService, AggregatorService, AnalyticsService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY, CommandTelemetryPlaywrightService, CommandTelemetryService, ConfigHandler, ConsoleExtensionsPlaywrightService, ConsoleExtensionsService, ControlScheme, DATA_CHANNEL_CONNECTION_TIMEOUT, DEBOUNCE_TO_MANY_RESIZE_CALLS, DEFAULT_AFK_TIMEOUT, DEFAULT_AFK_TIMEOUT_PERIOD, DEFAULT_RECONNECT_DELAY_MS, DEFAULT_RECONNECT_ENABLED, DEFAULT_RECONNECT_MAX_ATTEMPTS, DEFAULT_RECONNECT_ON_DATACHANNEL_CLOSE, DEFAULT_RECONNECT_ON_ICE_FAILURE, DataFlowMonitor, DevModeService, DisconnectReason, FULL_HD_HEIGHT, FULL_HD_WIDTH, FileHandlerService, FileReceiverPlaywrightService, FileReceiverService, FilterSettingsComponent, FpsMonitorService, FreezeFrameComponent, FreezeFramePlaywrightService, FreezeFrameService, IceCandidateHandler, ImageLoadingSrcComponent, InputOptions, InputPlaywrightService, InputService, InstanceReadyHandler, InstanceReservedHandler, IntroSrcComponent, KalmanFilter1D, LatencyTimings, LowBandwidthDetectorComponent, LowBandwidthModalComponent, MINIMAL_FPS, MessageType, MouseButton, MouseButtonsMask, OnCloseHandler, OnErrorHandler, OnMessageHandler, OnOpenHandler, OrchestrationMessageTypes, POLLING_TIME, PingHandler, PlayerCountHandler, RegionsPingService, SAME_SIZE_THRESHOLD, SCREEN_LOCKER_CONTAINER_ID, SIGNALLING_PERCENT_VALUE, SSInfoHandler, STREAMING_VIDEO_ID, SafePipe, SignallingPlaywrightService, SignallingService, SpecialKeyCodes, StatGraphComponent, StreamStatusTelemetryPlaywrightService, StreamStatusTelemetryService, SubService, ToClientMessage, UNREAL_CONFIG, UnrealCommunicatorPlaywrightService, UnrealCommunicatorService, UnrealEffects, UnrealInternalSignalEvents, UnrealSceneComponent, UnrealStatusMessage, VideoService, VideoStatsComponent, WSCloseCode_CIRRUS_ABNORMAL_CLOSURE, WSCloseCode_CIRRUS_MAX_PLAYERS_ERROR, WSCloseCode_CIRRUS_PLAYER_DISCONNECTED, WSCloseCode_CIRRUS_STREAMER_KIKED_PLAYER, WSCloseCode_FORCE_CIRRUS_CLOSE, WSCloseCode_NORMAL_AFK_TIMEOUT, WSCloseCode_NORMAL_CLOSURE, WSCloseCode_NORMAL_MANUAL_DISCONNECT, WSCloseCode_UNKNOWN, WSCloseCodes, WS_OPEN_STATE, WS_TIMEOUT, WebRtcPlayerService, WebrtcErrorModalComponent, abortEstablishingConnection, changeLowBandwidth, changeStatusMainVideoOnScene, changeStreamResolutionAction, changeStreamResolutionSuccessAction, commandCompleted, commandStarted, dataChannelConnected, dataChannelReady, decodeData, destroyRemoteConnections, destroyUnrealScene, disconnectStream, dispatchResize, dropConnection, floatToSmoothPercents, forceResizeUnrealVideo, fromResizeObserver, fromSignal, fromUnrealCallBackSignal, getActiveUrl, getImageFromVideoStream, getRtcErrorMessage, iceConnectionFailed, initSignalling, initialState, keepMaxUntilReset, observeCommandResponse, provideAngularUnrealModule, qpToQuality, reconnectPeer, reconnectPeerFailed, reconnectPeerSuccess, removeExileCommands, resetAfk, resetAfkAction, resetConfig, resetDataChannelForReconnect, resetIntroSrc, resetWarnTimeout, saveAnalyticsEvent, selectClientAndViewIds, selectCommandProgress, selectCommandsInProgress, selectFreezeFrameCombinedDataUrl, selectFreezeFrameDataUrl, selectFreezeFrameDataUrlFromVideo, selectFreezeFrameProgressMessageFromVideo, selectIsAutostart, selectIsExistMatchUrls, selectIsFreezeFrameLoading, selectIsLoaderScreenVisible, selectIsShowPopupWithoutAutoStart, selectIsVideoPlayingAndDataChannelConnected, selectLastCommandInProgress, selectLoaderCommands, selectShowLoader, selectShowReconnectPopup, selectSignalingParameters, selectStreamConfig, selectTotalProgress, selectWarnTimeout, sendSignal, setAfkTimerCountdown, setAfkTimerHide, setAfkTimerVisible, setAwsInstance, setCirrusConnected, setCirrusDisconnected, setConfig, setDataChannelConnected, setEstablishingConnection, setFreezeFrame, setFreezeFrameFromVideo, setIntroImageSrc, setIntroVideoSrc, setLoadingImageSrc, setLoopBackCommandIsCompleted, setMaxFps, setOrchestrationContext, setOrchestrationMessage, setOrchestrationParameters, setOrchestrationProgress, setSignalingName, setStatusMessage, setStatusPercentSignallingServer, setStreamClientCompanyId, setStreamViewId, setUnrealPlaywrightConfig, setViewportNotReady, setViewportReady, showUnrealErrorMessage, smoothTransition, startStream, trackMixpanelEvent, unrealFeature, unrealReducer, updateCirrusInfo };
|
|
2302
|
+
export type { AggregatedStat, AnySignalingMessage, AwsInstance, CandidateMessage, CloseReason, CommandsLoaderState, ConfigMessage, ConnectionError, ControlSchemeValues, DataFlowCheckResult, DisconnectReasonType, ForceClientDisconnect, FreezeFrameMessage, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, InterruptClientStream, LBMStats, ListStreamersMessage, MessageBase, MessageTypeValues, NormalizeAndQuantizeSignedValue, NormalizeAndQuantizeUnsignedValue, ObservedCallbackResponse, OrchestrationErrorMessage, OrchestrationMessageType, P2PEstablishedMessage, PingMessage, PlayerCountMessage, PollingOrchestrationMessage, Quality, ReceivedFile, ReconnectConfig, RequestStream, SSInfo, SignalDescriptor, SignalingData, SignalingMessageHandler, SignalingMessageMap, StreamConfig, StreamRequestContext, StreamResolutionProps, StreamerListMessage, TelemetryType, UnknownFields, UnquantizeAndDenormalizeUnsignedValue, UnrealCallBackJson, UnrealInitialConfig, UnrealState, WSCloseCodesValues, WrappedMetaBoxCommandPacket, streamPreparedForUserInteractionMessage };
|