@3dsource/angular-unreal-module 0.0.7 → 0.0.9
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/README.md +2 -63
- package/fesm2022/3dsource-angular-unreal-module.mjs +5676 -5690
- package/fesm2022/3dsource-angular-unreal-module.mjs.map +1 -1
- package/lib/components/index.d.ts +3 -3
- package/lib/components/pdf/helpers/format-date.d.ts +1 -0
- package/lib/components/pdf/helpers/index.d.ts +1 -0
- package/lib/constants/InputOptions.d.ts +1 -1
- package/lib/constants/index.d.ts +0 -1
- package/lib/constants/initial-config.d.ts +1 -1
- package/lib/interfaces/LBMStats.d.ts +1 -1
- package/lib/interfaces/SignalingMessage.d.ts +1 -1
- package/lib/interfaces/input.interface.d.ts +1 -1
- package/lib/interfaces/unreal-internal-signal-events.interface.d.ts +1 -1
- package/lib/store/unreal.actions.d.ts +2 -8
- package/lib/store/unreal.effects.d.ts +1 -1
- package/lib/store/unreal.feature.d.ts +2 -2
- package/lib/store/unreal.reducer.d.ts +2 -10
- package/lib/store/unreal.selectors.d.ts +5 -5
- package/package.json +9 -8
- package/lib/constants/unreal.providers.d.ts +0 -18
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export * from './clickable-overlay/clickable-overlay.component';
|
|
2
2
|
export * from './freeze-frame/freeze-frame.component';
|
|
3
|
-
export * from './low-bandwidth-indicator';
|
|
4
3
|
export * from './low-bandwidth-modal/low-bandwidth-modal.component';
|
|
5
|
-
export * from './pdf';
|
|
6
4
|
export * from './screen-locker/afk-restart-screen-locker.component';
|
|
7
|
-
export * from './show-case';
|
|
8
5
|
export * from './stat-graph/stat-graph.component';
|
|
9
6
|
export * from './unreal-scene/unreal-scene.component';
|
|
10
7
|
export * from './video-locker/video-locker.component';
|
|
11
8
|
export * from './video-stats/video-stats.component';
|
|
12
9
|
export * from './webrtc-error-modal/webrtc-error-modal.component';
|
|
10
|
+
export * from './low-bandwidth-indicator';
|
|
11
|
+
export * from './pdf';
|
|
12
|
+
export * from './show-case';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const formatDate: () => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { InputProps } from '../interfaces
|
|
1
|
+
import type { InputProps } from '../interfaces';
|
|
2
2
|
export declare const InputOptions: InputProps;
|
package/lib/constants/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MetaBoxCommandPacket } from './';
|
|
2
2
|
import type { Quality } from './quality.interface';
|
|
3
|
-
import type { DataFlowCheckResult } from '../helpers
|
|
3
|
+
import type { DataFlowCheckResult } from '../helpers';
|
|
4
4
|
export declare const UnrealInternalSignalEvents: {
|
|
5
5
|
readonly OnVideoInitialized: "OnVideoInitialized";
|
|
6
6
|
readonly RestAfkTimer: "RestAfkTimer";
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type {
|
|
3
|
-
import type { SignalingData } from '../interfaces/SignalingData';
|
|
4
|
-
import type { StreamConfig } from '../interfaces/stream-config.interface';
|
|
5
|
-
import type { DisconnectType } from '../interfaces/disconnect-reasons';
|
|
6
|
-
import type { MetaBoxCommand } from '../interfaces';
|
|
7
|
-
import type { ShowCaseStatusValues } from '../components/show-case/interfaces/showcase-status';
|
|
8
|
-
import type { PdfContent } from '../components/pdf/interfaces/pdf.interface';
|
|
1
|
+
import { DisconnectType, LBMStats, MetaBoxCommand, SignalingData, StreamConfig, UnrealErrorType } from '../interfaces';
|
|
2
|
+
import type { PdfContent, ShowCaseStatusValues } from '../components';
|
|
9
3
|
export declare const changeLowBandwidth: import("@ngrx/store").ActionCreator<string, (props: {
|
|
10
4
|
lowBandwidth: boolean;
|
|
11
5
|
stats?: LBMStats;
|
|
@@ -45,7 +45,7 @@ export declare class UnrealEffects {
|
|
|
45
45
|
message: string;
|
|
46
46
|
} & import("@ngrx/store").Action<string>, boolean]> & import("@ngrx/effects").CreateEffectMetadata;
|
|
47
47
|
resetAfkAction$: import("rxjs").Observable<import("@ngrx/store").Action<string>> & import("@ngrx/effects").CreateEffectMetadata;
|
|
48
|
-
lowBandSlideshow$: import("rxjs").Observable<import("../helpers
|
|
48
|
+
lowBandSlideshow$: import("rxjs").Observable<import("../helpers").ObservedCallbackResponse<import("../interfaces").FFreezeFrameCommand>> & import("@ngrx/effects").CreateEffectMetadata;
|
|
49
49
|
setDataChannelTimeoutCheck$: import("rxjs").Observable<{
|
|
50
50
|
disconnectReason: import("../interfaces").DisconnectType;
|
|
51
51
|
} & import("@ngrx/store").Action<string>> & import("@ngrx/effects").CreateEffectMetadata;
|
|
@@ -2,11 +2,10 @@ export declare const unrealFeature: {
|
|
|
2
2
|
name: "unrealFeature";
|
|
3
3
|
reducer: import("@ngrx/store").ActionReducer<import("./unreal.reducer").UnrealState, import("@ngrx/store").Action<string>>;
|
|
4
4
|
selectUnrealFeatureState: import("@ngrx/store").MemoizedSelector<Record<string, any>, import("./unreal.reducer").UnrealState, (featureState: import("./unreal.reducer").UnrealState) => import("./unreal.reducer").UnrealState>;
|
|
5
|
-
selectSsInfo: import("@ngrx/store").MemoizedSelector<Record<string, any>, string | null, (featureState: import("./unreal.reducer").UnrealState) => string | null>;
|
|
6
|
-
selectFreezeFrame: import("@ngrx/store").MemoizedSelector<Record<string, any>, import("@3dsource/angular-unreal-module").FreezeFrameMessage, (featureState: import("./unreal.reducer").UnrealState) => import("@3dsource/angular-unreal-module").FreezeFrameMessage>;
|
|
7
5
|
selectLowBandwidth: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (featureState: import("./unreal.reducer").UnrealState) => boolean>;
|
|
8
6
|
selectDisconnectReason: import("@ngrx/store").MemoizedSelector<Record<string, any>, import("@3dsource/angular-unreal-module").DisconnectType, (featureState: import("./unreal.reducer").UnrealState) => import("@3dsource/angular-unreal-module").DisconnectType>;
|
|
9
7
|
selectIsVideoPlaying: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (featureState: import("./unreal.reducer").UnrealState) => boolean>;
|
|
8
|
+
selectSsInfo: import("@ngrx/store").MemoizedSelector<Record<string, any>, string | null, (featureState: import("./unreal.reducer").UnrealState) => string | null>;
|
|
10
9
|
selectSsData: import("@ngrx/store").MemoizedSelector<Record<string, any>, import("@3dsource/angular-unreal-module").SignalingData | null, (featureState: import("./unreal.reducer").UnrealState) => import("@3dsource/angular-unreal-module").SignalingData | null>;
|
|
11
10
|
selectLowBandwidthStats: import("@ngrx/store").MemoizedSelector<Record<string, any>, import("@3dsource/angular-unreal-module").LBMStats | undefined, (featureState: import("./unreal.reducer").UnrealState) => import("@3dsource/angular-unreal-module").LBMStats | undefined>;
|
|
12
11
|
selectStreamConfig: import("@ngrx/store").MemoizedSelector<Record<string, any>, import("@3dsource/angular-unreal-module").StreamConfig, (featureState: import("./unreal.reducer").UnrealState) => import("@3dsource/angular-unreal-module").StreamConfig>;
|
|
@@ -16,6 +15,7 @@ export declare const unrealFeature: {
|
|
|
16
15
|
selectCirrusConnected: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (featureState: import("./unreal.reducer").UnrealState) => boolean>;
|
|
17
16
|
selectViewportReady: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (featureState: import("./unreal.reducer").UnrealState) => boolean>;
|
|
18
17
|
selectFreezeFrameFromVideo: import("@ngrx/store").MemoizedSelector<Record<string, any>, import("@3dsource/angular-unreal-module").FreezeFrameMessage, (featureState: import("./unreal.reducer").UnrealState) => import("@3dsource/angular-unreal-module").FreezeFrameMessage>;
|
|
18
|
+
selectFreezeFrame: import("@ngrx/store").MemoizedSelector<Record<string, any>, import("@3dsource/angular-unreal-module").FreezeFrameMessage, (featureState: import("./unreal.reducer").UnrealState) => import("@3dsource/angular-unreal-module").FreezeFrameMessage>;
|
|
19
19
|
selectStatusMessage: import("@ngrx/store").MemoizedSelector<Record<string, any>, string | null, (featureState: import("./unreal.reducer").UnrealState) => string | null>;
|
|
20
20
|
selectStatusPercentSignallingServer: import("@ngrx/store").MemoizedSelector<Record<string, any>, number | null, (featureState: import("./unreal.reducer").UnrealState) => number | null>;
|
|
21
21
|
selectErrorMessage: import("@ngrx/store").MemoizedSelector<Record<string, any>, import("@3dsource/angular-unreal-module").UnrealError | null, (featureState: import("./unreal.reducer").UnrealState) => import("@3dsource/angular-unreal-module").UnrealError | null>;
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import type { FreezeFrameMessage } from '../interfaces/freeze-frame-message.interface';
|
|
4
|
-
import type { SignalingData } from '../interfaces/SignalingData';
|
|
5
|
-
import type { UnrealError } from '../interfaces/errors.interface';
|
|
6
|
-
import type { StreamConfig } from '../interfaces/stream-config.interface';
|
|
7
|
-
import type { StreamResolutionProps } from '../interfaces/stream-resolution.interface';
|
|
8
|
-
import type { DisconnectType } from '../interfaces/disconnect-reasons';
|
|
9
|
-
import type { MetaBoxCommand } from '../interfaces';
|
|
10
|
-
import type { ShowCaseStatusValues } from '../components/show-case/interfaces/showcase-status';
|
|
1
|
+
import { AwsInstance, DisconnectType, FreezeFrameMessage, LBMStats, MetaBoxCommand, SignalingData, StreamConfig, StreamResolutionProps, UnrealError } from '../interfaces';
|
|
2
|
+
import { ShowCaseStatusValues } from '../components';
|
|
11
3
|
export interface CommandsLoaderState {
|
|
12
4
|
commandsInProgress: {
|
|
13
5
|
timeStamp: number;
|
|
@@ -10,11 +10,11 @@ export declare const selectIsAutostart: import("@ngrx/store").MemoizedSelector<R
|
|
|
10
10
|
export declare const selectWsUrl: import("@ngrx/store").MemoizedSelector<Record<string, any>, string | null, (s1: import("@3dsource/angular-unreal-module").AwsInstance) => string | null>;
|
|
11
11
|
export declare const selectShowReconnectPopup: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean, s3: boolean, s4: string | null, s5: string | null) => boolean>;
|
|
12
12
|
export declare const selectShowLoader: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean, s3: import("@3dsource/angular-unreal-module").StreamConfig, s4: boolean) => boolean>;
|
|
13
|
-
export declare const selectIsShowShowcase: import("@ngrx/store").MemoizedSelector<Record<string, any>, string | true | null, (s1: import("../components
|
|
14
|
-
export declare const selectShowcaseIsInit: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: import("../components
|
|
15
|
-
export declare const selectShowcaseIsStopped: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: import("../components
|
|
16
|
-
export declare const selectShowcaseIsPlayStatus: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: import("../components
|
|
17
|
-
export declare const selectShowcaseIsPauseStatus: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: import("../components
|
|
13
|
+
export declare const selectIsShowShowcase: import("@ngrx/store").MemoizedSelector<Record<string, any>, string | true | null, (s1: import("../components").ShowCaseStatusValues, s2: string | null) => string | true | null>;
|
|
14
|
+
export declare const selectShowcaseIsInit: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: import("../components").ShowCaseStatusValues) => boolean>;
|
|
15
|
+
export declare const selectShowcaseIsStopped: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: import("../components").ShowCaseStatusValues) => boolean>;
|
|
16
|
+
export declare const selectShowcaseIsPlayStatus: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: import("../components").ShowCaseStatusValues) => boolean>;
|
|
17
|
+
export declare const selectShowcaseIsPauseStatus: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: import("../components").ShowCaseStatusValues) => boolean>;
|
|
18
18
|
export declare const selectShowcaseIsPlaying: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
19
19
|
export declare const selectIsVideoPlayingAndDataChannelConnected: import("@ngrx/store").MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
20
20
|
export declare const selectSignalingParameters: import("@ngrx/store").MemoizedSelector<Record<string, any>, string, (s1: import("@3dsource/angular-unreal-module").SignalingData | null, s2: import("@3dsource/angular-unreal-module").AwsInstance, s3: string | null) => string>;
|
package/package.json
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@3dsource/angular-unreal-module",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
|
+
"description": "",
|
|
5
|
+
"license": "MIT",
|
|
4
6
|
"sideEffects": false,
|
|
5
7
|
"dependencies": {
|
|
6
8
|
"tslib": "^2.8.1"
|
|
7
9
|
},
|
|
8
10
|
"peerDependencies": {
|
|
11
|
+
"@3dsource/utils": "^1.0.13",
|
|
9
12
|
"@angular/common": "^19.2.0",
|
|
10
13
|
"@angular/core": "^19.2.0",
|
|
11
|
-
"@3dsource/utils": "^1.0.13",
|
|
12
|
-
"@source/ui-sdk": "^19.0.100",
|
|
13
14
|
"@ngrx/component-store": "^19.1.0",
|
|
14
|
-
"@ngrx/operators": "^19.1.0",
|
|
15
15
|
"@ngrx/effects": "^19.1.0",
|
|
16
|
+
"@ngrx/operators": "^19.1.0",
|
|
16
17
|
"@ngrx/store": "^19.1.0",
|
|
17
|
-
"
|
|
18
|
-
"
|
|
18
|
+
"@source/ui-sdk": "^19.0.100",
|
|
19
|
+
"@types/mixpanel-browser": "^2.54.0",
|
|
19
20
|
"html2canvas": "^1.4.1",
|
|
21
|
+
"immer": "^10.1.1",
|
|
20
22
|
"jspdf": "^3.0.1",
|
|
21
|
-
"dayjs": "^1.11.13",
|
|
22
23
|
"mixpanel-browser": "^2.64.0",
|
|
23
|
-
"
|
|
24
|
+
"ngrx-immer": "^3.0.0"
|
|
24
25
|
},
|
|
25
26
|
"module": "fesm2022/3dsource-angular-unreal-module.mjs",
|
|
26
27
|
"typings": "index.d.ts",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AFKService } from '../services/afk.service';
|
|
2
|
-
import { AggregatorService } from '../services/aggregator.service';
|
|
3
|
-
import { CommandTelemetryService } from '../services/command-telemetry.service';
|
|
4
|
-
import { ConsoleExtensionsService } from '../services/console-extensions.service';
|
|
5
|
-
import { FreezeFrameService } from '../services/freeze-frame.service';
|
|
6
|
-
import { InputService } from '../services/input.service';
|
|
7
|
-
import { SignallingService } from '../services/signalling.service';
|
|
8
|
-
import { StreamStatusTelemetryService } from '../services/stream-status-telemetry.service';
|
|
9
|
-
import { UnrealCommunicatorService } from '../services/unreal-communicator.service';
|
|
10
|
-
import { VideoService } from '../services/video.service';
|
|
11
|
-
import { VideoStreamStatusService } from '../services/video-stream-status.service';
|
|
12
|
-
import { WebRtcPlayerService } from '../services/web-rtc-player.service';
|
|
13
|
-
import { ImageCaptureService } from '../services/image-capture.service';
|
|
14
|
-
import { RegionsPingService } from '../services/regions-ping.service';
|
|
15
|
-
export declare const UNREAL_PROVIDERS: (import("@angular/core").EnvironmentProviders | (typeof CommandTelemetryService | typeof WebRtcPlayerService | typeof VideoStreamStatusService | typeof VideoService | typeof AFKService | typeof FreezeFrameService | typeof ConsoleExtensionsService | typeof UnrealCommunicatorService | typeof ImageCaptureService | typeof RegionsPingService | typeof SignallingService | typeof InputService | typeof AggregatorService | typeof StreamStatusTelemetryService)[] | {
|
|
16
|
-
provide: import("@angular/core").InjectionToken<import("@3dsource/angular-unreal-module").UnrealInitialConfig>;
|
|
17
|
-
useValue: {};
|
|
18
|
-
})[];
|