@3dsource/angular-unreal-module 0.0.32-dev.0 → 0.0.33
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.
|
@@ -988,7 +988,11 @@ class SignallingService extends SubService {
|
|
|
988
988
|
this.store.select(unrealFeature.selectStreamClientCompanyId),
|
|
989
989
|
this.store.select(unrealFeature.selectStreamViewId),
|
|
990
990
|
])
|
|
991
|
-
.pipe(
|
|
991
|
+
.pipe(tap(([clientId, viewId]) => {
|
|
992
|
+
if (!clientId || !viewId) {
|
|
993
|
+
console.error('Client ID or View ID is not set');
|
|
994
|
+
}
|
|
995
|
+
}), filter(([clientId, viewId]) => !!clientId && !!viewId), tapLog('Stream Id =>'), switchMap(([clientId, viewId]) => this.httpClient.get(`${signalingUrl}${clientId}/${viewId}`)), timeout(4000), filter((data) => {
|
|
992
996
|
TelemetryStop('getSignaling', { ...data, multi: true });
|
|
993
997
|
if (data.signallingServer === '' || data.error) {
|
|
994
998
|
this.showStatusMessage(data?.mm_message || 'Server not found');
|