@3dsource/angular-unreal-module 0.0.77-dev.1 → 0.0.77-dev.2

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.
@@ -413,7 +413,6 @@ class FreezeFrameService extends SubService {
413
413
  this.freezeFrameOverlay = new Image();
414
414
  }
415
415
  init() {
416
- console.log('DEBUG: FreezeFrameService init');
417
416
  this.store
418
417
  .select(unrealFeature.selectViewportReady)
419
418
  .pipe(filter(Truthy))
@@ -609,7 +608,6 @@ class VideoService extends SubService {
609
608
  this.init();
610
609
  }
611
610
  init() {
612
- console.log('DEBUG: VideoService init');
613
611
  Signal.on('setKalmanParams').subscribe((data) => {
614
612
  this.kalmanFilter1D.config(data);
615
613
  BITRATE_MONITOR.config(data);
@@ -873,7 +871,6 @@ class CommandTelemetryService {
873
871
  this.init();
874
872
  }
875
873
  init() {
876
- console.log('DEBUG: CommandTelemetryService init');
877
874
  if (!this.unrealInitialConfig?.commandTelemetryReceiver) {
878
875
  return;
879
876
  }
@@ -1199,7 +1196,6 @@ class SignallingService extends SubService {
1199
1196
  this.init();
1200
1197
  }
1201
1198
  init() {
1202
- console.log('DEBUG: SignallingService init');
1203
1199
  this.setHandlersFromStream();
1204
1200
  this.store
1205
1201
  .select(unrealFeature.selectDataChannelConnected)
@@ -1511,7 +1507,6 @@ class WebRtcPlayerService extends SubService {
1511
1507
  this.init();
1512
1508
  }
1513
1509
  init() {
1514
- console.log('DEBUG: WebRtcPlayerService init');
1515
1510
  const iceCandidateBuffer = [];
1516
1511
  const processBuffer = () => {
1517
1512
  iceCandidateBuffer.forEach((cnd) => {
@@ -1896,7 +1891,6 @@ class FileReceiverService extends SubService {
1896
1891
  this.init();
1897
1892
  }
1898
1893
  init() {
1899
- console.log('DEBUG: FileReceiverService init');
1900
1894
  this.store
1901
1895
  .select(unrealFeature.selectViewportReady)
1902
1896
  .pipe(filter(Truthy))
@@ -2012,7 +2006,6 @@ class AggregatorService extends SubService {
2012
2006
  this.destroy$ = new Subject();
2013
2007
  }
2014
2008
  init() {
2015
- console.log('DEBUG: AggregatorService init');
2016
2009
  this.listenWebRTC();
2017
2010
  this.initialize();
2018
2011
  }
@@ -2191,7 +2184,6 @@ class ConsoleExtensionsService extends SubService {
2191
2184
  #httpClient = inject(HttpClient);
2192
2185
  #isDevMode = inject(DevModeService).isDevMode;
2193
2186
  init() {
2194
- console.log('DEBUG: ConsoleExtensionsService init');
2195
2187
  if (!this.#isDevMode) {
2196
2188
  return;
2197
2189
  }
@@ -2433,7 +2425,6 @@ class UnrealCommunicatorService {
2433
2425
  this.consoleExtensionsService.init();
2434
2426
  this.afkService.init();
2435
2427
  this.freezeFrameService.init();
2436
- console.log('DEBUG: UnrealCommunicatorService init');
2437
2428
  this.emitUIInteraction = this.commandTelemetryService.decorate(this.emitUIInteraction.bind(this));
2438
2429
  this.listenVideo();
2439
2430
  this.store
@@ -3129,7 +3120,6 @@ class StreamStatusTelemetryService {
3129
3120
  #store = inject(Store);
3130
3121
  #videoService = inject(VideoService);
3131
3122
  init() {
3132
- console.log('DEBUG: StreamStatusTelemetryService init');
3133
3123
  this.#videoService.videoStats$
3134
3124
  .pipe(withLatestFrom(this.#store.select(unrealFeature.selectAwsInstance), this.#store.select(unrealFeature.selectLowBandwidth), this.#store.select(unrealFeature.selectLowBandwidthStats), this.#store.select(unrealFeature.selectCirrusConnected)), auditTime(5000), filter(([, , , , cirrusConnected]) => cirrusConnected), map$1(([data, signalingServer, isLowBandwidth, lbmStats]) => this.mapEventData(data, signalingServer, isLowBandwidth, lbmStats)))
3135
3125
  .subscribe((data) => this.trackEventToMixPanel(data));
@@ -3822,8 +3812,8 @@ class UnrealEffects {
3822
3812
  info: action?.error ?? '',
3823
3813
  },
3824
3814
  })
3825
- .pipe(tap(() => console.log(`successfully send to ${this.unrealInitialConfig?.customErrorsEndpoint}`)), catchError(() => {
3826
- console.error(`get error from ${this.unrealInitialConfig?.customErrorsEndpoint}`);
3815
+ .pipe(tap(() => Logger.log(`successfully send to ${this.unrealInitialConfig?.customErrorsEndpoint}`)), catchError(() => {
3816
+ Logger.error(`get error from ${this.unrealInitialConfig?.customErrorsEndpoint}`);
3827
3817
  return EMPTY;
3828
3818
  }))));
3829
3819
  }, { dispatch: false });