@3dsource/angular-unreal-module 0.0.106-dev.1 → 0.0.106
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.
|
@@ -128,7 +128,7 @@ const WS_TIMEOUT = 2000;
|
|
|
128
128
|
const POLLING_TIME = 4000;
|
|
129
129
|
const WS_OPEN_STATE = 1;
|
|
130
130
|
const DEFAULT_AFK_TIMEOUT_PERIOD = 15;
|
|
131
|
-
const DEFAULT_AFK_TIMEOUT =
|
|
131
|
+
const DEFAULT_AFK_TIMEOUT = 120;
|
|
132
132
|
const DATA_CHANNEL_CONNECTION_TIMEOUT = 8000; //ms;
|
|
133
133
|
const SIGNALLING_PERCENT_VALUE = 56;
|
|
134
134
|
const SCREEN_LOCKER_CONTAINER_ID = '3dsource_start_screen';
|
|
@@ -1274,11 +1274,7 @@ class UnrealEffects {
|
|
|
1274
1274
|
this.destroyConnections$ = createEffect(() => {
|
|
1275
1275
|
return this.actions$.pipe(ofType(destroyUnrealScene), tap(() => {
|
|
1276
1276
|
this.commandsSender.destroy();
|
|
1277
|
-
|
|
1278
|
-
// This effect runs asynchronously and would race with a new
|
|
1279
|
-
// UnrealSceneComponent that already set its container via
|
|
1280
|
-
// afterNextRender. The container's children are cleaned by
|
|
1281
|
-
// VideoService.destroy() which is triggered via disconnect$.
|
|
1277
|
+
this.videoService.setContainer(null);
|
|
1282
1278
|
}), map(() => destroyRemoteConnections({ reason: DisconnectReason.Destroy })));
|
|
1283
1279
|
});
|
|
1284
1280
|
this.destroyRemoteConnections$ = createEffect(() => {
|