@3dsource/angular-unreal-module 0.0.164 → 0.0.165
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.
|
@@ -656,7 +656,7 @@ const unrealReducer = createReducer(initialState, on(changeStatusMainVideoOnScen
|
|
|
656
656
|
return { ...state, analyticsEvent: event };
|
|
657
657
|
}), on(setCirrusConnected, (state) => {
|
|
658
658
|
return { ...state, cirrusConnected: true };
|
|
659
|
-
}), on(streamAdopted, (state, { machineId, ssData, streamRequestId }) => {
|
|
659
|
+
}), on(streamAdopted, (state, { machineId, pollingUrl, ssData, streamRequestId }) => {
|
|
660
660
|
return {
|
|
661
661
|
...state,
|
|
662
662
|
cirrusConnected: true,
|
|
@@ -665,7 +665,10 @@ const unrealReducer = createReducer(initialState, on(changeStatusMainVideoOnScen
|
|
|
665
665
|
awsInstance: {
|
|
666
666
|
...state.awsInstance,
|
|
667
667
|
wsUrl: machineId,
|
|
668
|
-
|
|
668
|
+
// The endpoint the prefetch polled. It is the only record of where the
|
|
669
|
+
// adopted stream came from — `connectToSignaling` never ran, so no
|
|
670
|
+
// `setAwsInstance` will fill this in later.
|
|
671
|
+
pollingUrl: pollingUrl ?? state.awsInstance.pollingUrl,
|
|
669
672
|
instanceName: 'Adopted Connection',
|
|
670
673
|
streamRequestId: streamRequestId ?? state.awsInstance.streamRequestId,
|
|
671
674
|
progressComplete: 0,
|
|
@@ -3903,6 +3906,7 @@ class StreamAdoptionService {
|
|
|
3903
3906
|
// script's ids are only used internally to establish the connection.
|
|
3904
3907
|
this.store.dispatch(streamAdopted({
|
|
3905
3908
|
machineId: parked.machineId ?? null,
|
|
3909
|
+
pollingUrl: parked.pollingUrl ?? null,
|
|
3906
3910
|
ssData: parked.ssData ?? null,
|
|
3907
3911
|
streamRequestId: parked.ids?.streamRequestId || null,
|
|
3908
3912
|
timings: parked.timings ?? null,
|