@3dsource/angular-unreal-module 0.0.28 → 0.0.30

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.
Files changed (107) hide show
  1. package/LICENSE +14 -14
  2. package/README.md +117 -36
  3. package/fesm2022/3dsource-angular-unreal-module.mjs +236 -235
  4. package/fesm2022/3dsource-angular-unreal-module.mjs.map +1 -1
  5. package/index.d.ts +1637 -3
  6. package/package.json +2 -2
  7. package/lib/components/clickable-overlay/clickable-overlay.component.d.ts +0 -11
  8. package/lib/components/freeze-frame/freeze-frame.component.d.ts +0 -8
  9. package/lib/components/index.d.ts +0 -10
  10. package/lib/components/low-bandwidth-indicator/DataFlowConstants.d.ts +0 -66
  11. package/lib/components/low-bandwidth-indicator/filter-settings/filter-settings.component.d.ts +0 -37
  12. package/lib/components/low-bandwidth-indicator/index.d.ts +0 -2
  13. package/lib/components/low-bandwidth-indicator/low-bandwidth-detector.component.d.ts +0 -38
  14. package/lib/components/low-bandwidth-modal/low-bandwidth-modal.component.d.ts +0 -8
  15. package/lib/components/screen-locker/afk-restart-screen-locker.component.d.ts +0 -22
  16. package/lib/components/stat-graph/stat-graph.component.d.ts +0 -28
  17. package/lib/components/unreal-error-modal/unreal-error-modal.component.d.ts +0 -11
  18. package/lib/components/unreal-scene/unreal-scene.component.d.ts +0 -50
  19. package/lib/components/unreal-status/unreal-status.component.d.ts +0 -24
  20. package/lib/components/video-locker/video-locker.component.d.ts +0 -14
  21. package/lib/components/video-stats/video-stats.component.d.ts +0 -36
  22. package/lib/components/webrtc-error-modal/webrtc-error-modal.component.d.ts +0 -10
  23. package/lib/constants/ButtonsAndCodes.d.ts +0 -23
  24. package/lib/constants/EControlSchemeType.d.ts +0 -6
  25. package/lib/constants/EMessageType.d.ts +0 -25
  26. package/lib/constants/EToClientMessageType.d.ts +0 -12
  27. package/lib/constants/InputOptions.d.ts +0 -2
  28. package/lib/constants/UnrealStatusMessage.d.ts +0 -4
  29. package/lib/constants/index.d.ts +0 -8
  30. package/lib/constants/initial-config.d.ts +0 -3
  31. package/lib/constants/unreal.constant.d.ts +0 -15
  32. package/lib/helpers/CommandObserver.d.ts +0 -8
  33. package/lib/helpers/DataDecoder.d.ts +0 -1
  34. package/lib/helpers/DataFlowMonitor.d.ts +0 -39
  35. package/lib/helpers/EventWrapper.d.ts +0 -18
  36. package/lib/helpers/FromStreamerHandlers/AnswerHandler.d.ts +0 -3
  37. package/lib/helpers/FromStreamerHandlers/ConfigHandler.d.ts +0 -3
  38. package/lib/helpers/FromStreamerHandlers/IceCandidateHandler.d.ts +0 -4
  39. package/lib/helpers/FromStreamerHandlers/InstanceReadyHandler.d.ts +0 -3
  40. package/lib/helpers/FromStreamerHandlers/InstanceReservedHandler.d.ts +0 -3
  41. package/lib/helpers/FromStreamerHandlers/PingHandler.d.ts +0 -2
  42. package/lib/helpers/FromStreamerHandlers/PlayerCountHandler.d.ts +0 -3
  43. package/lib/helpers/FromStreamerHandlers/SSInfoHandler.d.ts +0 -3
  44. package/lib/helpers/FromStreamerHandlers/index.d.ts +0 -8
  45. package/lib/helpers/GetNextUrl.d.ts +0 -1
  46. package/lib/helpers/KalmanFilter1D.d.ts +0 -20
  47. package/lib/helpers/LatencyTimings.d.ts +0 -13
  48. package/lib/helpers/TouchEmulator.d.ts +0 -24
  49. package/lib/helpers/VideoRecorder.d.ts +0 -8
  50. package/lib/helpers/WsHandlers/OnCloseHandler.d.ts +0 -2
  51. package/lib/helpers/WsHandlers/OnErrorHandler.d.ts +0 -2
  52. package/lib/helpers/WsHandlers/OnMessageHandler.d.ts +0 -2
  53. package/lib/helpers/WsHandlers/OpenHandler.d.ts +0 -2
  54. package/lib/helpers/WsHandlers/index.d.ts +0 -4
  55. package/lib/helpers/clamp-and-keep-max-percents.d.ts +0 -2
  56. package/lib/helpers/deepEqual.d.ts +0 -1
  57. package/lib/helpers/dispatchResize.d.ts +0 -2
  58. package/lib/helpers/error-codes.d.ts +0 -1
  59. package/lib/helpers/float-to-smooth-percents.d.ts +0 -2
  60. package/lib/helpers/get-image-from-video-stream.d.ts +0 -3
  61. package/lib/helpers/index.d.ts +0 -21
  62. package/lib/helpers/mapQpToQuality.d.ts +0 -2
  63. package/lib/helpers/prepare-commands.d.ts +0 -52
  64. package/lib/helpers/remove-exile-commands.d.ts +0 -10
  65. package/lib/helpers/resetAfk.d.ts +0 -1
  66. package/lib/helpers/resize-observer.d.ts +0 -2
  67. package/lib/interfaces/CloseReason.d.ts +0 -5
  68. package/lib/interfaces/CustomCloseCodes.d.ts +0 -6
  69. package/lib/interfaces/LBMStats.d.ts +0 -6
  70. package/lib/interfaces/SignalingData.d.ts +0 -8
  71. package/lib/interfaces/SignalingMessage.d.ts +0 -77
  72. package/lib/interfaces/TelemetryEvent.d.ts +0 -1
  73. package/lib/interfaces/disconnect-reasons.d.ts +0 -9
  74. package/lib/interfaces/errors.interface.d.ts +0 -5
  75. package/lib/interfaces/freeze-frame-message.interface.d.ts +0 -4
  76. package/lib/interfaces/index.d.ts +0 -15
  77. package/lib/interfaces/initial-config.d.ts +0 -6
  78. package/lib/interfaces/input.interface.d.ts +0 -19
  79. package/lib/interfaces/quality.interface.d.ts +0 -1
  80. package/lib/interfaces/stream-config.interface.d.ts +0 -5
  81. package/lib/interfaces/stream-resolution.interface.d.ts +0 -4
  82. package/lib/interfaces/unreal-internal-signal-events.interface.d.ts +0 -83
  83. package/lib/pipes/index.d.ts +0 -1
  84. package/lib/pipes/safe-html.pipe.d.ts +0 -9
  85. package/lib/services/afk.service.d.ts +0 -38
  86. package/lib/services/aggregator.service.d.ts +0 -52
  87. package/lib/services/command-telemetry.service.d.ts +0 -71
  88. package/lib/services/console-extensions.service.d.ts +0 -10
  89. package/lib/services/dev-mode.service.d.ts +0 -7
  90. package/lib/services/freeze-frame.service.d.ts +0 -16
  91. package/lib/services/index.d.ts +0 -15
  92. package/lib/services/input.service.d.ts +0 -53
  93. package/lib/services/regions-ping.service.d.ts +0 -35
  94. package/lib/services/signalling.service.d.ts +0 -40
  95. package/lib/services/stream-status-telemetry.service.d.ts +0 -11
  96. package/lib/services/sub.service.d.ts +0 -5
  97. package/lib/services/unreal-communicator.service.d.ts +0 -38
  98. package/lib/services/video-stream-status.service.d.ts +0 -24
  99. package/lib/services/video.service.d.ts +0 -17
  100. package/lib/services/web-rtc-player.service.d.ts +0 -44
  101. package/lib/store/index.d.ts +0 -5
  102. package/lib/store/unreal.actions.d.ts +0 -176
  103. package/lib/store/unreal.effects.d.ts +0 -69
  104. package/lib/store/unreal.feature.d.ts +0 -32
  105. package/lib/store/unreal.reducer.d.ts +0 -44
  106. package/lib/store/unreal.selectors.d.ts +0 -30
  107. package/public-api.d.ts +0 -7
package/LICENSE CHANGED
@@ -1,14 +1,14 @@
1
- Copyright (c) 2025 3dsource
2
- All Rights Reserved.
3
-
4
- This software and associated documentation files (the “Software”) are proprietary
5
- and confidential. Unauthorized copying, modification, distribution, or any other
6
- use of the Software, in whole or in part, without the prior written consent of
7
- the copyright holder is strictly prohibited.
8
-
9
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
11
- FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
12
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
13
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
14
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright (c) 2025 3dsource
2
+ All Rights Reserved.
3
+
4
+ This software and associated documentation files (the “Software”) are proprietary
5
+ and confidential. Unauthorized copying, modification, distribution, or any other
6
+ use of the Software, in whole or in part, without the prior written consent of
7
+ the copyright holder is strictly prohibited.
8
+
9
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
11
+ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
12
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
13
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
14
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,36 +1,117 @@
1
- # @3dsource/angular-unreal-module
2
-
3
- ### An unreal scene standalone component for a metabox studio and configurators for communicate with unreal applications
4
-
5
- ## Installation
6
-
7
- ### peer dependencies
8
-
9
- _List of peer dependencies_
10
-
11
- ```json
12
- {
13
- "@3dsource/source-ui-native": "^1.0.7",
14
- "@3dsource/types-unreal": "^0.0.1",
15
- "@3dsource/utils": "^1.0.13",
16
- "@angular/cdk": "^19.2.0",
17
- "@angular/common": "^19.2.0",
18
- "@angular/core": "^19.2.0",
19
- "@angular/forms": "^19.2.0",
20
- "@ngrx/effects": "^19.1.0",
21
- "@ngrx/operators": "^19.1.0",
22
- "@ngrx/store": "^19.1.0"
23
- }
24
- ```
25
-
26
- ```shell
27
- npx install-peerdeps @3dsource/angular-unreal-module
28
- ```
29
-
30
- ### library
31
-
32
- ```shell
33
- npm i @3dsource/angular-unreal-module
34
- ```
35
-
36
- ## Usage
1
+ # @3dsource/angular-unreal-module
2
+
3
+ A standalone Angular component for integrating Unreal Engine scenes into web applications. This module facilitates communication between Angular applications and Unreal Engine, enabling interactive 3D experiences.
4
+
5
+ ## Overview
6
+
7
+ The Angular Unreal Module provides:
8
+
9
+ - Seamless integration of Unreal Engine content in Angular applications
10
+ - Communication bridge between Angular and Unreal Engine
11
+ - State management for 3D scene interactions
12
+ - Configurators for customizing Unreal Engine applications
13
+
14
+ ## Installation
15
+
16
+ ### Prerequisites
17
+
18
+ - Angular 19+
19
+ - NgRx store and effects
20
+
21
+ ### Peer Dependencies
22
+
23
+ This library requires the following peer dependencies:
24
+
25
+ ```json
26
+ {
27
+ "@3dsource/source-ui-native": "^1.0.7",
28
+ "@3dsource/types-unreal": "^0.0.1",
29
+ "@3dsource/utils": "^1.0.13",
30
+ "@angular/cdk": "^19.2.0",
31
+ "@angular/common": "^19.2.0",
32
+ "@angular/core": "^19.2.0",
33
+ "@angular/forms": "^19.2.0",
34
+ "@ngrx/effects": "^19.1.0",
35
+ "@ngrx/operators": "^19.1.0",
36
+ "@ngrx/store": "^19.1.0"
37
+ }
38
+ ```
39
+
40
+ Install peer dependencies:
41
+
42
+ ```shell
43
+ npx install-peerdeps @3dsource/angular-unreal-module
44
+ ```
45
+
46
+ ### Library Installation
47
+
48
+ ```shell
49
+ npm i @3dsource/angular-unreal-module
50
+ ```
51
+
52
+ ## Usage
53
+
54
+ ### Basic Integration
55
+
56
+ 1. Import the UnrealModule in your Angular application:
57
+
58
+ ```typescript
59
+ import { UnrealModule } from '@3dsource/angular-unreal-module';
60
+
61
+ @NgModule({
62
+ imports: [
63
+ UnrealModule.forRoot({
64
+ // Configuration options
65
+ })
66
+ ]
67
+ })
68
+ export class AppModule {
69
+ }
70
+ ```
71
+
72
+ 2. Use the Unreal scene component in your templates:
73
+
74
+ ```html
75
+
76
+ <unreal-scene
77
+ [config]="unrealConfig"
78
+ (sceneReady)="onSceneReady($event)">
79
+ </unreal-scene>
80
+ ```
81
+
82
+ ### Communication with Unreal Engine
83
+
84
+ The module provides services for sending commands to and receiving events from Unreal Engine:
85
+
86
+ ```typescript
87
+ import { UnrealService } from '@3dsource/angular-unreal-module';
88
+
89
+ @Component({ ... })
90
+ export class MyComponent {
91
+ constructor(private unrealService: UnrealService) {
92
+ }
93
+
94
+ sendCommand() {
95
+ this.unrealService.sendCommand({
96
+ command: 'SomeCommand',
97
+ parameters: { /* command parameters */ }
98
+ });
99
+ }
100
+ }
101
+ ```
102
+
103
+ ## Features
104
+
105
+ - **Unreal Scene Component**: Embed Unreal Engine content in Angular applications
106
+ - **Command API**: Send commands to Unreal Engine
107
+ - **Event Handling**: React to events from Unreal Engine
108
+ - **State Management**: NgRx integration for managing 3D scene state
109
+ - **Configuration Options**: Customize the Unreal Engine integration
110
+
111
+ ## Examples
112
+
113
+ Check the demo application for complete usage examples:
114
+
115
+ ```shell
116
+ npm run demo:start
117
+ ```