@3dsource/angular-unreal-module 0.0.127 → 0.0.131

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.
@@ -235,7 +235,7 @@ const OUTER_RETRY_DELAY = POLLING_TIME * 2;
235
235
  const WS_RETRY_PER_INSTANCE = 1;
236
236
  const WS_OPEN_STATE = 1;
237
237
  const DEFAULT_AFK_TIMEOUT_PERIOD = 15;
238
- const DEFAULT_AFK_TIMEOUT = 600; // 10 minutes
238
+ const DEFAULT_AFK_TIMEOUT = 300; // 5 minutes
239
239
  const DATA_CHANNEL_CONNECTION_TIMEOUT = 8000; //ms;
240
240
  const SIGNALLING_PERCENT_VALUE = 56;
241
241
  const SCREEN_LOCKER_CONTAINER_ID = '3dsource_start_screen';
@@ -6996,6 +6996,12 @@ class UnrealSceneComponent {
6996
6996
  });
6997
6997
  }
6998
6998
  sendResize(size) {
6999
+ const video = this.videoService.video;
7000
+ if (!video) {
7001
+ return;
7002
+ }
7003
+ video.style.width = `100%`;
7004
+ video.style.height = `100%`;
6999
7005
  this.commandsSender.sendCommandToUnreal({
7000
7006
  command: MetaBoxCommand.FChangeResolutionCommand,
7001
7007
  payload: {