@3dsource/angular-unreal-module 0.0.46 → 0.0.50

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, AfterViewInit, OnInit, DestroyRef, ElementRef, OnDestroy, PipeTransform } from '@angular/core';
2
+ import { InjectionToken, AfterViewInit, OnInit, DestroyRef, ElementRef, PipeTransform } from '@angular/core';
3
3
  import { DialogRef } from '@angular/cdk/dialog';
4
4
  import * as _3dsource_angular_unreal_module from '@3dsource/angular-unreal-module';
5
5
  import * as _ngrx_store from '@ngrx/store';
@@ -44,7 +44,7 @@ declare class SubService {
44
44
 
45
45
  declare class AFKService extends SubService {
46
46
  private enabled;
47
- private closeTimeout;
47
+ private readonly closeTimeout;
48
48
  private active;
49
49
  private warnTimer;
50
50
  private countdown;
@@ -295,30 +295,35 @@ interface PingResult {
295
295
  declare const WSCloseCode_NORMAL_CLOSURE = 3000;
296
296
  declare const WSCloseCode_NORMAL_AFK_TIMEOUT = 3001;
297
297
  declare const WSCloseCode_NORMAL_MANUAL_DISCONNECT = 3002;
298
- declare const WSCloseCode_NORMAL_CIRRUS_CLOSED = 3003;
299
- declare const WSCloseCodes: readonly [3000, 3001, 3002, 3003];
298
+ declare const WSCloseCode_FORCE_CIRRUS_CLOSE = 3003;
299
+ declare const WSCloseCode_CIRRUS_PLAYER_DISCONNECTED = 1001;
300
+ declare const WSCloseCode_CIRRUS_ABNORMAL_CLOSURE = 1006;
301
+ declare const WSCloseCode_CIRRUS_MAX_PLAYERS_ERROR = 1013;
302
+ declare const WSCloseCode_CIRRUS_STREAMER_KIKED_PLAYER = 1011;
303
+ declare const WSCloseCodes: readonly [3000, 3001, 3002, 3003, 1013, 1006];
300
304
  type WSCloseCodesValues = (typeof WSCloseCodes)[number];
301
305
 
302
- interface CloseReason {
303
- code: WSCloseCodesValues;
304
- reason: string;
305
- }
306
-
307
306
  declare const DisconnectReason: {
308
- readonly afk: "afk";
309
- readonly none: "none";
310
- readonly reset: "reset";
311
- readonly wsOnError: "wsOnError";
312
- readonly dataChannelClosed: "dataChannelClosed";
313
- readonly dataChannelTimeout: "dataChannelTimeout";
307
+ readonly Afk: "Afk";
308
+ readonly None: "None";
309
+ readonly Destroy: "Destroy";
310
+ readonly DataChannelClosed: "DataChannelClosed";
311
+ readonly DataChannelTimeout: "DataChannelTimeout";
312
+ readonly WebRTCError: "WebRTCError";
313
+ readonly WebSocketError: "WebSocketError";
314
+ readonly WebSocketClose: "WebSocketClose";
315
+ readonly DropConnection: "DropConnection";
314
316
  };
315
- type DisconnectType = (typeof DisconnectReason)[keyof typeof DisconnectReason];
316
-
317
- interface UnrealError {
318
- errorType: UnrealErrorType;
317
+ type DisconnectReasonType = (typeof DisconnectReason)[keyof typeof DisconnectReason];
318
+ interface ConnectionError {
319
+ reason: DisconnectReasonType;
319
320
  message: string;
320
321
  }
321
- type UnrealErrorType = 'WebRTCError' | 'WebSocketError';
322
+
323
+ interface CloseReason {
324
+ code: WSCloseCodesValues;
325
+ reason: DisconnectReasonType;
326
+ }
322
327
 
323
328
  interface FreezeFrameMessage {
324
329
  dataUrl: string | null;
@@ -422,6 +427,7 @@ declare const CONSOLE_COMMAND_PIXEL_QUALITY = "PixelStreaming.FreezeFrameQuality
422
427
  declare const FULL_HD_WIDTH = 1920;
423
428
  declare const FULL_HD_HEIGHT = 1080;
424
429
  declare const WS_TIMEOUT = 2000;
430
+ declare const POLLING_TIME = 4000;
425
431
  declare const WS_OPEN_STATE = 1;
426
432
  declare const DEFAULT_AFK_TIMEOUT_PERIOD = 15;
427
433
  declare const DEFAULT_AFK_TIMEOUT = 120;
@@ -476,7 +482,11 @@ declare function OnMessageHandler(this: SignallingService, e: MessageEvent<strin
476
482
 
477
483
  declare function OnOpenHandler(this: SignallingService): void;
478
484
 
479
- declare const clampAndKeepMaxPercents: () => ((source: Observable<number>) => Observable<number>);
485
+ /**
486
+ * Keeps the max of numbers seen so far; resets to 0 whenever `reset$` emits.
487
+ * Emits `0` immediately on reset.
488
+ */
489
+ declare const clampAndKeepMaxPercents: (reset$: Observable<unknown>) => ((source: Observable<number>) => Observable<number>);
480
490
 
481
491
  declare function observeCommandResponse<K extends keyof MetaBoxCommandList, T extends MetaBoxCommandList[K] = MetaBoxCommandList[K]>(data: T, sender: (data: T) => void, timeOut?: number, dispatchOnTimeout?: boolean): Observable<ObservedCallbackResponse<T> | never>;
482
492
  interface ObservedCallbackResponse<T extends MetaBoxCommandPacket> {
@@ -704,11 +714,11 @@ declare const setMaxFps: _ngrx_store.ActionCreator<string, (props: {
704
714
  maxFps: number;
705
715
  } & _ngrx_store.Action<string>>;
706
716
  declare const destroyRemoteConnections: _ngrx_store.ActionCreator<string, (props: {
707
- disconnectReason: DisconnectType;
717
+ reason: DisconnectReasonType;
708
718
  }) => {
709
- disconnectReason: DisconnectType;
719
+ reason: DisconnectReasonType;
710
720
  } & _ngrx_store.Action<string>>;
711
- declare const destroyConnectionsAndResetState: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
721
+ declare const destroyUnrealScene: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
712
722
  declare const setCirrusConnected: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
713
723
  declare const setCirrusDisconnected: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
714
724
  declare const changeStatusMainVideoOnScene: _ngrx_store.ActionCreator<string, (props: {
@@ -786,32 +796,25 @@ declare const setEstablishingConnection: _ngrx_store.ActionCreator<string, (prop
786
796
  value: boolean;
787
797
  } & _ngrx_store.Action<string>>;
788
798
  declare const setDataChannelConnected: _ngrx_store.ActionCreator<string, (props: {
789
- value: boolean;
799
+ message: string;
790
800
  }) => {
791
- value: boolean;
801
+ message: string;
792
802
  } & _ngrx_store.Action<string>>;
793
803
  declare const setConfig: _ngrx_store.ActionCreator<string, (props: {
794
804
  config: Partial<StreamConfig>;
795
805
  }) => {
796
806
  config: Partial<StreamConfig>;
797
807
  } & _ngrx_store.Action<string>>;
798
- declare const setMatchMakerUrls: _ngrx_store.ActionCreator<string, (props: {
799
- matchMakerUrls: string[];
800
- }) => {
801
- matchMakerUrls: string[];
802
- } & _ngrx_store.Action<string>>;
803
- declare const setErrorMessage: _ngrx_store.ActionCreator<string, (props: {
804
- errorType: UnrealErrorType;
808
+ declare const disconnectStream: _ngrx_store.ActionCreator<string, (props: {
809
+ reason: DisconnectReasonType;
805
810
  message: string;
806
811
  }) => {
807
- errorType: UnrealErrorType;
812
+ reason: DisconnectReasonType;
808
813
  message: string;
809
814
  } & _ngrx_store.Action<string>>;
810
- declare const setViewportReady: _ngrx_store.ActionCreator<string, (props: {
811
- value: boolean;
812
- }) => {
813
- value: boolean;
814
- } & _ngrx_store.Action<string>>;
815
+ declare const dropConnection: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
816
+ declare const setViewportReady: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
817
+ declare const setViewportNotReady: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
815
818
  declare const changeStreamResolutionAction: _ngrx_store.ActionCreator<string, (props: {
816
819
  width: number | null;
817
820
  height: number | null;
@@ -858,13 +861,20 @@ declare const showUnrealErrorMessage: _ngrx_store.ActionCreator<string, (props:
858
861
  code: number | null;
859
862
  error?: string;
860
863
  } & _ngrx_store.Action<string>>;
861
- declare const initSignalling: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
862
- declare const setIsFreezeLoaderPercents: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
864
+ declare const initSignalling: _ngrx_store.FunctionWithParametersType<[data?: {
865
+ resetDisconnectionReason: boolean;
866
+ } | undefined], {
867
+ resetDisconnectionReason: boolean;
868
+ } & _ngrx_store.Action<string>> & _ngrx_store.Action<string>;
869
+ declare const startStream: _ngrx_store.ActionCreator<string, (props: {
870
+ config: Partial<StreamConfig>;
871
+ }) => {
872
+ config: Partial<StreamConfig>;
873
+ } & _ngrx_store.Action<string>>;
863
874
  declare const resetConfig: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
864
875
  declare const resetAfkAction: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
865
876
  declare const resetWarnTimeout: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
866
- declare const resetUnrealStateAction: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
867
- declare const resetUnrealState: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
877
+ declare const abortEstablishingConnection: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
868
878
 
869
879
  declare class UnrealEffects {
870
880
  private dialog;
@@ -879,14 +889,14 @@ declare class UnrealEffects {
879
889
  private commandsSender;
880
890
  private videoService;
881
891
  private dataChannelConnectionTimeout;
882
- cirrusDisconnectEffect$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
883
- destroyConnections$: rxjs.Observable<{
884
- disconnectReason: _3dsource_angular_unreal_module.DisconnectType;
892
+ disconnectReasonHandling$: rxjs.Observable<{
893
+ reason: _3dsource_angular_unreal_module.DisconnectReasonType;
885
894
  } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
886
- resetState$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
887
- destroyRemoteConnections$: rxjs.Observable<{
888
- disconnectReason: _3dsource_angular_unreal_module.DisconnectType;
895
+ destroyConnections$: rxjs.Observable<{
896
+ reason: _3dsource_angular_unreal_module.DisconnectReasonType;
889
897
  } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
898
+ destroyRemoteConnections$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
899
+ webrtcErrorModalComponent$: rxjs.Observable<false> & _ngrx_effects.CreateEffectMetadata;
890
900
  changeStreamResolution$: rxjs.Observable<{
891
901
  width: number | null;
892
902
  height: number | null;
@@ -901,37 +911,54 @@ declare class UnrealEffects {
901
911
  } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
902
912
  sendLbmStat$: rxjs.Subscription;
903
913
  resetAfk$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
904
- resetFreezeFrameOnViewportDestroy$: rxjs.Observable<{
905
- dataUrl: string | null;
906
- progress: number | null;
907
- } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
914
+ abortEstablishingConnection$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
908
915
  setMaxFps$: rxjs.Observable<{
909
916
  maxFps: number;
910
917
  } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
911
- webrtcErrorModalComponent$: rxjs.Observable<[arg: {
912
- errorType: _3dsource_angular_unreal_module.UnrealErrorType;
913
- message: string;
914
- } & _ngrx_store.Action<string>, boolean]> & _ngrx_effects.CreateEffectMetadata;
915
918
  resetAfkAction$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
919
+ setSignalingTo100$: rxjs.Observable<{
920
+ percent: number | null;
921
+ } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
916
922
  setDataChannelTimeoutCheck$: rxjs.Observable<{
917
- disconnectReason: _3dsource_angular_unreal_module.DisconnectType;
923
+ reason: _3dsource_angular_unreal_module.DisconnectReasonType;
924
+ message: string;
925
+ } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
926
+ destroyConnectionAndRestart$: rxjs.Observable<{
927
+ resetDisconnectionReason: boolean;
918
928
  } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
919
- destroyConnectionAndRestart$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
920
929
  showUnrealError$: rxjs.Observable<{
921
930
  code: number | null;
922
931
  error?: string;
923
932
  } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
924
933
  sendStatisticsToUnreal$: rxjs.Observable<Object> & _ngrx_effects.CreateEffectMetadata;
925
934
  initAppBySetDataChannelConnected$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
926
- setViewportReadyBySetLoopBackCommandIsCompleted$: rxjs.Observable<{
927
- value: boolean;
935
+ setViewportReadyBySetLoopBackCommandIsCompleted$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
936
+ startStream$: rxjs.Observable<{
937
+ resetDisconnectionReason: boolean;
938
+ } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
939
+ setMatchUrls$: rxjs.Observable<{
940
+ resetDisconnectionReason: boolean;
928
941
  } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
929
942
  listenUnrealCallbackByInitSignalling$: rxjs.Observable<{
930
943
  id: string;
931
944
  } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
932
- setConfigByInitSignalling$: rxjs.Observable<{
933
- matchMakerUrls: string[];
934
- } & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
945
+ connectToSignaling$: rxjs.Observable<WebSocket> & _ngrx_effects.CreateEffectMetadata;
946
+ /**
947
+ * Effect: `forceViewportNotReady$`
948
+ *
949
+ * Ensures the viewport is explicitly marked as *not ready* to prevent
950
+ * a temporary black screen flash when disconnecting.
951
+ *
952
+ * ### Why
953
+ * - The video stream is disconnected immediately.
954
+ * - The DataChannel closes slightly later.
955
+ * - Closing the DataChannel resets the Unreal scene,
956
+ * which also sets `viewPortReady` to `false`.
957
+ *
958
+ * Without this effect, the order of these events may cause
959
+ * a visible flicker (video flashing to black).
960
+ */
961
+ forceViewportNotReady$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
935
962
  static ɵfac: i0.ɵɵFactoryDeclaration<UnrealEffects, never>;
936
963
  static ɵprov: i0.ɵɵInjectableDeclaration<UnrealEffects>;
937
964
  }
@@ -941,9 +968,7 @@ declare const unrealFeature: {
941
968
  reducer: _ngrx_store.ActionReducer<_3dsource_angular_unreal_module.UnrealState, _ngrx_store.Action<string>>;
942
969
  selectUnrealFeatureState: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.UnrealState, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.UnrealState>;
943
970
  selectLowBandwidth: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
944
- selectDisconnectReason: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.DisconnectType, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.DisconnectType>;
945
971
  selectIsVideoPlaying: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
946
- selectMatchMakerUrls: _ngrx_store.MemoizedSelector<Record<string, any>, string[], (featureState: _3dsource_angular_unreal_module.UnrealState) => string[]>;
947
972
  selectSsInfo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
948
973
  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>;
949
974
  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>;
@@ -951,17 +976,17 @@ declare const unrealFeature: {
951
976
  selectAwsInstance: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.AwsInstance, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.AwsInstance>;
952
977
  selectWasInitialized: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
953
978
  selectIsFirstSuccessLoad: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
954
- selectIsFreezeLoaderPercents: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
955
979
  selectCirrusConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
956
980
  selectViewportReady: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
957
981
  selectFreezeFrameFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.FreezeFrameMessage, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.FreezeFrameMessage>;
958
982
  selectFreezeFrame: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.FreezeFrameMessage, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.FreezeFrameMessage>;
959
983
  selectStatusMessage: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
960
984
  selectStatusPercentSignallingServer: _ngrx_store.MemoizedSelector<Record<string, any>, number | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => number | null>;
961
- selectErrorMessage: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.UnrealError | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.UnrealError | null>;
985
+ selectErrorMessage: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.ConnectionError | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.ConnectionError | null>;
962
986
  selectDataChannelConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
963
987
  selectStreamResolution: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamResolutionProps, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamResolutionProps>;
964
988
  selectEstablishingConnection: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
989
+ selectDisconnectReason: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.DisconnectReasonType, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.DisconnectReasonType>;
965
990
  selectLoaderCommands: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.CommandsLoaderState, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.CommandsLoaderState>;
966
991
  selectMatchUrls: _ngrx_store.MemoizedSelector<Record<string, any>, string[], (featureState: _3dsource_angular_unreal_module.UnrealState) => string[]>;
967
992
  selectStreamClientCompanyId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
@@ -983,12 +1008,10 @@ interface CommandsLoaderState {
983
1008
  interface UnrealState {
984
1009
  lowBandwidthStats: LBMStats | undefined;
985
1010
  streamConfig: StreamConfig;
986
- matchMakerUrls: string[];
987
1011
  awsInstance: AwsInstance;
988
1012
  lowBandwidth: boolean;
989
1013
  wasInitialized: boolean;
990
1014
  isFirstSuccessLoad: boolean;
991
- isFreezeLoaderPercents: boolean;
992
1015
  cirrusConnected: boolean;
993
1016
  viewportReady: boolean;
994
1017
  freezeFrameFromVideo: FreezeFrameMessage;
@@ -1000,12 +1023,12 @@ interface UnrealState {
1000
1023
  ssInfo: string | null;
1001
1024
  ssData: SignalingData | null;
1002
1025
  statusPercentSignallingServer: number | null;
1003
- errorMessage: UnrealError | null;
1026
+ errorMessage: ConnectionError | null;
1004
1027
  dataChannelConnected: boolean;
1005
1028
  streamResolution: StreamResolutionProps;
1006
1029
  isVideoPlaying: boolean;
1007
1030
  establishingConnection: boolean;
1008
- disconnectReason: DisconnectType;
1031
+ disconnectReason: DisconnectReasonType;
1009
1032
  loaderCommands: CommandsLoaderState;
1010
1033
  matchUrls: string[];
1011
1034
  streamClientCompanyId: string | null;
@@ -1024,11 +1047,11 @@ declare const selectIsFreezeFrameLoading: _ngrx_store.MemoizedSelector<Record<st
1024
1047
  declare const selectFreezeFrameCombinedDataUrl: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: string | null, s2: string | null) => string | null>;
1025
1048
  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>;
1026
1049
  declare const selectWarnTimeout: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: _3dsource_angular_unreal_module.StreamConfig) => number>;
1027
- declare const selectMatchMakerUrls: _ngrx_store.MemoizedSelector<Record<string, any>, string[], (s1: string[]) => string[]>;
1050
+ declare const selectIsExistMatchUrls: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: string[]) => boolean>;
1028
1051
  declare const selectIsAutostart: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: _3dsource_angular_unreal_module.StreamConfig) => boolean>;
1029
- declare const selectWsUrl: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: _3dsource_angular_unreal_module.AwsInstance) => string | null>;
1030
- declare const selectShowReconnectPopup: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean, s3: boolean, s4: string | null, s5: string | null) => boolean>;
1031
- declare const selectShowLoader: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean, s3: _3dsource_angular_unreal_module.StreamConfig, s4: boolean) => boolean>;
1052
+ declare const showPopupWithoutAutoStart: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: _3dsource_angular_unreal_module.StreamConfig, s2: boolean) => boolean>;
1053
+ declare const selectShowReconnectPopup: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
1054
+ declare const selectShowLoader: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
1032
1055
  declare const selectIsVideoPlayingAndDataChannelConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
1033
1056
  declare const selectSignalingParameters: _ngrx_store.MemoizedSelector<Record<string, any>, string, (s1: _3dsource_angular_unreal_module.SignalingData | null, s2: _3dsource_angular_unreal_module.AwsInstance, s3: string | null) => string>;
1034
1057
  declare const selectLoaderCommands: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.CommandsLoaderState, (s1: _3dsource_angular_unreal_module.CommandsLoaderState) => _3dsource_angular_unreal_module.CommandsLoaderState>;
@@ -1047,6 +1070,14 @@ declare const selectLastCommandInProgress: _ngrx_store.MemoizedSelector<Record<s
1047
1070
  * Returns Scene load progress as a float value in between 0-1
1048
1071
  */
1049
1072
  declare const selectTotalProgress: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: number | null, s2: number, s3: _3dsource_angular_unreal_module.AwsInstance) => number>;
1073
+ declare const selectClientAndViewIds: _ngrx_store.MemoizedSelector<Record<string, any>, {
1074
+ clientId: string | null;
1075
+ viewId: string | null;
1076
+ }, (s1: string | null, s2: string | null) => {
1077
+ clientId: string | null;
1078
+ viewId: string | null;
1079
+ }>;
1080
+ declare const isLoaderScreenVisible: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean, s3: boolean) => boolean>;
1050
1081
 
1051
1082
  declare const removeExileCommands: (state: CommandsLoaderState, idToRemove: string) => {
1052
1083
  commandsInProgress: {
@@ -1265,39 +1296,127 @@ interface AwsInstance {
1265
1296
  }
1266
1297
 
1267
1298
  declare class SignallingService extends SubService {
1299
+ private readonly action$;
1268
1300
  private readonly httpClient;
1269
1301
  private readonly regionsPingService;
1270
1302
  onOffer$: Subject<RTCSessionDescriptionInit>;
1271
1303
  onConfig$: Subject<ConfigMessage>;
1272
1304
  onWebRtcIce$: Subject<RTCIceCandidate>;
1273
1305
  onWebRtcAnswer$: Subject<RTCSessionDescriptionInit | null>;
1306
+ abort$: Observable<_ngrx_store.Action<string>>;
1274
1307
  private ws;
1275
- protected wsTimeoutHandler: ReturnType<typeof setTimeout>;
1276
1308
  private wsMsgHandlers;
1277
1309
  protected correlationId: string;
1278
1310
  protected environmentId: string;
1279
- private establishingConnection;
1280
- private isCirrusConnected;
1281
- private establishingConnectionDrop$;
1282
1311
  constructor();
1283
- protected initEstablishingConnection(): void;
1284
- private stopEstablishingConnection;
1285
- private connectToSignaling;
1286
- private connectToSignalingAfterPing;
1312
+ connectToSignaling(urlList: string[]): Observable<WebSocket>;
1313
+ protected startEstablishingConnection(): void;
1314
+ private adaptUrlsToRegion;
1315
+ /**
1316
+ * Resolves an active AWS *signaling* instance and returns a WebSocket endpoint.
1317
+ *
1318
+ * The observable produced by this method is **cold** and executes inside a `defer`,
1319
+ * so each subscription (including those triggered by `retry`) pulls the **next**
1320
+ * URL candidate from a generator created by `getActiveUrl(urlsPool)`.
1321
+ *
1322
+ * ### Execution flow
1323
+ *
1324
+ * 1. **Telemetry** — Starts a `getSignaling` span for end-to-end timing.
1325
+ * 2. **Candidate URL selection** — A stateful generator (`urlGen`) is created
1326
+ * from `urlsPool`. Each resubscription (e.g. via `retry`) advances to the next URL.
1327
+ * 3. **Short-circuit for WS URLs** — If the picked candidate already matches
1328
+ * `ws://` or `wss://`, emit `{ wsUrl, pollingUrl: null, instanceName: null }`
1329
+ * immediately and complete (no HTTP request).
1330
+ * 4. **Await client/view identifiers** — `this.store.select(selectClientAndViewIds)`
1331
+ * is tapped for logging (missing IDs) and then filtered to require both `clientId`
1332
+ * and `viewId` to be truthy.
1333
+ * 5. **Single in-flight HTTP orchestration call** — Uses `exhaustMap` to issue
1334
+ * `GET {signalingUrl}{clientId}/{viewId}`. New `{clientId, viewId}` emissions
1335
+ * while the request is in flight are **ignored** until completion, preventing overlap.
1336
+ * 6. **Per-attempt timeout** — `timeout(WS_TIMEOUT)` caps how long we wait for a response.
1337
+ * On timeout, the attempt errors and the outer `retry` schedules the next URL.
1338
+ * 7. **Response validation & progress reporting** — A `filter`:
1339
+ * - Calls `TelemetryStop('getSignaling', { ...data, multi: true })` on receipt.
1340
+ * - If `data.signallingServer === ''` or `data.error`:
1341
+ * shows a status message, optionally dispatches `setStatusPercentSignallingServer`
1342
+ * with `data.info.percent`, and **throws** to fail the attempt (triggers `retry`).
1343
+ * 8. **Mapping to `AwsInstance`** — Converts the validated orchestration payload into:
1344
+ * - `wsUrl`: via `httpUrlToWs(\`\${location.protocol}//\${data.signallingServer}\`)`
1345
+ * - `pollingUrl`: the base `signalingUrl` that succeeded
1346
+ * - `instanceName`: the (validated) `data.signallingServer`
1347
+ * 9. **Retry policy** — On *any* upstream error (timeout, HTTP error, invalid payload),
1348
+ * `retry({ delay })`:
1349
+ * - Shows a “connecting” status,
1350
+ * - Logs the attempt number,
1351
+ * - Waits `WS_TIMEOUT` ms (via `timer`) and **resubscribes**, advancing `urlGen`.
1352
+ *
1353
+ * ### Concurrency semantics
1354
+ *
1355
+ * - `exhaustMap` guarantees a **single** HTTP request per attempt; subsequent
1356
+ * `{clientId, viewId}` emissions are ignored until the current request completes.
1357
+ *
1358
+ * ### Telemetry semantics
1359
+ *
1360
+ * - `TelemetryStart('getSignaling')` begins before work.
1361
+ * - `TelemetryStop('getSignaling', {...})` runs on receipt of an orchestration response.
1362
+ * If an attempt fails (e.g., timeout), stopping the span is the responsibility of
1363
+ * your telemetry layer or a `finalize` elsewhere if desired.
1364
+ *
1365
+ * ### Error & retry semantics
1366
+ *
1367
+ * - Missing/never-emitted IDs → timeout → retry with next URL.
1368
+ * - HTTP/network error → retry with next URL.
1369
+ * - Invalid orchestration payload (`error` set or empty `signallingServer`) → throw in
1370
+ * validation filter → retry with next URL.
1371
+ * - Short-circuit WS path **does not** retry (emits once, completes).
1372
+ *
1373
+ * @param urlsPool - Ordered list of base URLs to probe. Retries advance through this list
1374
+ * until a working signaling server is found. A candidate may also be a direct `ws://`/`wss://`
1375
+ * URL to short-circuit HTTP orchestration.
1376
+ *
1377
+ * @returns Observable that emits exactly one {@link AwsInstance} on success and then completes.
1378
+ * On failure, the stream errors; the built-in `retry` operator re-subscribes after `WS_TIMEOUT`
1379
+ * and advances to the next URL candidate.
1380
+ *
1381
+ * @throws Emits an error within the observable chain (not a thrown synchronous exception) when:
1382
+ * - The HTTP request fails or times out.
1383
+ * - The orchestration response indicates an error or an empty `signallingServer`.
1384
+ * - Any other operator in the chain surfaces an error.
1385
+ *
1386
+ * @remarks
1387
+ * - The URL generator (`urlGen`) is created **outside** `defer`, so resubscriptions
1388
+ * advance the pool. Creating it inside `defer` would restart from the first URL each retry.
1389
+ * - `location.protocol` is used to derive `ws` vs `wss`. If this may run in non-browser
1390
+ * contexts (e.g., SSR), guard or abstract this logic.
1391
+ * - Consider capping retries with `count` in `retry({ count, delay })` when appropriate.
1392
+ *
1393
+ * @example
1394
+ * ```ts
1395
+ * getAwsInstance(['https://signaling.example.com/', 'wss://direct.example.com'])
1396
+ * .subscribe({
1397
+ * next: ({ wsUrl }) => connect(wsUrl),
1398
+ * error: (e) => console.error('Unable to establish signaling:', e),
1399
+ * });
1400
+ * ```
1401
+ *
1402
+ * @see httpUrlToWs
1403
+ * @see selectClientAndViewIds
1404
+ * @see setStatusPercentSignallingServer
1405
+ */
1406
+ private getAwsInstance;
1407
+ private connectToCirrus;
1408
+ addWsHandlers(ws: WebSocket): void;
1287
1409
  showStatusMessage(message: string | null): void;
1288
1410
  /**
1289
1411
  * Close the connection with the signaling server
1290
1412
  * @param data
1291
1413
  */
1292
- close(data: CloseReason | void): void;
1414
+ close(data: CloseReason): void;
1293
1415
  send(data: string | object): void;
1294
- protected watchTimeoutOrErrorAndReconnectLater(): void;
1295
- protected stopRetryTimer(): void;
1296
- private initWebSocket;
1297
- private httpUrlToWs;
1298
1416
  private clearWs;
1299
1417
  protected handleMessage(msg: MessageBase): void;
1300
1418
  private setHandlersFromStream;
1419
+ private getRegion;
1301
1420
  static ɵfac: i0.ɵɵFactoryDeclaration<SignallingService, never>;
1302
1421
  static ɵprov: i0.ɵɵInjectableDeclaration<SignallingService>;
1303
1422
  }
@@ -1393,7 +1512,6 @@ declare class WebRtcPlayerService extends SubService {
1393
1512
  private forceTURN;
1394
1513
  private forceMonoAudio;
1395
1514
  private dcClient;
1396
- private webRtcErrorTimeout;
1397
1515
  constructor();
1398
1516
  private listenSignaling;
1399
1517
  private createWebRtcOffer;
@@ -1408,7 +1526,6 @@ declare class WebRtcPlayerService extends SubService {
1408
1526
  canSend(): boolean | null;
1409
1527
  send(data: ArrayBuffer): void;
1410
1528
  private setConfig;
1411
- private dispatchWebRtcError;
1412
1529
  private createPeerConnection;
1413
1530
  private handlePeerConnectionEvents;
1414
1531
  private setupTransceiversAsync;
@@ -1423,10 +1540,11 @@ declare class AfkRestartScreenLockerComponent implements AfterViewInit, OnInit {
1423
1540
  store: Store<any>;
1424
1541
  videoService: VideoService;
1425
1542
  destroyRef: DestroyRef;
1426
- showReconnectPopup: i0.Signal<boolean | undefined>;
1427
- isViewportReady: i0.Signal<boolean | undefined>;
1428
- imageLoadingSrc: i0.Signal<string | undefined>;
1429
- streamConfig: i0.Signal<_3dsource_angular_unreal_module.StreamConfig | undefined>;
1543
+ showReconnectPopup: i0.Signal<boolean>;
1544
+ isLoaderScreenVisible: i0.Signal<boolean>;
1545
+ imageLoadingSrc: i0.Signal<string>;
1546
+ streamConfig: i0.Signal<_3dsource_angular_unreal_module.StreamConfig>;
1547
+ isExistMatchUrls: i0.Signal<boolean>;
1430
1548
  isSecondStart: i0.WritableSignal<boolean>;
1431
1549
  playCallBack: null | (() => void);
1432
1550
  ngOnInit(): void;
@@ -1463,7 +1581,7 @@ declare class StatGraphComponent implements AfterViewInit {
1463
1581
  static ɵcmp: i0.ɵɵComponentDeclaration<StatGraphComponent, "app-stat-graph", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "tickStep": { "alias": "tickStep"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "dataTick": { "alias": "dataTick"; "required": false; }; }, {}, never, never, true, never>;
1464
1582
  }
1465
1583
 
1466
- declare class UnrealSceneComponent implements AfterViewInit, OnInit, OnDestroy {
1584
+ declare class UnrealSceneComponent implements AfterViewInit {
1467
1585
  isStudio: i0.InputSignal<boolean>;
1468
1586
  useContainerAsSizeProvider: i0.InputSignal<boolean>;
1469
1587
  studioResolutionSize: i0.InputSignal<{
@@ -1479,8 +1597,9 @@ declare class UnrealSceneComponent implements AfterViewInit, OnInit, OnDestroy {
1479
1597
  private width;
1480
1598
  private height;
1481
1599
  private store;
1482
- lightMode: i0.Signal<boolean | undefined>;
1483
- isFreezeFrameLoading: i0.Signal<boolean | undefined>;
1600
+ lightMode: i0.Signal<boolean>;
1601
+ isFreezeFrameLoading: i0.Signal<boolean>;
1602
+ isExistMatchUrls: i0.Signal<boolean>;
1484
1603
  private aggregatorService;
1485
1604
  private commandsSender;
1486
1605
  private inputService;
@@ -1492,9 +1611,8 @@ declare class UnrealSceneComponent implements AfterViewInit, OnInit, OnDestroy {
1492
1611
  private get pixelRatio();
1493
1612
  onMouseOver(): void;
1494
1613
  onMouseOut(): void;
1495
- ngOnInit(): void;
1614
+ constructor();
1496
1615
  ngAfterViewInit(): void;
1497
- ngOnDestroy(): void;
1498
1616
  private adaptVideo;
1499
1617
  /**
1500
1618
  * This method calculates the dimensions for resizing a layout in a configurator stream.
@@ -1645,5 +1763,5 @@ declare class SafePipe implements PipeTransform {
1645
1763
  static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "safe", true>;
1646
1764
  }
1647
1765
 
1648
- export { AFKService, AfkRestartScreenLockerComponent, AggregatorService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY, ClickableOverlayComponent, CommandTelemetryService, ConfigHandler, ConsoleExtensionsService, DATA_CHANNEL_CONNECTION_TIMEOUT, DEBOUNCE_TO_MANY_RESIZE_CALLS, DEFAULT_AFK_TIMEOUT, DEFAULT_AFK_TIMEOUT_PERIOD, DataFlowMonitor, DevModeService, DisconnectReason, EControlSchemeType, EMessageType, EToClientMessageType, FULL_HD_HEIGHT, FULL_HD_WIDTH, FilterSettingsComponent, FreezeFrameComponent, FreezeFrameService, IceCandidateHandler, InputOptions, InputService, InstanceReadyHandler, InstanceReservedHandler, KalmanFilter1D, LatencyTimings, LowBandwidthDetectorComponent, LowBandwidthModalComponent, MINIMAL_FPS, MouseButton, MouseButtonsMask, OnCloseHandler, OnErrorHandler, OnMessageHandler, OnOpenHandler, OrchestrationMessageTypes, PingHandler, PlayerCountHandler, RegionsPingService, ResetTelemetry, SAME_SIZE_THRESHOLD, SCREEN_LOCKER_CONTAINER_ID, SIGNALLING_PERCENT_VALUE, SSInfoHandler, STREAMING_VIDEO_ID, SafePipe, SignallingService, SpecialKeyCodes, StatGraphComponent, StreamStatusTelemetryService, SubService, TelemetryStart, TelemetryStop, UNREAL_CONFIG, UnrealCommunicatorService, UnrealEffects, UnrealInternalSignalEvents, UnrealSceneComponent, UnrealStatusMessage, VideoLockerComponent, VideoRecorder, VideoService, VideoStatsComponent, WSCloseCode_NORMAL_AFK_TIMEOUT, WSCloseCode_NORMAL_CIRRUS_CLOSED, WSCloseCode_NORMAL_CLOSURE, WSCloseCode_NORMAL_MANUAL_DISCONNECT, WSCloseCodes, WS_OPEN_STATE, WS_TIMEOUT, WebRtcPlayerService, WebrtcErrorModalComponent, alignProductsToPlaneCommand, changeLowBandwidth, changeStatusMainVideoOnScene, changeStreamResolutionAction, changeStreamResolutionSuccessAction, clampAndKeepMaxPercents, clampPanToProductsCommand, commandCompleted, commandStarted, decodeData, destroyConnectionsAndResetState, destroyRemoteConnections, dispatchResize, floatToSmoothPercents, forceResizeUnrealVideo, fromResizeObserver, fromSignal, fromUnrealCallBackSignal, getActiveUrl, getApplyCameraPresetCommand, getApplyZoomCommand, getCameraBoxCommand, getCameraRecenterCommand, getCameraSettingsCommand, getChangeGizmoTypeCommand, getChangeResolutionCommand, getClickSnapCommand, getControlSensitivityCommand, getDebugModeCommand, getDragCommand, getDragSequenceCommand, getDropCommand, getEnableComposureCommand, getEnableControlsCommand, getEnableSceneStateCallbackCommand, getEnableSpinnerModeCommand, getEnableTeleportCommand, getExecuteConsoleCommand, getFitToObjectsCommand, getFreezeFrameCommand, getFreezeFrameNative, getImageFromVideoStream, getInitSequenceByObjectNameCommand, getJumpToSequenceCommand, getLoadLevelCommand, getLoadProductCommand, getLoadSceneStateCommand, getLoopBackCommand, getMoveSelectedCommand, getPauseSequenceCommand, getPlaySequenceCommand, getRequestCameraPresetCommand, getResetControlClampsCommand, getRotateSelectedCommand, getRtcErrorMessage, getSelectProductByObjectNameCommand, getSetCameraControlClampsCommand, getSetControlCameraModeCommand, getSetFpsCommand, getSetMaterialCommand, getSetPawnMovementModeCommand, getSetSettingsSequenceCommand, getStopSequenceCommand, getTakeRenderCommand, getTakeSpinnerRenderCommand, getTakeSpinnerRenderPreviewCommand, getUnLoadAllProductsCommand, getUnLoadProductByObjectNameCommand, getUnfreezeFrameNative, getUnselectAllProductsCommand, getWeatherCommand, initSignalling, initialState, mapQpToQuality, observeCommandResponse, provideAngularUnrealModule, removeExileCommands, resetAfk, resetAfkAction, resetConfig, resetIntroSrc, resetUnrealState, resetUnrealStateAction, resetWarnTimeout, selectCommandProgress, selectCommandsInProgress, selectFreezeFrameCombinedDataUrl, selectFreezeFrameDataUrl, selectFreezeFrameDataUrlFromVideo, selectFreezeFrameProgressMessageFromVideo, selectIsAutostart, selectIsFreezeFrameLoading, selectIsVideoPlayingAndDataChannelConnected, selectLastCommandInProgress, selectLoaderCommands, selectMatchMakerUrls, selectShowLoader, selectShowReconnectPopup, selectSignalingParameters, selectStreamConfig, selectTotalProgress, selectWarnTimeout, selectWsUrl, sendSignal, setAwsInstance, setCirrusConnected, setCirrusDisconnected, setConfig, setDataChannelConnected, setErrorMessage, setEstablishingConnection, setFreezeFrame, setFreezeFrameFromVideo, setIntroImageSrc, setIntroVideoSrc, setIsFreezeLoaderPercents, setLoadingImageSrc, setLoopBackCommandIsCompleted, setMatchMakerUrls, setMatchUrls, setMaxFps, setProductsLocationCommand, setSignalingName, setStatusMessage, setStatusPercentSignallingServer, setStreamClientCompanyId, setStreamViewId, setViewportReady, showUnrealErrorMessage, smoothTransition, trackMixpanelEvent, unLoadAllLevelsCommand, unrealFeature, unrealReducer, updateCirrusInfo };
1649
- export type { AwsInstance, CandidateMessage, CloseReason, CommandsLoaderState, ConfigMessage, DataFlowCheckResult, DisconnectType, EControlSchemeTypeValues, EMessageTypeValues, FreezeFrameMessage, IAggregatedStat, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, LBMStats, MessageBase, NormalizeAndQuantizeSignedValue, NormalizeAndQuantizeUnsignedValue, ObservedCallbackResponse, OrchestrationMessageType, PingMessage, PlayerCountMessage, PollingOrchestrationMessage, Quality, SSInfo, SignalDescriptor, SignalingData, SignalingMessageHandler, SignalingMessageMap, StreamConfig, StreamResolutionProps, StreamerListMessage, TelemetryType, UnknownFields, UnquantizeAndDenormalizeUnsignedValue, UnrealCallBackJson, UnrealError, UnrealErrorType, UnrealInitialConfig, UnrealState, WSCloseCodesValues, WrappedMetaBoxCommandPacket };
1766
+ export { AFKService, AfkRestartScreenLockerComponent, AggregatorService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY, ClickableOverlayComponent, CommandTelemetryService, ConfigHandler, ConsoleExtensionsService, DATA_CHANNEL_CONNECTION_TIMEOUT, DEBOUNCE_TO_MANY_RESIZE_CALLS, DEFAULT_AFK_TIMEOUT, DEFAULT_AFK_TIMEOUT_PERIOD, DataFlowMonitor, DevModeService, DisconnectReason, EControlSchemeType, EMessageType, EToClientMessageType, FULL_HD_HEIGHT, FULL_HD_WIDTH, FilterSettingsComponent, FreezeFrameComponent, FreezeFrameService, IceCandidateHandler, InputOptions, InputService, InstanceReadyHandler, InstanceReservedHandler, KalmanFilter1D, LatencyTimings, LowBandwidthDetectorComponent, LowBandwidthModalComponent, MINIMAL_FPS, MouseButton, MouseButtonsMask, OnCloseHandler, OnErrorHandler, OnMessageHandler, OnOpenHandler, OrchestrationMessageTypes, POLLING_TIME, PingHandler, PlayerCountHandler, RegionsPingService, ResetTelemetry, SAME_SIZE_THRESHOLD, SCREEN_LOCKER_CONTAINER_ID, SIGNALLING_PERCENT_VALUE, SSInfoHandler, STREAMING_VIDEO_ID, SafePipe, SignallingService, SpecialKeyCodes, StatGraphComponent, StreamStatusTelemetryService, SubService, TelemetryStart, TelemetryStop, UNREAL_CONFIG, UnrealCommunicatorService, UnrealEffects, UnrealInternalSignalEvents, UnrealSceneComponent, UnrealStatusMessage, VideoLockerComponent, VideoRecorder, 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, WSCloseCodes, WS_OPEN_STATE, WS_TIMEOUT, WebRtcPlayerService, WebrtcErrorModalComponent, abortEstablishingConnection, alignProductsToPlaneCommand, changeLowBandwidth, changeStatusMainVideoOnScene, changeStreamResolutionAction, changeStreamResolutionSuccessAction, clampAndKeepMaxPercents, clampPanToProductsCommand, commandCompleted, commandStarted, decodeData, destroyRemoteConnections, destroyUnrealScene, disconnectStream, dispatchResize, dropConnection, floatToSmoothPercents, forceResizeUnrealVideo, fromResizeObserver, fromSignal, fromUnrealCallBackSignal, getActiveUrl, getApplyCameraPresetCommand, getApplyZoomCommand, getCameraBoxCommand, getCameraRecenterCommand, getCameraSettingsCommand, getChangeGizmoTypeCommand, getChangeResolutionCommand, getClickSnapCommand, getControlSensitivityCommand, getDebugModeCommand, getDragCommand, getDragSequenceCommand, getDropCommand, getEnableComposureCommand, getEnableControlsCommand, getEnableSceneStateCallbackCommand, getEnableSpinnerModeCommand, getEnableTeleportCommand, getExecuteConsoleCommand, getFitToObjectsCommand, getFreezeFrameCommand, getFreezeFrameNative, getImageFromVideoStream, getInitSequenceByObjectNameCommand, getJumpToSequenceCommand, getLoadLevelCommand, getLoadProductCommand, getLoadSceneStateCommand, getLoopBackCommand, getMoveSelectedCommand, getPauseSequenceCommand, getPlaySequenceCommand, getRequestCameraPresetCommand, getResetControlClampsCommand, getRotateSelectedCommand, getRtcErrorMessage, getSelectProductByObjectNameCommand, getSetCameraControlClampsCommand, getSetControlCameraModeCommand, getSetFpsCommand, getSetMaterialCommand, getSetPawnMovementModeCommand, getSetSettingsSequenceCommand, getStopSequenceCommand, getTakeRenderCommand, getTakeSpinnerRenderCommand, getTakeSpinnerRenderPreviewCommand, getUnLoadAllProductsCommand, getUnLoadProductByObjectNameCommand, getUnfreezeFrameNative, getUnselectAllProductsCommand, getWeatherCommand, initSignalling, initialState, isLoaderScreenVisible, mapQpToQuality, observeCommandResponse, provideAngularUnrealModule, removeExileCommands, resetAfk, resetAfkAction, resetConfig, resetIntroSrc, resetWarnTimeout, selectClientAndViewIds, selectCommandProgress, selectCommandsInProgress, selectFreezeFrameCombinedDataUrl, selectFreezeFrameDataUrl, selectFreezeFrameDataUrlFromVideo, selectFreezeFrameProgressMessageFromVideo, selectIsAutostart, selectIsExistMatchUrls, selectIsFreezeFrameLoading, selectIsVideoPlayingAndDataChannelConnected, selectLastCommandInProgress, selectLoaderCommands, selectShowLoader, selectShowReconnectPopup, selectSignalingParameters, selectStreamConfig, selectTotalProgress, selectWarnTimeout, sendSignal, setAwsInstance, setCirrusConnected, setCirrusDisconnected, setConfig, setDataChannelConnected, setEstablishingConnection, setFreezeFrame, setFreezeFrameFromVideo, setIntroImageSrc, setIntroVideoSrc, setLoadingImageSrc, setLoopBackCommandIsCompleted, setMatchUrls, setMaxFps, setProductsLocationCommand, setSignalingName, setStatusMessage, setStatusPercentSignallingServer, setStreamClientCompanyId, setStreamViewId, setViewportNotReady, setViewportReady, showPopupWithoutAutoStart, showUnrealErrorMessage, smoothTransition, startStream, trackMixpanelEvent, unLoadAllLevelsCommand, unrealFeature, unrealReducer, updateCirrusInfo };
1767
+ export type { AwsInstance, CandidateMessage, CloseReason, CommandsLoaderState, ConfigMessage, ConnectionError, DataFlowCheckResult, DisconnectReasonType, EControlSchemeTypeValues, EMessageTypeValues, FreezeFrameMessage, IAggregatedStat, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, LBMStats, MessageBase, NormalizeAndQuantizeSignedValue, NormalizeAndQuantizeUnsignedValue, ObservedCallbackResponse, OrchestrationMessageType, PingMessage, PlayerCountMessage, PollingOrchestrationMessage, Quality, SSInfo, SignalDescriptor, SignalingData, SignalingMessageHandler, SignalingMessageMap, StreamConfig, StreamResolutionProps, StreamerListMessage, TelemetryType, UnknownFields, UnquantizeAndDenormalizeUnsignedValue, UnrealCallBackJson, UnrealInitialConfig, UnrealState, WSCloseCodesValues, WrappedMetaBoxCommandPacket };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dsource/angular-unreal-module",
3
- "version": "0.0.46",
3
+ "version": "0.0.50",
4
4
  "description": "Angular Unreal module for connect with unreal engine stream",
5
5
  "keywords": [
6
6
  "3dsource",
@@ -22,12 +22,12 @@
22
22
  "@3dsource/source-ui-native": ">=1.0.9",
23
23
  "@3dsource/types-unreal": ">=0.0.5",
24
24
  "@3dsource/utils": ">=1.0.21",
25
- "@angular/cdk": ">=19.0.0",
26
- "@angular/common": ">=19.0.0",
27
- "@angular/core": ">=19.0.0",
28
- "@angular/forms": ">=19.0.0",
29
- "@ngrx/effects": ">=19.0.0",
30
- "@ngrx/store": ">=19.0.0"
25
+ "@angular/cdk": ">=18.0.0",
26
+ "@angular/common": ">=18.0.0",
27
+ "@angular/core": ">=18.0.0",
28
+ "@angular/forms": ">=18.0.0",
29
+ "@ngrx/effects": ">=18.0.0",
30
+ "@ngrx/store": ">=18.0.0"
31
31
  },
32
32
  "engines": {
33
33
  "node": ">=20",