@3dsource/angular-unreal-module 0.0.161 → 0.0.162

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.161",
3
+ "version": "0.0.162",
4
4
  "description": "Angular integration for Unreal Engine Pixel Streaming",
5
5
  "keywords": [
6
6
  "3dsource",
@@ -1246,9 +1246,11 @@ declare class RegionsPingService {
1246
1246
  * All access is guarded — `localStorage` can throw (private mode, disabled
1247
1247
  * storage) or be absent (non-browser).
1248
1248
  *
1249
- * Public so adopted connections (which skip `getFastest`) can replay the
1249
+ * Public so adopted connections (which skip `getFastest`) can still report a
1250
1250
  * region-resolving telemetry phase from the same cached winner — see
1251
- * `UnrealEffects.regionTelemetryOnAdopt$`.
1251
+ * `StreamStatusTelemetryService2.emitAdoptedConnection`. Returns `null` when
1252
+ * the region-ping prefetch never ran or its cache expired; that phase then
1253
+ * carries no region and no ping samples.
1252
1254
  */
1253
1255
  readCachedWinner(): {
1254
1256
  region_code: string;
@@ -1339,6 +1341,16 @@ declare class SignallingService extends SubService {
1339
1341
  * retry which re-pings the region.
1340
1342
  */
1341
1343
  private connectAttempt;
1344
+ /**
1345
+ * Status message for the connect branch. It does NOT dispatch
1346
+ * `setEstablishingConnection` — `UnrealEffects.connectToSignaling$` already
1347
+ * emits that once per logical attempt via `startWith(...)`, covering BOTH
1348
+ * branches (prefetch adoption and a fresh connect). Dispatching it here as
1349
+ * well fired the boundary twice on every cold start, and since
1350
+ * `StreamStatusTelemetryService2` starts a session on that boundary, the
1351
+ * first session was killed 2 ms in as `restart` — losing the only honest
1352
+ * page-load measurement and the prefetch adoption with it.
1353
+ */
1342
1354
  protected startEstablishingConnection(): void;
1343
1355
  private adaptUrlsToRegion;
1344
1356
  /**
@@ -1476,11 +1488,12 @@ declare class StreamAdoptionService {
1476
1488
  *
1477
1489
  * Wrapped in `defer` so the `tryAdopt()` side effect (which dispatches
1478
1490
  * `streamAdopted`) runs at SUBSCRIPTION time, not when the observable is
1479
- * built. The effect prepends `startWith(setEstablishingConnection(true))`,
1480
- * which starts the telemetry session and subscribes its phase catalog; that
1481
- * must happen BEFORE `streamAdopted` → `regionTelemetryOnAdopt$` replays
1482
- * `regionResolved`, or the region phase fires into a session that doesn't
1483
- * exist yet and is lost. `defer` guarantees that ordering.
1491
+ * built. The effect prepends `startWith(setEstablishingConnection(true))` —
1492
+ * the single dispatch site for that boundary — which starts the telemetry
1493
+ * session and subscribes its phase catalog; that must happen BEFORE
1494
+ * `streamAdopted`, or `emitAdoptedConnection` fires into a session that does
1495
+ * not exist yet and the whole connection waterfall is lost. `defer`
1496
+ * guarantees that ordering.
1484
1497
  */
1485
1498
  awaitAndAdopt$(): Observable<boolean>;
1486
1499
  /**