@3dsource/angular-unreal-module 0.0.195 → 0.0.196
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.
|
@@ -7659,7 +7659,7 @@ var UnrealSceneComponent = class UnrealSceneComponent {
|
|
|
7659
7659
|
};
|
|
7660
7660
|
}), filter$1(Truthy), distinctUntilChanged((previous, current) => fpIsASameAsB(previous.area.w, current.area.w, 1.01) && fpIsASameAsB(previous.area.h, current.area.h, 1.01) && previous.key === current.key), tap$1(({ area }) => this.adaptVideo(area))).pipe(map$1(({ area }) => clampStreamResolution(area)), combineLatestWith(this.#store.select(unrealFeature.selectDataChannelConnected).pipe(distinctUntilChanged(), tap$1((connected) => {
|
|
7661
7661
|
if (!connected) this.lastSentResolution = null;
|
|
7662
|
-
}), filter$1(
|
|
7662
|
+
}))), filter$1(([, connected]) => connected), takeUntilDestroyed(this.destroyRef)).subscribe(([size]) => this.applyResolution(size));
|
|
7663
7663
|
this.actions$.pipe(ofType(forceResizeViewport), map$1(() => this.resizeValues), filter$1(Truthy), takeUntilDestroyed(this.destroyRef)).subscribe((area) => this.sendResize(clampStreamResolution(area)));
|
|
7664
7664
|
}
|
|
7665
7665
|
applyResolution(size) {
|