@3dsource/angular-unreal-module 0.0.143 → 0.0.145

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dsource/angular-unreal-module",
3
- "version": "0.0.143",
3
+ "version": "0.0.145",
4
4
  "description": "Unreal module for connect with unreal engine stream",
5
5
  "keywords": [
6
6
  "3dsource",
@@ -94,7 +94,6 @@ declare class UnrealSceneComponent {
94
94
  private readonly commandsSender;
95
95
  private readonly videoService;
96
96
  private readonly webRtcPlayerService;
97
- private readonly signallingService;
98
97
  private readonly destroyRef;
99
98
  private readonly unrealConfig;
100
99
  private autoHighResolution;
@@ -872,12 +871,6 @@ declare class InputService extends SubService {
872
871
  private isKeyCodeBrowserKey;
873
872
  private getKeyCode;
874
873
  private registerKeyboardEvents;
875
- /**
876
- * Keys that must never reach the Unreal stream from the viewport — Backspace
877
- * (browser back navigation), Enter and Delete — regardless of dev mode. An
878
- * HTML input keeps them so text entry still works; only the viewport ignores
879
- * them. Applied independently of the configurable key filter.
880
- */
881
874
  private isIgnoredViewportKey;
882
875
  private startListenKeys;
883
876
  static ɵfac: i0.ɵɵFactoryDeclaration<InputService, never>;
@@ -1398,6 +1391,17 @@ declare class WebRtcPlayerService extends SubService {
1398
1391
  * Closes existing PeerConnection and DataChannel, resets negotiation state.
1399
1392
  */
1400
1393
  closePC(): void;
1394
+ /**
1395
+ * Single source of truth for tearing down the remote connection: closes the
1396
+ * signaling WebSocket and then the PeerConnection/DataChannel.
1397
+ *
1398
+ * Called by the `destroyRemoteConnections$` effect and, as a
1399
+ * lifecycle-independent safeguard, by `UnrealSceneComponent.onDestroy` (the
1400
+ * route-scoped effects may already be torn down on navigation). Both close
1401
+ * steps are idempotent, so invoking this twice in one teardown is a harmless
1402
+ * no-op.
1403
+ */
1404
+ releaseRemoteConnections(reason: DisconnectReasonType): void;
1401
1405
  canSend(): boolean | null;
1402
1406
  send(data: ArrayBuffer): void;
1403
1407
  /**