@3dsource/angular-unreal-module 0.0.112 → 0.0.113-dev.1
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef,
|
|
2
|
+
import { ElementRef, InjectionToken, DestroyRef, OnInit, PipeTransform } from '@angular/core';
|
|
3
|
+
import * as _3dsource_angular_unreal_module from '@3dsource/angular-unreal-module';
|
|
3
4
|
import * as rxjs from 'rxjs';
|
|
4
5
|
import { Observable, Subject, Subscription } from 'rxjs';
|
|
5
|
-
import * as _3dsource_angular_unreal_module from '@3dsource/angular-unreal-module';
|
|
6
6
|
import * as _ngrx_store from '@ngrx/store';
|
|
7
7
|
import { Store } from '@ngrx/store';
|
|
8
8
|
import * as _ngrx_effects from '@ngrx/effects';
|
|
@@ -14,7 +14,9 @@ import { MetaBoxCommandPacket, MetaBoxCommandList, FSceneState, FProductPayload,
|
|
|
14
14
|
declare class AfkTimeoutModalComponent {
|
|
15
15
|
#private;
|
|
16
16
|
readonly isAfkTimerVisible: i0.Signal<boolean>;
|
|
17
|
+
readonly showAfkTimeoutPopup: i0.Signal<boolean>;
|
|
17
18
|
readonly afkCountdown: i0.Signal<number>;
|
|
19
|
+
readonly isShowAfkPopup: i0.Signal<boolean>;
|
|
18
20
|
resetAfk(): void;
|
|
19
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AfkTimeoutModalComponent, never>;
|
|
20
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<AfkTimeoutModalComponent, "app-afk-timeout-modal", never, {}, {}, never, never, true, never>;
|
|
@@ -39,7 +41,7 @@ declare class ImageLoadingSrcComponent {
|
|
|
39
41
|
#private;
|
|
40
42
|
readonly isLoaderScreenVisible: i0.Signal<boolean>;
|
|
41
43
|
readonly imageLoadingSrc: i0.Signal<string>;
|
|
42
|
-
|
|
44
|
+
loadingImageError(): void;
|
|
43
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLoadingSrcComponent, never>;
|
|
44
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageLoadingSrcComponent, "app-image-loading-src", never, {}, {}, never, never, true, never>;
|
|
45
47
|
}
|
|
@@ -70,34 +72,30 @@ declare class StatGraphComponent {
|
|
|
70
72
|
|
|
71
73
|
declare class UnrealSceneComponent {
|
|
72
74
|
#private;
|
|
73
|
-
readonly isStudio: i0.InputSignal<boolean>;
|
|
74
75
|
readonly useContainerAsSizeProvider: i0.InputSignal<boolean>;
|
|
75
|
-
readonly
|
|
76
|
-
|
|
77
|
-
height: number;
|
|
78
|
-
}>;
|
|
79
|
-
studioResolutionValues: rxjs.Observable<{
|
|
76
|
+
readonly isStudio: i0.InputSignal<boolean>;
|
|
77
|
+
readonly resolutionSize: i0.InputSignal<{
|
|
80
78
|
width: number;
|
|
81
79
|
height: number;
|
|
82
80
|
}>;
|
|
81
|
+
readonly changeMouseOverScene: i0.OutputEmitterRef<boolean>;
|
|
83
82
|
readonly videoElement: i0.Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
84
|
-
|
|
83
|
+
private readonly resolutionValues$;
|
|
85
84
|
private width;
|
|
86
85
|
private height;
|
|
87
86
|
private readonly actions$;
|
|
88
|
-
private isExistMatchUrls;
|
|
87
|
+
private readonly isExistMatchUrls;
|
|
89
88
|
readonly isDevMode: boolean;
|
|
90
|
-
readonly
|
|
91
|
-
private isFreezeFrameLoading;
|
|
89
|
+
private readonly isFreezeFrameLoading;
|
|
92
90
|
private readonly maxResolution;
|
|
93
|
-
private commandsSender;
|
|
94
|
-
private videoService;
|
|
95
|
-
private
|
|
96
|
-
private destroyRef;
|
|
91
|
+
private readonly commandsSender;
|
|
92
|
+
private readonly videoService;
|
|
93
|
+
private readonly destroyRef;
|
|
97
94
|
private get resizeValues();
|
|
98
95
|
private get pixelRatio();
|
|
99
96
|
onMouseOver(): void;
|
|
100
97
|
onMouseOut(): void;
|
|
98
|
+
onContextMenu(event: Event): void;
|
|
101
99
|
constructor();
|
|
102
100
|
private listenResizeValues;
|
|
103
101
|
private adaptVideo;
|
|
@@ -105,7 +103,7 @@ declare class UnrealSceneComponent {
|
|
|
105
103
|
private getResizeStudioValues;
|
|
106
104
|
private sendResize;
|
|
107
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<UnrealSceneComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UnrealSceneComponent, "app-unreal-scene", never, { "
|
|
106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UnrealSceneComponent, "app-unreal-scene", never, { "useContainerAsSizeProvider": { "alias": "useContainerAsSizeProvider"; "required": false; "isSignal": true; }; "isStudio": { "alias": "isStudio"; "required": false; "isSignal": true; }; "resolutionSize": { "alias": "resolutionSize"; "required": false; "isSignal": true; }; }, { "changeMouseOverScene": "changeMouseOverScene"; }, never, ["app-pdf", "app-show-case"], true, never>;
|
|
109
107
|
}
|
|
110
108
|
|
|
111
109
|
declare class IntroSrcComponent {
|
|
@@ -115,8 +113,8 @@ declare class IntroSrcComponent {
|
|
|
115
113
|
protected videoIntroSrc: i0.Signal<string | null>;
|
|
116
114
|
private viewportReady;
|
|
117
115
|
constructor();
|
|
116
|
+
loadingImageError(): void;
|
|
118
117
|
private createVideo;
|
|
119
|
-
imageError(): void;
|
|
120
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<IntroSrcComponent, never>;
|
|
121
119
|
static ɵcmp: i0.ɵɵComponentDeclaration<IntroSrcComponent, "app-intro-src", never, {}, {}, never, never, true, never>;
|
|
122
120
|
}
|
|
@@ -128,14 +126,14 @@ interface GraphListItem {
|
|
|
128
126
|
value: number;
|
|
129
127
|
}>;
|
|
130
128
|
}
|
|
131
|
-
declare class VideoStatsComponent
|
|
129
|
+
declare class VideoStatsComponent {
|
|
132
130
|
readonly collapsed: i0.WritableSignal<boolean>;
|
|
133
|
-
private store;
|
|
134
|
-
private videoService;
|
|
135
|
-
private isDevMode;
|
|
136
|
-
private obs$;
|
|
131
|
+
private readonly store;
|
|
132
|
+
private readonly videoService;
|
|
133
|
+
private readonly isDevMode;
|
|
134
|
+
private readonly obs$;
|
|
137
135
|
readonly viewportReady: i0.Signal<boolean>;
|
|
138
|
-
readonly
|
|
136
|
+
readonly ssData: i0.Signal<string>;
|
|
139
137
|
readonly fpsTick: i0.Signal<{
|
|
140
138
|
value: number;
|
|
141
139
|
} | undefined>;
|
|
@@ -164,18 +162,15 @@ declare class VideoStatsComponent implements OnInit {
|
|
|
164
162
|
};
|
|
165
163
|
} | null | undefined;
|
|
166
164
|
}[] | undefined>;
|
|
167
|
-
fields: string[];
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
private
|
|
171
|
-
|
|
172
|
-
private trigger$;
|
|
165
|
+
readonly fields: string[];
|
|
166
|
+
private readonly elementsToShow;
|
|
167
|
+
private readonly idKey;
|
|
168
|
+
private readonly graphListItems;
|
|
169
|
+
readonly graphList: i0.Signal<GraphListItem[]>;
|
|
173
170
|
constructor();
|
|
174
|
-
ngOnInit(): void;
|
|
175
|
-
updateGraph(): void;
|
|
176
171
|
toggle(): void;
|
|
177
172
|
toggleGraph($event: MouseEvent, el: string, value?: unknown): void;
|
|
178
|
-
private
|
|
173
|
+
private restoreFromStorage;
|
|
179
174
|
private writeFields;
|
|
180
175
|
static ɵfac: i0.ɵɵFactoryDeclaration<VideoStatsComponent, never>;
|
|
181
176
|
static ɵcmp: i0.ɵɵComponentDeclaration<VideoStatsComponent, "app-video-stats", never, {}, {}, never, never, true, never>;
|
|
@@ -184,8 +179,8 @@ declare class VideoStatsComponent implements OnInit {
|
|
|
184
179
|
declare class WebrtcErrorModalComponent {
|
|
185
180
|
#private;
|
|
186
181
|
readonly isCirrusConnected: i0.Signal<boolean>;
|
|
187
|
-
close(): void;
|
|
188
182
|
closeModalWithCirrusDisconnect(): void;
|
|
183
|
+
private close;
|
|
189
184
|
static ɵfac: i0.ɵɵFactoryDeclaration<WebrtcErrorModalComponent, never>;
|
|
190
185
|
static ɵcmp: i0.ɵɵComponentDeclaration<WebrtcErrorModalComponent, "app-webrtc-error-modal", never, {}, {}, never, never, true, never>;
|
|
191
186
|
}
|
|
@@ -340,10 +335,15 @@ declare const UNREAL_CONFIG: InjectionToken<UnrealInitialConfig>;
|
|
|
340
335
|
|
|
341
336
|
declare const InputOptions: InputProps;
|
|
342
337
|
|
|
338
|
+
/** Disconnect reasons that should trigger remote connection cleanup. */
|
|
339
|
+
declare const DESTROY_DISCONNECT_REASONS: DisconnectReasonType[];
|
|
340
|
+
|
|
343
341
|
declare const DEBOUNCE_TO_MANY_RESIZE_CALLS = 100;
|
|
344
342
|
declare const SAME_SIZE_THRESHOLD = 1.01;
|
|
343
|
+
declare const MIN_CONTAINER_SIZE = 2;
|
|
345
344
|
declare const MINIMAL_FPS = 6;
|
|
346
345
|
declare const STREAMING_VIDEO_ID = "streamingVideo";
|
|
346
|
+
declare const STREAMING_AUDIO_ID = "streamingAudio";
|
|
347
347
|
declare const CONSOLE_COMMAND_ENABLE_MESSAGES = "EnableAllScreenMessages";
|
|
348
348
|
declare const CONSOLE_COMMAND_DISABLE_MESSAGES = "DisableAllScreenMessages";
|
|
349
349
|
declare const CONSOLE_COMMAND_PIXEL_QUALITY = "PixelStreaming.FreezeFrameQuality 95";
|
|
@@ -353,7 +353,7 @@ declare const WS_TIMEOUT = 2000;
|
|
|
353
353
|
declare const POLLING_TIME = 4000;
|
|
354
354
|
declare const WS_OPEN_STATE = 1;
|
|
355
355
|
declare const DEFAULT_AFK_TIMEOUT_PERIOD = 15;
|
|
356
|
-
declare const DEFAULT_AFK_TIMEOUT =
|
|
356
|
+
declare const DEFAULT_AFK_TIMEOUT = 10;
|
|
357
357
|
declare const DATA_CHANNEL_CONNECTION_TIMEOUT = 8000;
|
|
358
358
|
declare const SIGNALLING_PERCENT_VALUE = 56;
|
|
359
359
|
declare const SCREEN_LOCKER_CONTAINER_ID = "3dsource_start_screen";
|
|
@@ -385,13 +385,219 @@ interface InputProps {
|
|
|
385
385
|
suppressBrowserKeys: boolean;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
+
type Quality = 'lime' | 'red' | 'orange';
|
|
389
|
+
|
|
390
|
+
interface SignalingData {
|
|
391
|
+
instanceType: string;
|
|
392
|
+
branchInfo: string;
|
|
393
|
+
cirrusVersion: string;
|
|
394
|
+
streamerVersion: string;
|
|
395
|
+
streamPath: string;
|
|
396
|
+
streamApp: string;
|
|
397
|
+
connectionId: string;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
declare const OrchestrationMessageTypes: {
|
|
401
|
+
readonly ping: "ping";
|
|
402
|
+
readonly error: "error";
|
|
403
|
+
readonly offer: "offer";
|
|
404
|
+
readonly answer: "answer";
|
|
405
|
+
readonly ssInfo: "ssInfo";
|
|
406
|
+
readonly config: "config";
|
|
407
|
+
readonly playerCount: "playerCount";
|
|
408
|
+
readonly iceCandidate: "iceCandidate";
|
|
409
|
+
readonly streamerList: "streamerList";
|
|
410
|
+
readonly requestStream: "requestStream";
|
|
411
|
+
readonly listStreamers: "listStreamers";
|
|
412
|
+
readonly instanceReady: "instanceReady";
|
|
413
|
+
readonly p2pEstablished: "p2pEstablished";
|
|
414
|
+
readonly instanceReserved: "instanceReserved";
|
|
415
|
+
readonly playerDisconnected: "playerDisconnected";
|
|
416
|
+
readonly streamPreparedForUserInteraction: "streamPreparedForUserInteraction";
|
|
417
|
+
readonly streamerDisconnected: "streamerDisconnected";
|
|
418
|
+
readonly interruptClientStream: "interruptClientStream";
|
|
419
|
+
};
|
|
420
|
+
interface InstanceReady extends InstanceMessageBase {
|
|
421
|
+
type: 'instanceReady';
|
|
422
|
+
}
|
|
423
|
+
interface InstanceReserved extends InstanceMessageBase {
|
|
424
|
+
type: 'instanceReserved';
|
|
425
|
+
}
|
|
426
|
+
interface OrchestrationErrorMessage {
|
|
427
|
+
type: 'error';
|
|
428
|
+
payload: {
|
|
429
|
+
code: number;
|
|
430
|
+
message: string;
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
interface InstanceMessageBase extends MessageBase {
|
|
434
|
+
correlationId: string;
|
|
435
|
+
payload: {
|
|
436
|
+
instanceId: string;
|
|
437
|
+
streamRequestId: string;
|
|
438
|
+
eta: number;
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
interface MessageBase {
|
|
442
|
+
type: OrchestrationMessageType;
|
|
443
|
+
}
|
|
444
|
+
interface SSInfo extends MessageBase {
|
|
445
|
+
type: 'ssInfo';
|
|
446
|
+
message: string;
|
|
447
|
+
data: SignalingData;
|
|
448
|
+
}
|
|
449
|
+
interface PlayerCountMessage extends MessageBase {
|
|
450
|
+
type: 'playerCount';
|
|
451
|
+
playerCount: number;
|
|
452
|
+
}
|
|
453
|
+
interface StreamerListMessage extends MessageBase {
|
|
454
|
+
type: 'streamerList';
|
|
455
|
+
ids: string[];
|
|
456
|
+
}
|
|
457
|
+
interface ConfigMessage extends MessageBase, UnknownFields {
|
|
458
|
+
type: 'config';
|
|
459
|
+
peerConnectionOptions: RTCConfiguration;
|
|
460
|
+
}
|
|
461
|
+
interface CandidateMessage extends MessageBase {
|
|
462
|
+
type: 'iceCandidate';
|
|
463
|
+
candidate: RTCIceCandidate;
|
|
464
|
+
}
|
|
465
|
+
interface PingMessage extends MessageBase {
|
|
466
|
+
type: 'ping';
|
|
467
|
+
playerId: string;
|
|
468
|
+
appConnectionCounter: number;
|
|
469
|
+
}
|
|
470
|
+
type UnknownFields = Record<string, unknown>;
|
|
471
|
+
interface InterruptClientStream extends MessageBase {
|
|
472
|
+
type: 'interruptClientStream';
|
|
473
|
+
correlationId: string;
|
|
474
|
+
payload: {
|
|
475
|
+
environmentId: string;
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
interface ForceClientDisconnect extends MessageBase {
|
|
479
|
+
type: 'streamerDisconnected' | 'playerDisconnected';
|
|
480
|
+
connectionId: string;
|
|
481
|
+
}
|
|
482
|
+
interface ListStreamersMessage extends MessageBase {
|
|
483
|
+
type: 'listStreamers';
|
|
484
|
+
correlationId: string;
|
|
485
|
+
}
|
|
486
|
+
interface P2PEstablishedMessage extends MessageBase {
|
|
487
|
+
type: 'p2pEstablished';
|
|
488
|
+
source: string;
|
|
489
|
+
sessionId: string;
|
|
490
|
+
}
|
|
491
|
+
interface streamPreparedForUserInteractionMessage extends MessageBase {
|
|
492
|
+
type: 'streamPreparedForUserInteraction';
|
|
493
|
+
correlationId: string;
|
|
494
|
+
}
|
|
495
|
+
interface RequestStream extends MessageBase {
|
|
496
|
+
type: 'requestStream';
|
|
497
|
+
correlationId: string;
|
|
498
|
+
payload: {
|
|
499
|
+
environmentId: string;
|
|
500
|
+
region?: string;
|
|
501
|
+
/**
|
|
502
|
+
* The context field is used for plugins of the external
|
|
503
|
+
* applications for collecting additional statistics, etc.
|
|
504
|
+
*/
|
|
505
|
+
context: StreamRequestContext;
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
interface MetaboxBasicConfiguratorContext {
|
|
509
|
+
id: 'metaboxBasicConfigurator';
|
|
510
|
+
data: {
|
|
511
|
+
configuratorId: string;
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
interface MetaboxModularConfiguratorContext {
|
|
515
|
+
id: 'metaboxModularConfigurator';
|
|
516
|
+
data: {
|
|
517
|
+
configuratorId: string;
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
interface MetaboxProductContext {
|
|
521
|
+
id: 'metaboxProduct';
|
|
522
|
+
data: {
|
|
523
|
+
productId: string;
|
|
524
|
+
};
|
|
525
|
+
}
|
|
526
|
+
interface MetaboxEnvironmentContext {
|
|
527
|
+
id: 'metaboxEnvironment';
|
|
528
|
+
data: {
|
|
529
|
+
environmentId: string;
|
|
530
|
+
};
|
|
531
|
+
}
|
|
532
|
+
interface MetaboxStudioContext {
|
|
533
|
+
id: 'metaboxStudio';
|
|
534
|
+
data: {
|
|
535
|
+
userId: string;
|
|
536
|
+
workspaceId: string;
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
interface CustomApplicationContext {
|
|
540
|
+
id: 'customApplication';
|
|
541
|
+
data: {
|
|
542
|
+
clientId: string;
|
|
543
|
+
applicationId: string;
|
|
544
|
+
};
|
|
545
|
+
}
|
|
546
|
+
type StreamRequestContext = MetaboxStudioContext | MetaboxProductContext | CustomApplicationContext | MetaboxEnvironmentContext | MetaboxBasicConfiguratorContext | MetaboxModularConfiguratorContext;
|
|
547
|
+
interface SignalingMessageMap {
|
|
548
|
+
[OrchestrationMessageTypes.ping]: PingMessage;
|
|
549
|
+
[OrchestrationMessageTypes.offer]: RTCSessionDescriptionInit;
|
|
550
|
+
[OrchestrationMessageTypes.error]: OrchestrationErrorMessage;
|
|
551
|
+
[OrchestrationMessageTypes.ssInfo]: SSInfo;
|
|
552
|
+
[OrchestrationMessageTypes.config]: ConfigMessage;
|
|
553
|
+
[OrchestrationMessageTypes.answer]: RTCSessionDescriptionInit;
|
|
554
|
+
[OrchestrationMessageTypes.playerCount]: PlayerCountMessage;
|
|
555
|
+
[OrchestrationMessageTypes.iceCandidate]: CandidateMessage;
|
|
556
|
+
[OrchestrationMessageTypes.streamerList]: StreamerListMessage;
|
|
557
|
+
[OrchestrationMessageTypes.instanceReady]: InstanceReady;
|
|
558
|
+
[OrchestrationMessageTypes.requestStream]: RequestStream;
|
|
559
|
+
[OrchestrationMessageTypes.listStreamers]: ListStreamersMessage;
|
|
560
|
+
[OrchestrationMessageTypes.p2pEstablished]: P2PEstablishedMessage;
|
|
561
|
+
[OrchestrationMessageTypes.instanceReserved]: InstanceReserved;
|
|
562
|
+
[OrchestrationMessageTypes.playerDisconnected]: ForceClientDisconnect;
|
|
563
|
+
[OrchestrationMessageTypes.streamPreparedForUserInteraction]: streamPreparedForUserInteractionMessage;
|
|
564
|
+
[OrchestrationMessageTypes.streamerDisconnected]: ForceClientDisconnect;
|
|
565
|
+
[OrchestrationMessageTypes.interruptClientStream]: InterruptClientStream;
|
|
566
|
+
}
|
|
567
|
+
type OrchestrationMessageType = keyof SignalingMessageMap;
|
|
568
|
+
type AnySignalingMessage = SignalingMessageMap[OrchestrationMessageType] | string;
|
|
569
|
+
type SignalingMessageHandler<T extends keyof SignalingMessageMap> = (msg: SignalingMessageMap[T]) => void;
|
|
570
|
+
interface PollingOrchestrationMessage {
|
|
571
|
+
mm_message?: string;
|
|
572
|
+
signallingServer?: string;
|
|
573
|
+
error?: string;
|
|
574
|
+
info?: {
|
|
575
|
+
age: number | null;
|
|
576
|
+
left: number | null;
|
|
577
|
+
percent: number | null;
|
|
578
|
+
total: number | null;
|
|
579
|
+
};
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
interface StreamConfig {
|
|
583
|
+
autoStart: boolean;
|
|
584
|
+
warnTimeout: number;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
interface StreamResolutionProps {
|
|
588
|
+
width: number | null;
|
|
589
|
+
height: number | null;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
type TelemetryType = 'commandSent' | 'commandStop';
|
|
593
|
+
|
|
388
594
|
declare class SubService {
|
|
389
595
|
protected readonly destroyRef: DestroyRef;
|
|
390
596
|
protected readonly destroy$: Subject<void>;
|
|
391
|
-
actions$: Actions<any>;
|
|
392
|
-
store: Store<any>;
|
|
597
|
+
protected readonly actions$: Actions<any>;
|
|
598
|
+
protected readonly store: Store<any>;
|
|
393
599
|
disconnect$: rxjs.Observable<false>;
|
|
394
|
-
|
|
600
|
+
constructor();
|
|
395
601
|
}
|
|
396
602
|
|
|
397
603
|
declare class AFKService extends SubService {
|
|
@@ -406,6 +612,8 @@ declare class AFKService extends SubService {
|
|
|
406
612
|
private readonly afkResetTrigger;
|
|
407
613
|
/** Ticks when cirrus disconnects */
|
|
408
614
|
private readonly disconnected;
|
|
615
|
+
/** Ticks when resetUserInactivityTimeout action fires */
|
|
616
|
+
private readonly resetUserInactivityTrigger;
|
|
409
617
|
constructor();
|
|
410
618
|
private hideOverlay;
|
|
411
619
|
/**
|
|
@@ -429,6 +637,14 @@ declare class AFKService extends SubService {
|
|
|
429
637
|
static ɵprov: i0.ɵɵInjectableDeclaration<AFKService>;
|
|
430
638
|
}
|
|
431
639
|
|
|
640
|
+
declare class LoadingProgressService {
|
|
641
|
+
#private;
|
|
642
|
+
readonly loaderVisible: i0.Signal<boolean>;
|
|
643
|
+
readonly percents: i0.Signal<number | undefined>;
|
|
644
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingProgressService, never>;
|
|
645
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingProgressService>;
|
|
646
|
+
}
|
|
647
|
+
|
|
432
648
|
declare class AggregatorService extends SubService {
|
|
433
649
|
private readonly selectStreamConfig;
|
|
434
650
|
private readonly videoService;
|
|
@@ -445,7 +661,6 @@ declare class AggregatorService extends SubService {
|
|
|
445
661
|
protected listenWebRTC(): void;
|
|
446
662
|
protected initialize(): void;
|
|
447
663
|
private addResponseEventListener;
|
|
448
|
-
private showOnScreenKeyboard;
|
|
449
664
|
private removeLoadScreen;
|
|
450
665
|
private startListenCallbacks;
|
|
451
666
|
private showMessageFromUnreal;
|
|
@@ -580,9 +795,9 @@ declare class FreezeFrameService extends SubService {
|
|
|
580
795
|
}
|
|
581
796
|
|
|
582
797
|
declare class InputService extends SubService {
|
|
583
|
-
private commandsSender;
|
|
584
|
-
private isDevMode;
|
|
585
|
-
private videoService;
|
|
798
|
+
private readonly commandsSender;
|
|
799
|
+
private readonly isDevMode;
|
|
800
|
+
private readonly videoService;
|
|
586
801
|
private readonly unrealConfig;
|
|
587
802
|
readonly defaultKeys: (17 | 37 | 38 | 39 | 40 | 46 | 65 | 68 | 83 | 87 | 107 | 109 | 187 | 189)[];
|
|
588
803
|
private availableKeys;
|
|
@@ -591,10 +806,10 @@ declare class InputService extends SubService {
|
|
|
591
806
|
private deactivatedVideoTrigger$;
|
|
592
807
|
private normalizeAndQuantizeUnsigned;
|
|
593
808
|
private normalizeAndQuantizeSigned;
|
|
594
|
-
videoBoundingRect
|
|
595
|
-
fingerIds
|
|
596
|
-
maxByteValue
|
|
597
|
-
fingers
|
|
809
|
+
private videoBoundingRect;
|
|
810
|
+
private fingerIds;
|
|
811
|
+
private maxByteValue;
|
|
812
|
+
private fingers;
|
|
598
813
|
private offsetParams;
|
|
599
814
|
constructor();
|
|
600
815
|
protected init(): void;
|
|
@@ -704,7 +919,7 @@ declare class SignallingService extends SubService {
|
|
|
704
919
|
*
|
|
705
920
|
* 1. **Telemetry** — Starts a `getSignaling` span for end-to-end timing.
|
|
706
921
|
* 2. **Candidate URL selection** — A stateful generator (`urlGen`) is created
|
|
707
|
-
* from `urlsPool`. Each resubscription (e.g
|
|
922
|
+
* from `urlsPool`. Each resubscription (e.g., via `retry`) advances to the next URL.
|
|
708
923
|
* 3. **Short-circuit for WS URLs** — If the picked candidate already matches
|
|
709
924
|
* `ws://` or `wss://`, emit `{ wsUrl, pollingUrl: null, instanceName: null }`
|
|
710
925
|
* immediately and complete (no HTTP request).
|
|
@@ -716,7 +931,7 @@ declare class SignallingService extends SubService {
|
|
|
716
931
|
* while the request is in flight are **ignored** until completion, preventing overlap.
|
|
717
932
|
* 6. **Per-attempt timeout** — `timeout(WS_TIMEOUT)` caps how long we wait for a response.
|
|
718
933
|
* On timeout, the attempt errors and the outer `retry` schedules the next URL.
|
|
719
|
-
* 7. **Response validation
|
|
934
|
+
* 7. **Response validation and progress reporting** — A `filter`:
|
|
720
935
|
* - Calls `TelemetryStop('getSignaling', { ...data, multi: true })` on receipt.
|
|
721
936
|
* - If `data.signallingServer === ''` or `data.error`:
|
|
722
937
|
* shows a status message, optionally dispatches `setStatusPercentSignallingServer`
|
|
@@ -733,7 +948,7 @@ declare class SignallingService extends SubService {
|
|
|
733
948
|
*
|
|
734
949
|
* ### Concurrency semantics
|
|
735
950
|
*
|
|
736
|
-
* - `exhaustMap` guarantees a **single** HTTP request per attempt;
|
|
951
|
+
* - `exhaustMap` guarantees a **single** HTTP request per attempt; later
|
|
737
952
|
* `{clientId, viewId}` emissions are ignored until the current request completes.
|
|
738
953
|
*
|
|
739
954
|
* ### Telemetry semantics
|
|
@@ -767,7 +982,7 @@ declare class SignallingService extends SubService {
|
|
|
767
982
|
* @remarks
|
|
768
983
|
* - The URL generator (`urlGen`) is created **outside** `defer`, so resubscriptions
|
|
769
984
|
* advance the pool. Creating it inside `defer` would restart from the first URL each retry.
|
|
770
|
-
* - `location.protocol` is used to derive `ws` vs `wss`. If this may run in non-browser
|
|
985
|
+
* - `location.protocol` is used to derive `ws` vs. `wss`. If this may run in non-browser
|
|
771
986
|
* contexts (e.g., SSR), guard or abstract this logic.
|
|
772
987
|
* - Consider capping retries with `count` in `retry({ count, delay })` when appropriate.
|
|
773
988
|
*
|
|
@@ -976,10 +1191,10 @@ declare class StreamStatusTelemetryService2 {
|
|
|
976
1191
|
}
|
|
977
1192
|
|
|
978
1193
|
declare class UnrealCommunicatorService {
|
|
979
|
-
private store;
|
|
980
|
-
private actions$;
|
|
981
|
-
private commandTelemetryService;
|
|
982
|
-
private webRtcPlayerService;
|
|
1194
|
+
private readonly store;
|
|
1195
|
+
private readonly actions$;
|
|
1196
|
+
private readonly commandTelemetryService;
|
|
1197
|
+
private readonly webRtcPlayerService;
|
|
983
1198
|
private readonly unrealConfig;
|
|
984
1199
|
private destroy$;
|
|
985
1200
|
private cirrusConnected;
|
|
@@ -1047,9 +1262,9 @@ declare class WebRtcPlayerService extends SubService {
|
|
|
1047
1262
|
onDataChannelMessage$: Subject<ArrayBuffer>;
|
|
1048
1263
|
private pcClient;
|
|
1049
1264
|
private dcClient;
|
|
1050
|
-
private signallingSrv;
|
|
1051
|
-
private videoService;
|
|
1052
|
-
private commandTelemetryService;
|
|
1265
|
+
private readonly signallingSrv;
|
|
1266
|
+
private readonly videoService;
|
|
1267
|
+
private readonly commandTelemetryService;
|
|
1053
1268
|
private cfg;
|
|
1054
1269
|
private useMic;
|
|
1055
1270
|
private forceTURN;
|
|
@@ -1100,7 +1315,7 @@ declare class WebRtcPlayerService extends SubService {
|
|
|
1100
1315
|
* RFC 6184 that encodes three H.264 parameters:
|
|
1101
1316
|
* - **Profile IDC** (`XX`) — the H.264 profile.
|
|
1102
1317
|
* - **Profile IOP** (`YY`) — constraint flags that further narrow the profile.
|
|
1103
|
-
* - **Level IDC** (`ZZ`) — the level
|
|
1318
|
+
* - **Level IDC** (`ZZ`) — the level which caps resolution/framerate/bitrate.
|
|
1104
1319
|
*
|
|
1105
1320
|
* ### H.264 profiles relevant to Unreal Engine Pixel Streaming
|
|
1106
1321
|
*
|
|
@@ -1118,12 +1333,12 @@ declare class WebRtcPlayerService extends SubService {
|
|
|
1118
1333
|
* | `f4001f` | High 4:4:4 Predictive | 3.1 | Lossless capable; rare in browsers |
|
|
1119
1334
|
*
|
|
1120
1335
|
* UE Pixel Streaming defaults to Constrained Baseline (`42e01f`) or High (`6400xx`)
|
|
1121
|
-
* depending on engine version and `WebRTC.H264Profile` CVar.
|
|
1336
|
+
* depending on the engine version and `WebRTC.H264Profile` CVar.
|
|
1122
1337
|
*
|
|
1123
1338
|
* We prioritize `42e01f` because it guarantees hardware decoding on
|
|
1124
1339
|
* virtually all client devices (desktop, mobile, embedded), avoiding
|
|
1125
1340
|
* fallback to software decoding or negotiation of a higher profile
|
|
1126
|
-
* that the client GPU may not
|
|
1341
|
+
* that the client GPU may not speed up.
|
|
1127
1342
|
*/
|
|
1128
1343
|
private prioritizeH264Profile;
|
|
1129
1344
|
private mungeSDP;
|
|
@@ -1647,21 +1862,6 @@ declare function getResizeValuesUniversal(params: {
|
|
|
1647
1862
|
maxResolution: boolean;
|
|
1648
1863
|
}): Area;
|
|
1649
1864
|
|
|
1650
|
-
declare function getResizeValuesUniversalOld(params: {
|
|
1651
|
-
pixelRatio: number;
|
|
1652
|
-
containerWidth: number;
|
|
1653
|
-
containerHeight: number;
|
|
1654
|
-
maxResolution: boolean;
|
|
1655
|
-
}): Area;
|
|
1656
|
-
declare function getResizeStudioValuesOld(params: {
|
|
1657
|
-
pixelRatio: number;
|
|
1658
|
-
containerWidth: number;
|
|
1659
|
-
containerHeight: number;
|
|
1660
|
-
studioWidth: number;
|
|
1661
|
-
studioHeight: number;
|
|
1662
|
-
maxResolution: boolean;
|
|
1663
|
-
}): Area;
|
|
1664
|
-
|
|
1665
1865
|
/**
|
|
1666
1866
|
* Rounds a number to the nearest even integer (rounding up for odd values).
|
|
1667
1867
|
*
|
|
@@ -1678,221 +1878,9 @@ declare function getResizeStudioValuesOld(params: {
|
|
|
1678
1878
|
*/
|
|
1679
1879
|
declare function makeEven(value: number): number;
|
|
1680
1880
|
|
|
1681
|
-
interface
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
triggerTime: number;
|
|
1685
|
-
}
|
|
1686
|
-
|
|
1687
|
-
type Quality = 'lime' | 'red' | 'orange';
|
|
1688
|
-
|
|
1689
|
-
interface SignalingData {
|
|
1690
|
-
instanceType: string;
|
|
1691
|
-
branchInfo: string;
|
|
1692
|
-
cirrusVersion: string;
|
|
1693
|
-
streamerVersion: string;
|
|
1694
|
-
streamPath: string;
|
|
1695
|
-
streamApp: string;
|
|
1696
|
-
connectionId: string;
|
|
1697
|
-
}
|
|
1698
|
-
|
|
1699
|
-
declare const OrchestrationMessageTypes: {
|
|
1700
|
-
readonly ping: "ping";
|
|
1701
|
-
readonly error: "error";
|
|
1702
|
-
readonly offer: "offer";
|
|
1703
|
-
readonly answer: "answer";
|
|
1704
|
-
readonly ssInfo: "ssInfo";
|
|
1705
|
-
readonly config: "config";
|
|
1706
|
-
readonly playerCount: "playerCount";
|
|
1707
|
-
readonly iceCandidate: "iceCandidate";
|
|
1708
|
-
readonly streamerList: "streamerList";
|
|
1709
|
-
readonly requestStream: "requestStream";
|
|
1710
|
-
readonly listStreamers: "listStreamers";
|
|
1711
|
-
readonly instanceReady: "instanceReady";
|
|
1712
|
-
readonly p2pEstablished: "p2pEstablished";
|
|
1713
|
-
readonly instanceReserved: "instanceReserved";
|
|
1714
|
-
readonly playerDisconnected: "playerDisconnected";
|
|
1715
|
-
readonly streamPreparedForUserInteraction: "streamPreparedForUserInteraction";
|
|
1716
|
-
readonly streamerDisconnected: "streamerDisconnected";
|
|
1717
|
-
readonly interruptClientStream: "interruptClientStream";
|
|
1718
|
-
};
|
|
1719
|
-
interface InstanceReady extends InstanceMessageBase {
|
|
1720
|
-
type: 'instanceReady';
|
|
1721
|
-
}
|
|
1722
|
-
interface InstanceReserved extends InstanceMessageBase {
|
|
1723
|
-
type: 'instanceReserved';
|
|
1724
|
-
}
|
|
1725
|
-
interface OrchestrationErrorMessage {
|
|
1726
|
-
type: 'error';
|
|
1727
|
-
payload: {
|
|
1728
|
-
code: number;
|
|
1729
|
-
message: string;
|
|
1730
|
-
};
|
|
1731
|
-
}
|
|
1732
|
-
interface InstanceMessageBase extends MessageBase {
|
|
1733
|
-
correlationId: string;
|
|
1734
|
-
payload: {
|
|
1735
|
-
instanceId: string;
|
|
1736
|
-
streamRequestId: string;
|
|
1737
|
-
eta: number;
|
|
1738
|
-
};
|
|
1739
|
-
}
|
|
1740
|
-
interface MessageBase {
|
|
1741
|
-
type: OrchestrationMessageType;
|
|
1742
|
-
}
|
|
1743
|
-
interface SSInfo extends MessageBase {
|
|
1744
|
-
type: 'ssInfo';
|
|
1745
|
-
message: string;
|
|
1746
|
-
data: SignalingData;
|
|
1747
|
-
}
|
|
1748
|
-
interface PlayerCountMessage extends MessageBase {
|
|
1749
|
-
type: 'playerCount';
|
|
1750
|
-
playerCount: number;
|
|
1751
|
-
}
|
|
1752
|
-
interface StreamerListMessage extends MessageBase {
|
|
1753
|
-
type: 'streamerList';
|
|
1754
|
-
ids: string[];
|
|
1755
|
-
}
|
|
1756
|
-
interface ConfigMessage extends MessageBase, UnknownFields {
|
|
1757
|
-
type: 'config';
|
|
1758
|
-
peerConnectionOptions: RTCConfiguration;
|
|
1759
|
-
}
|
|
1760
|
-
interface CandidateMessage extends MessageBase {
|
|
1761
|
-
type: 'iceCandidate';
|
|
1762
|
-
candidate: RTCIceCandidate;
|
|
1763
|
-
}
|
|
1764
|
-
interface PingMessage extends MessageBase {
|
|
1765
|
-
type: 'ping';
|
|
1766
|
-
playerId: string;
|
|
1767
|
-
appConnectionCounter: number;
|
|
1768
|
-
}
|
|
1769
|
-
type UnknownFields = Record<string, unknown>;
|
|
1770
|
-
interface InterruptClientStream extends MessageBase {
|
|
1771
|
-
type: 'interruptClientStream';
|
|
1772
|
-
correlationId: string;
|
|
1773
|
-
payload: {
|
|
1774
|
-
environmentId: string;
|
|
1775
|
-
};
|
|
1776
|
-
}
|
|
1777
|
-
interface ForceClientDisconnect extends MessageBase {
|
|
1778
|
-
type: 'streamerDisconnected' | 'playerDisconnected';
|
|
1779
|
-
connectionId: string;
|
|
1780
|
-
}
|
|
1781
|
-
interface ListStreamersMessage extends MessageBase {
|
|
1782
|
-
type: 'listStreamers';
|
|
1783
|
-
correlationId: string;
|
|
1784
|
-
}
|
|
1785
|
-
interface P2PEstablishedMessage extends MessageBase {
|
|
1786
|
-
type: 'p2pEstablished';
|
|
1787
|
-
source: string;
|
|
1788
|
-
sessionId: string;
|
|
1789
|
-
}
|
|
1790
|
-
interface streamPreparedForUserInteractionMessage extends MessageBase {
|
|
1791
|
-
type: 'streamPreparedForUserInteraction';
|
|
1792
|
-
correlationId: string;
|
|
1793
|
-
}
|
|
1794
|
-
interface RequestStream extends MessageBase {
|
|
1795
|
-
type: 'requestStream';
|
|
1796
|
-
correlationId: string;
|
|
1797
|
-
payload: {
|
|
1798
|
-
environmentId: string;
|
|
1799
|
-
region?: string;
|
|
1800
|
-
/**
|
|
1801
|
-
* The context field is used for plugins of the external
|
|
1802
|
-
* applications for collecting additional statistics, etc.
|
|
1803
|
-
*/
|
|
1804
|
-
context: StreamRequestContext;
|
|
1805
|
-
};
|
|
1806
|
-
}
|
|
1807
|
-
interface MetaboxBasicConfiguratorContext {
|
|
1808
|
-
id: 'metaboxBasicConfigurator';
|
|
1809
|
-
data: {
|
|
1810
|
-
configuratorId: string;
|
|
1811
|
-
};
|
|
1812
|
-
}
|
|
1813
|
-
interface MetaboxModularConfiguratorContext {
|
|
1814
|
-
id: 'metaboxModularConfigurator';
|
|
1815
|
-
data: {
|
|
1816
|
-
configuratorId: string;
|
|
1817
|
-
};
|
|
1818
|
-
}
|
|
1819
|
-
interface MetaboxProductContext {
|
|
1820
|
-
id: 'metaboxProduct';
|
|
1821
|
-
data: {
|
|
1822
|
-
productId: string;
|
|
1823
|
-
};
|
|
1824
|
-
}
|
|
1825
|
-
interface MetaboxEnvironmentContext {
|
|
1826
|
-
id: 'metaboxEnvironment';
|
|
1827
|
-
data: {
|
|
1828
|
-
environmentId: string;
|
|
1829
|
-
};
|
|
1830
|
-
}
|
|
1831
|
-
interface MetaboxStudioContext {
|
|
1832
|
-
id: 'metaboxStudio';
|
|
1833
|
-
data: {
|
|
1834
|
-
userId: string;
|
|
1835
|
-
workspaceId: string;
|
|
1836
|
-
};
|
|
1837
|
-
}
|
|
1838
|
-
interface CustomApplicationContext {
|
|
1839
|
-
id: 'customApplication';
|
|
1840
|
-
data: {
|
|
1841
|
-
clientId: string;
|
|
1842
|
-
applicationId: string;
|
|
1843
|
-
};
|
|
1844
|
-
}
|
|
1845
|
-
type StreamRequestContext = MetaboxStudioContext | MetaboxProductContext | CustomApplicationContext | MetaboxEnvironmentContext | MetaboxBasicConfiguratorContext | MetaboxModularConfiguratorContext;
|
|
1846
|
-
interface SignalingMessageMap {
|
|
1847
|
-
[OrchestrationMessageTypes.ping]: PingMessage;
|
|
1848
|
-
[OrchestrationMessageTypes.offer]: RTCSessionDescriptionInit;
|
|
1849
|
-
[OrchestrationMessageTypes.error]: OrchestrationErrorMessage;
|
|
1850
|
-
[OrchestrationMessageTypes.ssInfo]: SSInfo;
|
|
1851
|
-
[OrchestrationMessageTypes.config]: ConfigMessage;
|
|
1852
|
-
[OrchestrationMessageTypes.answer]: RTCSessionDescriptionInit;
|
|
1853
|
-
[OrchestrationMessageTypes.playerCount]: PlayerCountMessage;
|
|
1854
|
-
[OrchestrationMessageTypes.iceCandidate]: CandidateMessage;
|
|
1855
|
-
[OrchestrationMessageTypes.streamerList]: StreamerListMessage;
|
|
1856
|
-
[OrchestrationMessageTypes.instanceReady]: InstanceReady;
|
|
1857
|
-
[OrchestrationMessageTypes.requestStream]: RequestStream;
|
|
1858
|
-
[OrchestrationMessageTypes.listStreamers]: ListStreamersMessage;
|
|
1859
|
-
[OrchestrationMessageTypes.p2pEstablished]: P2PEstablishedMessage;
|
|
1860
|
-
[OrchestrationMessageTypes.instanceReserved]: InstanceReserved;
|
|
1861
|
-
[OrchestrationMessageTypes.playerDisconnected]: ForceClientDisconnect;
|
|
1862
|
-
[OrchestrationMessageTypes.streamPreparedForUserInteraction]: streamPreparedForUserInteractionMessage;
|
|
1863
|
-
[OrchestrationMessageTypes.streamerDisconnected]: ForceClientDisconnect;
|
|
1864
|
-
[OrchestrationMessageTypes.interruptClientStream]: InterruptClientStream;
|
|
1865
|
-
}
|
|
1866
|
-
type OrchestrationMessageType = keyof SignalingMessageMap;
|
|
1867
|
-
type AnySignalingMessage = SignalingMessageMap[OrchestrationMessageType] | string;
|
|
1868
|
-
type SignalingMessageHandler<T extends keyof SignalingMessageMap> = (msg: SignalingMessageMap[T]) => void;
|
|
1869
|
-
interface PollingOrchestrationMessage {
|
|
1870
|
-
mm_message?: string;
|
|
1871
|
-
signallingServer?: string;
|
|
1872
|
-
error?: string;
|
|
1873
|
-
info?: {
|
|
1874
|
-
age: number | null;
|
|
1875
|
-
left: number | null;
|
|
1876
|
-
percent: number | null;
|
|
1877
|
-
total: number | null;
|
|
1878
|
-
};
|
|
1879
|
-
}
|
|
1880
|
-
|
|
1881
|
-
interface StreamConfig {
|
|
1882
|
-
autoStart: boolean;
|
|
1883
|
-
warnTimeout: number;
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1886
|
-
interface StreamResolutionProps {
|
|
1887
|
-
width: number | null;
|
|
1888
|
-
height: number | null;
|
|
1889
|
-
}
|
|
1890
|
-
|
|
1891
|
-
type TelemetryType = 'commandSent' | 'commandStop';
|
|
1892
|
-
|
|
1893
|
-
interface AggregatedStat {
|
|
1894
|
-
quality: Quality;
|
|
1895
|
-
aggregatedStats: InboundVideoStats;
|
|
1881
|
+
interface AggregatedStat {
|
|
1882
|
+
quality: Quality;
|
|
1883
|
+
aggregatedStats: InboundVideoStats;
|
|
1896
1884
|
}
|
|
1897
1885
|
interface InboundVideoStats extends RTCInboundRtpStreamStats {
|
|
1898
1886
|
VideoEncoderQP: number;
|
|
@@ -2016,7 +2004,6 @@ interface FilterSettings {
|
|
|
2016
2004
|
}
|
|
2017
2005
|
|
|
2018
2006
|
declare class FilterSettingsComponent implements OnInit {
|
|
2019
|
-
#private;
|
|
2020
2007
|
private readonly storageKey;
|
|
2021
2008
|
readonly defaultFilterModel: {
|
|
2022
2009
|
minimumBitrate: number;
|
|
@@ -2052,7 +2039,7 @@ declare class FilterSettingsComponent implements OnInit {
|
|
|
2052
2039
|
}
|
|
2053
2040
|
|
|
2054
2041
|
declare class LowBandwidthDetectorComponent implements OnInit {
|
|
2055
|
-
private
|
|
2042
|
+
#private;
|
|
2056
2043
|
private readonly dialog;
|
|
2057
2044
|
private readonly destroyRef;
|
|
2058
2045
|
private readonly videoService;
|
|
@@ -2124,8 +2111,8 @@ declare const commandCompleted: _ngrx_store.ActionCreator<string, (props: {
|
|
|
2124
2111
|
} & _ngrx_store.Action<string>>;
|
|
2125
2112
|
|
|
2126
2113
|
declare class CommandsEffects {
|
|
2127
|
-
private actions$;
|
|
2128
|
-
private unrealInitialConfig;
|
|
2114
|
+
private readonly actions$;
|
|
2115
|
+
private readonly unrealInitialConfig;
|
|
2129
2116
|
listenUnrealCallbackByInitSignalling$: rxjs.Observable<{
|
|
2130
2117
|
id: string;
|
|
2131
2118
|
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
@@ -2182,13 +2169,6 @@ declare const trackTelemetryData: _ngrx_store.ActionCreator<string, (props: {
|
|
|
2182
2169
|
event: string;
|
|
2183
2170
|
data?: unknown;
|
|
2184
2171
|
} & _ngrx_store.Action<string>>;
|
|
2185
|
-
declare const changeLowBandwidth: _ngrx_store.ActionCreator<string, (props: {
|
|
2186
|
-
lowBandwidth: boolean;
|
|
2187
|
-
stats?: LBMStats;
|
|
2188
|
-
}) => {
|
|
2189
|
-
lowBandwidth: boolean;
|
|
2190
|
-
stats?: LBMStats;
|
|
2191
|
-
} & _ngrx_store.Action<string>>;
|
|
2192
2172
|
declare const setMaxFps: _ngrx_store.ActionCreator<string, (props: {
|
|
2193
2173
|
maxFps: number;
|
|
2194
2174
|
}) => {
|
|
@@ -2271,14 +2251,6 @@ declare const setEstablishingConnection: _ngrx_store.ActionCreator<string, (prop
|
|
|
2271
2251
|
}) => {
|
|
2272
2252
|
value: boolean;
|
|
2273
2253
|
} & _ngrx_store.Action<string>>;
|
|
2274
|
-
/**
|
|
2275
|
-
* @deprecated Use `dataChannelReady` instead. Currently, this action is not working.
|
|
2276
|
-
*/
|
|
2277
|
-
declare const setDataChannelConnected: _ngrx_store.ActionCreator<string, (props: {
|
|
2278
|
-
statusMessage: string;
|
|
2279
|
-
}) => {
|
|
2280
|
-
statusMessage: string;
|
|
2281
|
-
} & _ngrx_store.Action<string>>;
|
|
2282
2254
|
declare const dataChannelConnected: _ngrx_store.ActionCreator<string, (props: {
|
|
2283
2255
|
statusMessage: string;
|
|
2284
2256
|
}) => {
|
|
@@ -2395,10 +2367,8 @@ declare const setOrchestrationContext: _ngrx_store.ActionCreator<string, (props:
|
|
|
2395
2367
|
streamRequestContext: StreamRequestContext;
|
|
2396
2368
|
} & _ngrx_store.Action<string>>;
|
|
2397
2369
|
declare const updateCirrusInfo: _ngrx_store.ActionCreator<string, (props: {
|
|
2398
|
-
ssInfo: string;
|
|
2399
2370
|
ssData: SignalingData;
|
|
2400
2371
|
}) => {
|
|
2401
|
-
ssInfo: string;
|
|
2402
2372
|
ssData: SignalingData;
|
|
2403
2373
|
} & _ngrx_store.Action<string>>;
|
|
2404
2374
|
declare const setLoopBackCommandIsCompleted: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
@@ -2416,10 +2386,8 @@ declare const showUnrealErrorMessage: _ngrx_store.ActionCreator<string, (props:
|
|
|
2416
2386
|
code: number | null;
|
|
2417
2387
|
error?: string;
|
|
2418
2388
|
} & _ngrx_store.Action<string>>;
|
|
2419
|
-
declare const initSignalling: _ngrx_store.FunctionWithParametersType<[
|
|
2420
|
-
resetDisconnectionReason:
|
|
2421
|
-
} | undefined], {
|
|
2422
|
-
resetDisconnectionReason: boolean;
|
|
2389
|
+
declare const initSignalling: _ngrx_store.FunctionWithParametersType<[resetDisconnectionReason?: any], {
|
|
2390
|
+
resetDisconnectionReason: any;
|
|
2423
2391
|
} & _ngrx_store.Action<string>> & _ngrx_store.Action<string>;
|
|
2424
2392
|
declare const startStream: _ngrx_store.ActionCreator<string, (props: {
|
|
2425
2393
|
config: Partial<StreamConfig>;
|
|
@@ -2471,28 +2439,44 @@ declare const iceConnectionFailed: _ngrx_store.ActionCreator<string, (props: {
|
|
|
2471
2439
|
declare const forceResizeViewport: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2472
2440
|
declare const videoAdaptedToContainer: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2473
2441
|
declare const videoStreamInitialized: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2474
|
-
declare const setKalmanSettings: _ngrx_store.ActionCreator<string, (props: {
|
|
2475
|
-
settings: FilterSettings;
|
|
2476
|
-
}) => {
|
|
2477
|
-
settings: FilterSettings;
|
|
2478
|
-
} & _ngrx_store.Action<string>>;
|
|
2479
2442
|
declare const dropDC: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2480
2443
|
declare const dropPC: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2444
|
+
declare const showLoadingProgress: _ngrx_store.ActionCreator<string, (props: {
|
|
2445
|
+
visible: boolean;
|
|
2446
|
+
}) => {
|
|
2447
|
+
visible: boolean;
|
|
2448
|
+
} & _ngrx_store.Action<string>>;
|
|
2449
|
+
declare const showResumeStreamPopup: _ngrx_store.ActionCreator<string, (props: {
|
|
2450
|
+
visible: boolean;
|
|
2451
|
+
}) => {
|
|
2452
|
+
visible: boolean;
|
|
2453
|
+
} & _ngrx_store.Action<string>>;
|
|
2454
|
+
declare const showUserInactivityTimeoutPopup: _ngrx_store.ActionCreator<string, (props: {
|
|
2455
|
+
visible: boolean;
|
|
2456
|
+
}) => {
|
|
2457
|
+
visible: boolean;
|
|
2458
|
+
} & _ngrx_store.Action<string>>;
|
|
2459
|
+
declare const setUserInactivityTimeout: _ngrx_store.ActionCreator<string, (props: {
|
|
2460
|
+
timeout: number;
|
|
2461
|
+
}) => {
|
|
2462
|
+
timeout: number;
|
|
2463
|
+
} & _ngrx_store.Action<string>>;
|
|
2464
|
+
declare const resetUserInactivityTimeout: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2481
2465
|
|
|
2482
2466
|
declare class UnrealEffects {
|
|
2483
|
-
private actions$;
|
|
2484
|
-
private dialog;
|
|
2485
|
-
private http;
|
|
2486
|
-
private store;
|
|
2487
|
-
private isDevMode;
|
|
2488
|
-
private scrollStrategy;
|
|
2489
|
-
private unrealInitialConfig;
|
|
2490
|
-
private webRtcPlayerService;
|
|
2491
|
-
private commandsSender;
|
|
2467
|
+
private readonly actions$;
|
|
2468
|
+
private readonly dialog;
|
|
2469
|
+
private readonly http;
|
|
2470
|
+
private readonly store;
|
|
2471
|
+
private readonly isDevMode;
|
|
2472
|
+
private readonly scrollStrategy;
|
|
2473
|
+
private readonly unrealInitialConfig;
|
|
2474
|
+
private readonly webRtcPlayerService;
|
|
2475
|
+
private readonly commandsSender;
|
|
2492
2476
|
private readonly commandTelemetryService;
|
|
2493
|
-
private signallingService;
|
|
2494
|
-
private videoService;
|
|
2495
|
-
private unrealCallbackService;
|
|
2477
|
+
private readonly signallingService;
|
|
2478
|
+
private readonly videoService;
|
|
2479
|
+
private readonly unrealCallbackService;
|
|
2496
2480
|
private dataChannelConnectionTimeout;
|
|
2497
2481
|
private connectionCompleted$;
|
|
2498
2482
|
private reconnectConfig;
|
|
@@ -2503,28 +2487,13 @@ declare class UnrealEffects {
|
|
|
2503
2487
|
reason: _3dsource_angular_unreal_module.DisconnectReasonType;
|
|
2504
2488
|
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2505
2489
|
destroyRemoteConnections$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2506
|
-
webrtcErrorModalComponent$: rxjs.Observable<false> & _ngrx_effects.CreateEffectMetadata;
|
|
2507
2490
|
changeStreamResolution$: rxjs.Observable<{
|
|
2508
2491
|
width: number | null;
|
|
2509
2492
|
height: number | null;
|
|
2510
2493
|
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2511
|
-
forceLBMOff$: rxjs.Observable<{
|
|
2512
|
-
lowBandwidth: boolean;
|
|
2513
|
-
stats?: _3dsource_angular_unreal_module.LBMStats;
|
|
2514
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2515
|
-
resetFreezeFrameOnLowBandwidthTriggered$: rxjs.Observable<{
|
|
2516
|
-
dataUrl: string | null;
|
|
2517
|
-
progress: number | null;
|
|
2518
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2519
|
-
sendLbmStatistics$: rxjs.Observable<Object> & _ngrx_effects.CreateEffectMetadata;
|
|
2520
2494
|
resetAfk$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2521
2495
|
abortEstablishingConnection$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2522
|
-
|
|
2523
|
-
maxFps: number;
|
|
2524
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2525
|
-
setKalmanSettings$: rxjs.Observable<{
|
|
2526
|
-
settings: FilterSettings;
|
|
2527
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2496
|
+
iframeMessaging$: rxjs.Observable<string | null> & _ngrx_effects.CreateEffectMetadata;
|
|
2528
2497
|
setSignalingTo100$: rxjs.Observable<{
|
|
2529
2498
|
percent: number | null;
|
|
2530
2499
|
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
@@ -2537,20 +2506,19 @@ declare class UnrealEffects {
|
|
|
2537
2506
|
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2538
2507
|
resetCirrusOnDestroy$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2539
2508
|
destroyConnectionAndRestart$: rxjs.Observable<{
|
|
2540
|
-
resetDisconnectionReason:
|
|
2509
|
+
resetDisconnectionReason: any;
|
|
2541
2510
|
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2542
2511
|
showUnrealError$: rxjs.Observable<{
|
|
2543
2512
|
code: number | null;
|
|
2544
2513
|
error?: string;
|
|
2545
2514
|
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2546
|
-
sendStatisticsToUnreal$: rxjs.Observable<Object> & _ngrx_effects.CreateEffectMetadata;
|
|
2547
2515
|
unrealReceiverReady$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2548
|
-
|
|
2516
|
+
initAppByDataChannelReady$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2549
2517
|
setViewportReadyBySetLoopBackCommandIsCompleted$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2550
2518
|
startStream$: rxjs.Observable<{
|
|
2551
|
-
resetDisconnectionReason:
|
|
2519
|
+
resetDisconnectionReason: any;
|
|
2552
2520
|
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2553
|
-
|
|
2521
|
+
resetAfkOnVideoStart$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2554
2522
|
/**
|
|
2555
2523
|
* Effect: `forceViewportNotReady$`
|
|
2556
2524
|
*
|
|
@@ -2608,12 +2576,14 @@ declare class UnrealEffects {
|
|
|
2608
2576
|
reason: _3dsource_angular_unreal_module.DisconnectReasonType;
|
|
2609
2577
|
message: string;
|
|
2610
2578
|
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2579
|
+
setMaxFps$: rxjs.Observable<{
|
|
2580
|
+
maxFps: number;
|
|
2581
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2582
|
+
webrtcErrorModalComponent$: rxjs.Observable<false> & _ngrx_effects.CreateEffectMetadata;
|
|
2583
|
+
sendStatisticsToUnreal$: rxjs.Observable<Object> & _ngrx_effects.CreateEffectMetadata;
|
|
2584
|
+
connectToSignaling$: rxjs.Observable<WebSocket> & _ngrx_effects.CreateEffectMetadata;
|
|
2585
|
+
private canPeerReconnect;
|
|
2586
|
+
private postToScreenLocker;
|
|
2617
2587
|
static ɵfac: i0.ɵɵFactoryDeclaration<UnrealEffects, never>;
|
|
2618
2588
|
static ɵprov: i0.ɵɵInjectableDeclaration<UnrealEffects>;
|
|
2619
2589
|
}
|
|
@@ -2623,15 +2593,13 @@ declare const unrealFeature: {
|
|
|
2623
2593
|
reducer: _ngrx_store.ActionReducer<_3dsource_angular_unreal_module.UnrealState, _ngrx_store.Action<string>>;
|
|
2624
2594
|
selectUnrealFeatureState: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.UnrealState, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.UnrealState>;
|
|
2625
2595
|
selectFreezeFrame: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.FreezeFrameMessage, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.FreezeFrameMessage>;
|
|
2626
|
-
selectLowBandwidth: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2627
2596
|
selectIsVideoPlaying: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2628
2597
|
selectStatusMessage: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
2629
2598
|
selectEnvironmentId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
2630
2599
|
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>;
|
|
2631
|
-
selectSsInfo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
2632
2600
|
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>;
|
|
2633
|
-
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>;
|
|
2634
2601
|
selectStreamConfig: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamConfig, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamConfig>;
|
|
2602
|
+
selectUserInactivityTimeout: _ngrx_store.MemoizedSelector<Record<string, any>, number, (featureState: _3dsource_angular_unreal_module.UnrealState) => number>;
|
|
2635
2603
|
selectAwsInstance: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.AwsInstance, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.AwsInstance>;
|
|
2636
2604
|
selectIsFirstSuccessLoad: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2637
2605
|
selectIsAfkTimerVisible: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
@@ -2659,13 +2627,15 @@ declare const unrealFeature: {
|
|
|
2659
2627
|
name: string;
|
|
2660
2628
|
params: Record<string, unknown>;
|
|
2661
2629
|
} | null>;
|
|
2630
|
+
selectShowLoadingProgress: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2631
|
+
selectShowResumeStreamPopup: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2632
|
+
selectShowAfkTimeoutPopup: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2662
2633
|
};
|
|
2663
2634
|
|
|
2664
2635
|
interface UnrealState {
|
|
2665
|
-
lowBandwidthStats: LBMStats | undefined;
|
|
2666
2636
|
streamConfig: StreamConfig;
|
|
2637
|
+
userInactivityTimeout: number;
|
|
2667
2638
|
awsInstance: AwsInstance;
|
|
2668
|
-
lowBandwidth: boolean;
|
|
2669
2639
|
isFirstSuccessLoad: boolean;
|
|
2670
2640
|
isAfkTimerVisible: boolean;
|
|
2671
2641
|
afkCountdown: number;
|
|
@@ -2674,10 +2644,6 @@ interface UnrealState {
|
|
|
2674
2644
|
freezeFrameFromVideo: FreezeFrameMessage;
|
|
2675
2645
|
freezeFrame: FreezeFrameMessage;
|
|
2676
2646
|
statusMessage: string | null;
|
|
2677
|
-
/**
|
|
2678
|
-
* @deprecated, use ssData in future
|
|
2679
|
-
*/
|
|
2680
|
-
ssInfo: string | null;
|
|
2681
2647
|
ssData: SignalingData | null;
|
|
2682
2648
|
statusPercentSignallingServer: number | null;
|
|
2683
2649
|
errorMessage: ConnectionError | null;
|
|
@@ -2699,12 +2665,15 @@ interface UnrealState {
|
|
|
2699
2665
|
name: string;
|
|
2700
2666
|
params: Record<string, unknown>;
|
|
2701
2667
|
} | null;
|
|
2668
|
+
showLoadingProgress: boolean;
|
|
2669
|
+
showResumeStreamPopup: boolean;
|
|
2670
|
+
showAfkTimeoutPopup: boolean;
|
|
2702
2671
|
}
|
|
2703
2672
|
declare const unrealReducer: _ngrx_store.ActionReducer<UnrealState, _ngrx_store.Action<string>>;
|
|
2704
2673
|
|
|
2705
|
-
declare const selectFreezeFrameDataUrlFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage
|
|
2706
|
-
declare const selectFreezeFrameProgressMessageFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, number | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage
|
|
2707
|
-
declare const selectFreezeFrameDataUrl: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage
|
|
2674
|
+
declare const selectFreezeFrameDataUrlFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage) => string | null>;
|
|
2675
|
+
declare const selectFreezeFrameProgressMessageFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, number | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage) => number | null>;
|
|
2676
|
+
declare const selectFreezeFrameDataUrl: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage) => string | null>;
|
|
2708
2677
|
declare const selectIsFreezeFrameLoading: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage) => boolean>;
|
|
2709
2678
|
declare const selectFreezeFrameCombinedDataUrl: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: string | null, s2: string | null) => string | null>;
|
|
2710
2679
|
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>;
|
|
@@ -2714,11 +2683,7 @@ declare const selectIsAutostart: _ngrx_store.MemoizedSelector<Record<string, any
|
|
|
2714
2683
|
declare const selectShowReconnectPopup: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
2715
2684
|
declare const selectShowLoader: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
2716
2685
|
declare const selectIsVideoPlayingAndDataChannelConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
2717
|
-
declare const selectSignalingParameters: _ngrx_store.MemoizedSelector<Record<string, any>, string, (s1: _3dsource_angular_unreal_module.SignalingData | null, s2: _3dsource_angular_unreal_module.AwsInstance
|
|
2718
|
-
/**
|
|
2719
|
-
* Returns Scene load progress as a float value in between 0-1
|
|
2720
|
-
*/
|
|
2721
|
-
declare const selectTotalProgress: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: number | null, s2: number, s3: _3dsource_angular_unreal_module.AwsInstance, s4: boolean) => number>;
|
|
2686
|
+
declare const selectSignalingParameters: _ngrx_store.MemoizedSelector<Record<string, any>, string, (s1: _3dsource_angular_unreal_module.SignalingData | null, s2: _3dsource_angular_unreal_module.AwsInstance) => string>;
|
|
2722
2687
|
declare const selectClientAndViewIds: _ngrx_store.MemoizedSelector<Record<string, any>, {
|
|
2723
2688
|
clientId: string | null;
|
|
2724
2689
|
viewId: string | null;
|
|
@@ -2726,8 +2691,21 @@ declare const selectClientAndViewIds: _ngrx_store.MemoizedSelector<Record<string
|
|
|
2726
2691
|
clientId: string | null;
|
|
2727
2692
|
viewId: string | null;
|
|
2728
2693
|
}>;
|
|
2729
|
-
declare const
|
|
2694
|
+
declare const selectIsFullyConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean, s3: boolean) => boolean>;
|
|
2695
|
+
declare const selectIsLoaderScreenVisible: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean) => boolean>;
|
|
2730
2696
|
declare const selectCirrusConnectionId: _ngrx_store.MemoizedSelector<Record<string, any>, string | undefined, (s1: _3dsource_angular_unreal_module.SignalingData | null) => string | undefined>;
|
|
2697
|
+
/**
|
|
2698
|
+
* Returns Scene load progress as a float value between 0 and 1.
|
|
2699
|
+
*
|
|
2700
|
+
* Progress is split into two phases:
|
|
2701
|
+
* 1. **Signaling** (0 → ~56%): connection polling or orchestration progress.
|
|
2702
|
+
* Starts at 0.1%, so the bar is never visually empty while connecting.
|
|
2703
|
+
* 2. **Commands** (~56% → 100%): Unreal command progress after the data channel connects.
|
|
2704
|
+
*
|
|
2705
|
+
* The split point bumps by +1% once the WebSocket URL is known,
|
|
2706
|
+
* producing a small visual step that indicates the WS handshake succeeded.
|
|
2707
|
+
*/
|
|
2708
|
+
declare const selectTotalProgress: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: number | null, s2: number, s3: _3dsource_angular_unreal_module.AwsInstance, s4: boolean) => number>;
|
|
2731
2709
|
|
|
2732
|
-
export { AFKService, AfkTimeoutModalComponent, AggregatorService, AnalyticsService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY, CommandTelemetryService, CommandsEffects, ConfigHandler, 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, FileReceiverService, FilterSettingsComponent, FpsMonitorService, FreezeFrameComponent, FreezeFrameService, IceCandidateHandler, ImageLoadingSrcComponent, InputOptions, 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, SignallingService, SpecialKeyCodes, StatGraphComponent, StreamStatusTelemetryService, StreamStatusTelemetryService2, SubService, ToClientMessage, UNREAL_CONFIG, UnrealCallbackService, UnrealCommunicatorService, UnrealEffects, 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, answerSent,
|
|
2733
|
-
export type { AggregatedStat, AnySignalingMessage, AwsInstance, CandidateMessage, CloseReason, ConfigMessage, ConnectionError, ControlSchemeValues, DataFlowCheckResult, DisconnectReasonType, EmittedMilestone, ForceClientDisconnect, FreezeFrameMessage, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, InterruptClientStream,
|
|
2710
|
+
export { AFKService, AfkTimeoutModalComponent, AggregatorService, AnalyticsService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY, CommandTelemetryService, CommandsEffects, ConfigHandler, 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, DESTROY_DISCONNECT_REASONS, DataFlowMonitor, DevModeService, DisconnectReason, FULL_HD_HEIGHT, FULL_HD_WIDTH, FileHandlerService, FileReceiverService, FilterSettingsComponent, FpsMonitorService, FreezeFrameComponent, FreezeFrameService, IceCandidateHandler, ImageLoadingSrcComponent, InputOptions, InputService, InstanceReadyHandler, InstanceReservedHandler, IntroSrcComponent, KalmanFilter1D, LatencyTimings, LoadingProgressService, LowBandwidthDetectorComponent, LowBandwidthModalComponent, MINIMAL_FPS, MIN_CONTAINER_SIZE, 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_AUDIO_ID, STREAMING_VIDEO_ID, SafePipe, SignallingService, SpecialKeyCodes, StatGraphComponent, StreamStatusTelemetryService, StreamStatusTelemetryService2, SubService, ToClientMessage, UNREAL_CONFIG, UnrealCallbackService, UnrealCommunicatorService, UnrealEffects, 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, answerSent, changeStatusMainVideoOnScene, changeStreamResolutionAction, changeStreamResolutionSuccessAction, commandCompleted, commandStarted, commandsFeature, commandsReducer, dataChannelConnected, dataChannelReady, decodeData, destroyRemoteConnections, destroyUnrealScene, disconnectStream, dispatchResize, dropConnection, dropDC, dropPC, floatToSmoothPercents, forceResizeViewport, fromResizeObserver, getActiveUrl, getImageFromVideoStream, getResizeStudioValues, getResizeValuesUniversal, getRtcErrorMessage, iceConnectionFailed, initSignalling, instanceReady, keepMaxUntilReset, makeEven, pollingEnded, pollingStarted, provideUnrealModule, qpToQuality, reconnectPeer, reconnectPeerFailed, reconnectPeerSuccess, regionPingFetchEnd, regionPingFetchStart, regionResolved, resetAfk, resetConfig, resetDataChannelForReconnect, resetIntroSrc, resetUserInactivityTimeout, resetWarnTimeout, saveAnalyticsEvent, selectCirrusConnectionId, selectClientAndViewIds, selectCommandProgress, selectCommandsInProgress, selectFreezeFrameCombinedDataUrl, selectFreezeFrameDataUrl, selectFreezeFrameDataUrlFromVideo, selectFreezeFrameProgressMessageFromVideo, selectIsAutostart, selectIsExistMatchUrls, selectIsFreezeFrameLoading, selectIsFullyConnected, selectIsLoaderScreenVisible, selectIsVideoPlayingAndDataChannelConnected, selectShowLoader, selectShowReconnectPopup, selectSignalingParameters, selectStreamConfig, selectTotalProgress, selectWarnTimeout, setAfkTimerCountdown, setAfkTimerHide, setAfkTimerVisible, setAwsInstance, setCirrusConnected, setCirrusDisconnected, setConfig, setEstablishingConnection, setFreezeFrame, setFreezeFrameFromVideo, setIntroImageSrc, setIntroVideoSrc, setLoadingImageSrc, setLoopBackCommandIsCompleted, setMaxFps, setOrchestrationContext, setOrchestrationMessage, setOrchestrationParameters, setOrchestrationProgress, setSignalingName, setStatusMessage, setStatusPercentSignallingServer, setStreamClientCompanyId, setStreamViewId, setUnrealPlaywrightConfig, setUserInactivityTimeout, setViewportNotReady, setViewportReady, showLoadingProgress, showResumeStreamPopup, showUnrealErrorMessage, showUserInactivityTimeoutPopup, smoothTransition, startStream, trackMixpanelEvent, trackTelemetryData, unrealCommandCallback, unrealFeature, unrealReducer, updateCirrusInfo, videoAdaptedToContainer, videoStreamInitialized };
|
|
2711
|
+
export type { AggregatedStat, AnySignalingMessage, AwsInstance, CandidateMessage, CloseReason, ConfigMessage, ConnectionError, ControlSchemeValues, DataFlowCheckResult, DisconnectReasonType, EmittedMilestone, ForceClientDisconnect, FreezeFrameMessage, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, InterruptClientStream, ListStreamersMessage, MessageBase, MessageTypeValues, NormalizeAndQuantizeSignedValue, NormalizeAndQuantizeUnsignedValue, OrchestrationErrorMessage, OrchestrationMessageType, P2PEstablishedMessage, PhaseOverlay, PhaseParam, PingMessage, PlayerCountMessage, PollingOrchestrationMessage, Quality, ReceivedFile, ReconnectConfig, RequestStream, SSInfo, SelectedIceCandidatePair, SignalingData, SignalingMessageHandler, SignalingMessageMap, StreamConfig, StreamRequestContext, StreamResolutionProps, StreamerListMessage, TelemetryType, UnknownFields, UnquantizeAndDenormalizeUnsignedValue, UnrealCallbackDescriptor, UnrealCallbackEventMap, UnrealCallbackJson, UnrealCallbackJsonWrapped, UnrealCommandsState, UnrealInitialConfig, UnrealState, WSCloseCodesValues, streamPreparedForUserInteractionMessage };
|