@3dsource/angular-unreal-module 0.0.135 → 0.0.137
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.
package/package.json
CHANGED
|
@@ -857,6 +857,13 @@ declare class InputService extends SubService {
|
|
|
857
857
|
private isKeyCodeBrowserKey;
|
|
858
858
|
private getKeyCode;
|
|
859
859
|
private registerKeyboardEvents;
|
|
860
|
+
/**
|
|
861
|
+
* Keys that must never reach the Unreal stream from the viewport — Backspace
|
|
862
|
+
* (browser back navigation), Enter and Delete — regardless of dev mode. An
|
|
863
|
+
* HTML input keeps them so text entry still works; only the viewport ignores
|
|
864
|
+
* them. Applied independently of the configurable key filter.
|
|
865
|
+
*/
|
|
866
|
+
private isIgnoredViewportKey;
|
|
860
867
|
private startListenKeys;
|
|
861
868
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputService, never>;
|
|
862
869
|
static ɵprov: i0.ɵɵInjectableDeclaration<InputService>;
|
|
@@ -1005,10 +1012,18 @@ declare class StreamStatusTelemetryService extends SubService {
|
|
|
1005
1012
|
static ɵprov: i0.ɵɵInjectableDeclaration<StreamStatusTelemetryService>;
|
|
1006
1013
|
}
|
|
1007
1014
|
|
|
1008
|
-
/**
|
|
1009
|
-
*
|
|
1015
|
+
/**
|
|
1016
|
+
* Every stable id this service can emit on the wire — phases,
|
|
1017
|
+
* milestones, overlays. The viewer's vocabulary maps each member to a
|
|
1018
|
+
* human label, so every id added here needs a paired vocabulary row
|
|
1019
|
+
* in the viewer (`telemetry-vocabulary.ts`).
|
|
1020
|
+
*/
|
|
1021
|
+
type EventId = 'region-resolving' | 'signaling-connection' | 'webrtc-negotiation' | 'unreal-communication' | 'region-ping-fetch-start' | 'region-ping-fetch-end' | 'region-resolved' | 'polling-started' | 'polling-ended' | 'aws-instance-resolved' | 'signaling-ws-connected' | 'instance-reserved' | 'instance-ready' | 'config-received' | 'ssinfo-received' | 'offer-received' | 'answer-sent' | 'answer-received' | 'first-ice-candidate' | 'last-ice-candidate' | 'datachannel-connected' | 'first-command-started' | 'loopback-sent' | 'loopback-received' | 'viewport-ready' | 'polling-to-instance' | 'signaling-handshake' | 'stabilization-warmup';
|
|
1022
|
+
/** Wire-format milestone — minimal by design. `id` is a stable
|
|
1023
|
+
* kebab-case identifier; the viewer maps it to a human label via its
|
|
1024
|
+
* vocabulary. */
|
|
1010
1025
|
interface EmittedMilestone {
|
|
1011
|
-
readonly
|
|
1026
|
+
readonly id: EventId;
|
|
1012
1027
|
readonly time: number;
|
|
1013
1028
|
}
|
|
1014
1029
|
/**
|
|
@@ -1035,11 +1050,12 @@ interface PhaseParam {
|
|
|
1035
1050
|
readonly key: string;
|
|
1036
1051
|
readonly value: string;
|
|
1037
1052
|
}
|
|
1038
|
-
/** Resolved overlay region sent on the wire.
|
|
1053
|
+
/** Resolved overlay region sent on the wire. `id` is a stable
|
|
1054
|
+
* kebab-case identifier mapped to a title by the viewer's vocabulary. */
|
|
1039
1055
|
interface PhaseOverlay {
|
|
1040
1056
|
readonly fromMs: number;
|
|
1041
1057
|
readonly toMs: number;
|
|
1042
|
-
readonly
|
|
1058
|
+
readonly id: EventId;
|
|
1043
1059
|
}
|
|
1044
1060
|
declare class StreamStatusTelemetryService2 {
|
|
1045
1061
|
private readonly store;
|
|
@@ -1066,6 +1082,7 @@ declare class StreamStatusTelemetryService2 {
|
|
|
1066
1082
|
*/
|
|
1067
1083
|
private readonly disconnectReason$;
|
|
1068
1084
|
private readonly errorMessage$;
|
|
1085
|
+
private readonly viewPortReady$;
|
|
1069
1086
|
private session;
|
|
1070
1087
|
/**
|
|
1071
1088
|
* Whether a session has already started during the current page lifetime.
|
|
@@ -1122,11 +1139,11 @@ declare class StreamStatusTelemetryService2 {
|
|
|
1122
1139
|
*/
|
|
1123
1140
|
private emitLifecycle;
|
|
1124
1141
|
/**
|
|
1125
|
-
* Emit the unified `stream.phase_ended` wire event for a closer
|
|
1126
|
-
*
|
|
1127
|
-
*
|
|
1128
|
-
*
|
|
1129
|
-
*
|
|
1142
|
+
* Emit the unified `stream.phase_ended` wire event for a closer —
|
|
1143
|
+
* phaseNo (derived from the catalog index), id, color, milestones,
|
|
1144
|
+
* params, overlays. No display text on the wire: the viewer's
|
|
1145
|
+
* vocabulary maps every id back to a human label, and boundary labels
|
|
1146
|
+
* are derived from neighbor phases.
|
|
1130
1147
|
*/
|
|
1131
1148
|
private emitPhaseEnded;
|
|
1132
1149
|
private handleWindow;
|
|
@@ -2751,4 +2768,4 @@ declare const selectUserInactivityDetected: _ngrx_store.MemoizedSelector<Record<
|
|
|
2751
2768
|
declare const selectIsVideoPlayingAndDataChannelConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
2752
2769
|
|
|
2753
2770
|
export { AFKService, AUTO_HIGH_RESOLUTION_IDLE_MS, AfkTimeoutModalComponent, AggregatorService, AnalyticsService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY, CommandTelemetryService, ConfigHandler, ConsoleExtensionsService, ControlScheme, DATA_CHANNEL_CONNECTION_TIMEOUT, DEBOUNCE_TO_MANY_RESIZE_CALLS, DEFAULT_AFK_TIMEOUT, DEFAULT_AFK_TIMEOUT_PERIOD, DEFAULT_RECONNECT_DELAY_MS, DEFAULT_RECONNECT_ENABLED, DEFAULT_RECONNECT_MAX_ATTEMPTS, DEFAULT_RECONNECT_ON_DATACHANNEL_CLOSE, DEFAULT_RECONNECT_ON_ICE_FAILURE, DESTROY_DISCONNECT_REASONS, DataFlowMonitor, DevModeService, DisconnectReason, FULL_HD_HEIGHT, FULL_HD_WIDTH, FileHandlerService, FileReceiverService, FilterSettingsComponent, FpsMonitorService, FreezeFrameComponent, FreezeFrameService, INNER_RETRY_LIMIT, IceCandidateHandler, ImageLoadingSrcComponent, InputOptions, InputService, InstanceReadyHandler, InstanceReservedHandler, IntroSrcComponent, KalmanFilter1D, LatencyTimings, LoadingProgressService, LowBandwidthDetectorComponent, LowBandwidthModalComponent, MINIMAL_FPS, MIN_CONTAINER_SIZE, MessageType, MouseButton, MouseButtonsMask, OUTER_RETRY_DELAY, OnCloseHandler, OnErrorHandler, OnMessageHandler, OnOpenHandler, OrchestrationMessageTypes, POLLING_TIME, PingHandler, PlayerCountHandler, RegionsPingService, SAME_SIZE_THRESHOLD, SCREEN_LOCKER_CONTAINER_ID, SIGNALLING_PERCENT_VALUE, SSInfoHandler, STREAMING_AUDIO_ID, STREAMING_VIDEO_ID, SafePipe, SignallingService, SpecialKeyCodes, StatGraphComponent, StreamStatusTelemetryService, StreamStatusTelemetryService2, SubService, ToClientMessage, UNREAL_CONFIG, UnrealCallbackService, UnrealCommunicatorService, UnrealEffects, UnrealSceneComponent, UnrealStatusMessage, VideoService, VideoStatsComponent, WSCloseCode_CIRRUS_ABNORMAL_CLOSURE, WSCloseCode_CIRRUS_MAX_PLAYERS_ERROR, WSCloseCode_CIRRUS_PLAYER_DISCONNECTED, WSCloseCode_CIRRUS_STREAMER_KIKED_PLAYER, WSCloseCode_FORCE_CIRRUS_CLOSE, WSCloseCode_NORMAL_AFK_TIMEOUT, WSCloseCode_NORMAL_CLOSURE, WSCloseCode_NORMAL_MANUAL_DISCONNECT, WSCloseCode_UNKNOWN, WSCloseCodes, WS_OPEN_STATE, WS_RETRY_PER_INSTANCE, WS_TIMEOUT, WebRtcPlayerService, WebrtcErrorModalComponent, abortEstablishingConnection, answerSent, changeStatusMainVideoOnScene, changeStreamResolutionAction, commandCompleted, commandStarted, dataChannelConnected, dataChannelReady, decodeData, destroyRemoteConnections, destroyUnrealScene, disconnectStream, dispatchResize, dropConnection, dropDC, dropPC, floatToPercents, floatToSmoothPercents, forceResizeViewport, fromResizeObserver, getActiveUrl, getImageFromVideoStream, getResizeStudioValues, getResizeValuesUniversal, getRtcErrorMessage, iceConnectionFailed, initSignalling, instanceReady, keepMaxUntilReset, makeEven, pollingEnded, pollingStarted, provideUnrealModule, qpToQuality, reconnectPeer, reconnectPeerFailed, reconnectPeerSuccess, regionPingFetchEnd, regionPingFetchStart, regionResolved, resetAfk, resetConfig, resetDataChannelForReconnect, resetIntroSrc, resetUserInactivityTimeout, resetWarnTimeout, saveAnalyticsEvent, selectCirrusConnectionId, selectClientAndViewIds, selectCommandProgress, selectFreezeFrameCombinedDataUrl, selectFreezeFrameDataUrl, selectFreezeFrameDataUrlFromVideo, selectFreezeFrameProgressMessageFromVideo, selectIsAutostart, selectIsExistMatchUrls, selectIsFreezeFrameLoading, selectIsFullyConnected, selectIsLoaderScreenVisible, selectIsVideoPlayingAndDataChannelConnected, selectShowLoader, selectShowReconnectPopup, selectSignalingParameters, selectStreamConfig, selectTotalProgress, selectUserInactivityDetected, selectWarnTimeout, setAfkTimerCountdown, setAfkTimerHide, setAfkTimerVisible, setAwsInstance, setCirrusConnected, setCirrusDisconnected, setConfig, setEstablishingConnection, setFreezeFrame, setFreezeFrameFromVideo, setIntroImageSrc, setIntroVideoSrc, setLoadingImageSrc, setLoopBackCommandIsCompleted, setMaxFps, setOrchestrationContext, setOrchestrationMessage, setOrchestrationParameters, setOrchestrationProgress, setSignalingName, setStatusMessage, setStatusPercentSignallingServer, setStreamClientCompanyId, setStreamViewId, setUnrealPlaywrightConfig, setUserInactivityTimeout, setViewportNotReady, setViewportReady, showLoadingProgress, showResumeStreamPopup, showUnrealErrorMessage, showUserInactivityTimeoutPopup, signalingRetryAttempted, smoothTransition, startStream, trackMixpanelEvent, trackTelemetryData, uint8ToBase64, unrealCommandCallback, unrealFeature, unrealReducer, updateCirrusInfo, videoAdaptedToContainer, videoStreamInitialized };
|
|
2754
|
-
export type { AggregatedStat, AnySignalingMessage, AwsInstance, CandidateMessage, CloseReason, CommandInProgress, ConfigMessage, ConnectionError, ControlSchemeValues, DataFlowCheckResult, DisconnectReasonType, EmittedMilestone, ForceClientDisconnect, FreezeFrameMessage, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, InterruptClientStream, ListStreamersMessage, MessageBase, MessageTypeValues, NormalizeAndQuantizeSignedValue, NormalizeAndQuantizeUnsignedValue, OrchestrationErrorMessage, OrchestrationMessageType, P2PEstablishedMessage, PhaseOverlay, PhaseParam, PingMessage, PlayerCountMessage, PollingOrchestrationMessage, Quality, ReceivedFile, ReconnectConfig, RequestStream, SSInfo, SelectedIceCandidatePair, SignalingData, SignalingMessageHandler, SignalingMessageMap, StreamConfig, StreamRequestContext, StreamResolutionProps, StreamerListMessage, TelemetryType, UnknownFields, UnquantizeAndDenormalizeUnsignedValue, UnrealCallbackDescriptor, UnrealCallbackEventMap, UnrealCallbackJson, UnrealCallbackJsonWrapped, UnrealInitialConfig, UnrealState, WSCloseCodesValues, streamPreparedForUserInteractionMessage };
|
|
2771
|
+
export type { AggregatedStat, AnySignalingMessage, AwsInstance, CandidateMessage, CloseReason, CommandInProgress, ConfigMessage, ConnectionError, ControlSchemeValues, DataFlowCheckResult, DisconnectReasonType, EmittedMilestone, EventId, ForceClientDisconnect, FreezeFrameMessage, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, InterruptClientStream, ListStreamersMessage, MessageBase, MessageTypeValues, NormalizeAndQuantizeSignedValue, NormalizeAndQuantizeUnsignedValue, OrchestrationErrorMessage, OrchestrationMessageType, P2PEstablishedMessage, PhaseOverlay, PhaseParam, PingMessage, PlayerCountMessage, PollingOrchestrationMessage, Quality, ReceivedFile, ReconnectConfig, RequestStream, SSInfo, SelectedIceCandidatePair, SignalingData, SignalingMessageHandler, SignalingMessageMap, StreamConfig, StreamRequestContext, StreamResolutionProps, StreamerListMessage, TelemetryType, UnknownFields, UnquantizeAndDenormalizeUnsignedValue, UnrealCallbackDescriptor, UnrealCallbackEventMap, UnrealCallbackJson, UnrealCallbackJsonWrapped, UnrealInitialConfig, UnrealState, WSCloseCodesValues, streamPreparedForUserInteractionMessage };
|