@3dsource/angular-unreal-module 0.0.34 → 0.0.35-dev.0

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/index.d.ts CHANGED
@@ -270,7 +270,7 @@ declare function OnCloseHandler(this: SignallingService, e: CloseEvent): void;
270
270
 
271
271
  declare function OnErrorHandler(this: SignallingService, e: Event): void;
272
272
 
273
- declare function OnMessageHandler(this: SignallingService, e: MessageEvent<string>): void;
273
+ declare function OnMessageHandler(this: SignallingService, e: MessageEvent<string | Blob>): void;
274
274
 
275
275
  declare function OnOpenHandler(this: SignallingService): void;
276
276
 
@@ -887,8 +887,12 @@ interface PlayerCountMessage extends MessageBase {
887
887
  type: 'playerCount';
888
888
  playerCount: number;
889
889
  }
890
+ interface StreamerListMessage extends MessageBase {
891
+ type: 'streamerList';
892
+ ids: string[];
893
+ }
890
894
  interface AnswerMessage extends RTCSessionDescriptionInit {
891
- type: RTCSdpType;
895
+ type: 'answer';
892
896
  }
893
897
  interface ConfigMessage extends MessageBase, UnknownFields {
894
898
  type: 'config';
@@ -903,8 +907,13 @@ interface PingMessage extends MessageBase {
903
907
  playerId: string;
904
908
  appConnectionCounter: number;
905
909
  }
910
+ interface OfferMessage extends RTCSessionDescriptionInit {
911
+ type: 'offer';
912
+ }
906
913
  type UnknownFields = Record<string, unknown>;
907
914
  declare const OrchestrationMessageTypes: {
915
+ readonly streamerList: "streamerList";
916
+ readonly listStreamers: "listStreamers";
908
917
  readonly requestReservation: "requestReservation";
909
918
  readonly instanceReady: "instanceReady";
910
919
  readonly instanceReserved: "instanceReserved";
@@ -914,8 +923,10 @@ declare const OrchestrationMessageTypes: {
914
923
  readonly iceCandidate: "iceCandidate";
915
924
  readonly ping: "ping";
916
925
  readonly config: "config";
926
+ readonly offer: "offer";
917
927
  };
918
928
  interface SignalingMessageMap {
929
+ [OrchestrationMessageTypes.streamerList]: StreamerListMessage;
919
930
  [OrchestrationMessageTypes.ssInfo]: SSInfo;
920
931
  [OrchestrationMessageTypes.playerCount]: PlayerCountMessage;
921
932
  [OrchestrationMessageTypes.answer]: AnswerMessage;
@@ -924,6 +935,7 @@ interface SignalingMessageMap {
924
935
  [OrchestrationMessageTypes.instanceReady]: InstanceReady;
925
936
  [OrchestrationMessageTypes.instanceReserved]: InstanceReserved;
926
937
  [OrchestrationMessageTypes.ping]: PingMessage;
938
+ [OrchestrationMessageTypes.offer]: OfferMessage;
927
939
  }
928
940
  type OrchestrationMessageType = keyof SignalingMessageMap;
929
941
  type SignalingMessageHandler<T extends keyof SignalingMessageMap> = (msg: SignalingMessageMap[T]) => void;
@@ -1036,6 +1048,7 @@ interface AwsInstance {
1036
1048
  declare class SignallingService extends SubService {
1037
1049
  private readonly httpClient;
1038
1050
  private readonly regionsPingService;
1051
+ onOffer$: Subject<OfferMessage>;
1039
1052
  onConfig$: Subject<ConfigMessage>;
1040
1053
  onWebRtcIce$: Subject<RTCIceCandidate>;
1041
1054
  onWebRtcAnswer$: Subject<RTCSessionDescriptionInit | null>;
@@ -1638,4 +1651,4 @@ declare class SafePipe implements PipeTransform {
1638
1651
  }
1639
1652
 
1640
1653
  export { AFKService, AfkRestartScreenLockerComponent, AggregatorService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY, ClickableOverlayComponent, CommandTelemetryService, ConfigHandler, ConsoleExtensionsService, DATA_CHANNEL_CONNECTION_TIMEOUT, DEBOUNCE_TO_MANY_RESIZE_CALLS, DEFAULT_TIMEOUT_PERIOD, DEFAULT_WARN_TIMEOUT, DataFlowMonitor, DevModeService, DisconnectReason, EControlSchemeType, EMessageType, EToClientMessageType, FULL_HD_HEIGHT, FULL_HD_WIDTH, FilterSettingsComponent, FreezeFrameComponent, FreezeFrameService, IceCandidateHandler, InputOptions, InputService, InstanceReadyHandler, InstanceReservedHandler, KalmanFilter1D, LatencyTimings, LowBandwidthDetectorComponent, LowBandwidthModalComponent, MINIMAL_FPS, MouseButton, MouseButtonsMask, OnCloseHandler, OnErrorHandler, OnMessageHandler, OnOpenHandler, OrchestrationMessageTypes, PingHandler, PlayerCountHandler, RegionsPingService, ResetTelemetry, SAME_SIZE_THRESHOLD, SCREEN_LOCKER_CONTAINER_ID, SSInfoHandler, STREAMING_VIDEO_ID, SafePipe, SignallingService, SpecialKeyCodes, StatGraphComponent, StreamStatusTelemetryService, SubService, TelemetryStart, TelemetryStop, UNREAL_CONFIG, UnrealCommunicatorService, UnrealEffects, UnrealInternalSignalEvents, UnrealSceneComponent, UnrealStatusMessage, VideoLockerComponent, VideoRecorder, VideoService, VideoStatsComponent, VideoStreamStatusService, WSCloseCode_NORMAL_AFK_TIMEOUT, WSCloseCode_NORMAL_CIRRUS_CLOSED, WSCloseCode_NORMAL_CLOSURE, WSCloseCode_NORMAL_MANUAL_DISCONNECT, WSCloseCodes, WS_OPEN_STATE, WS_TIMEOUT, WebRtcPlayerService, WebrtcErrorModalComponent, alignProductsToPlaneCommand, changeLowBandwidth, changeStatusMainVideoOnScene, changeStreamResolutionAction, changeStreamResolutionSuccessAction, clampAndKeepMaxPercents, clampPanToProductsCommand, commandCompleted, commandStarted, decodeData, destroyConnectionsAndResetState, destroyRemoteConnections, dispatchResize, filteredLogs, floatToSmoothPercents, forceResizeUnrealVideo, fromResizeObserver, fromSignal, fromUnrealCallBackSignal, getActiveUrl, getApplyCameraPresetCommand, getApplyZoomCommand, getCameraBoxCommand, getCameraRecenterCommand, getCameraSettingsCommand, getChangeGizmoTypeCommand, getChangeResolutionCommand, getClickSnapCommand, getControlSensitivityCommand, getDebugModeCommand, getDragCommand, getDragSequenceCommand, getDropCommand, getEnableComposureCommand, getEnableControlsCommand, getEnableSceneStateCallbackCommand, getEnableSpinnerModeCommand, getEnableTeleportCommand, getExecuteConsoleCommand, getFitToObjectsCommand, getFreezeFrameCommand, getImageFromVideoStream, getInitSequenceByObjectNameCommand, getJumpToSequenceCommand, getLoadLevelCommand, getLoadProductCommand, getLoadSceneStateCommand, getLoopBackCommand, getMoveSelectedCommand, getPauseSequenceCommand, getPlaySequenceCommand, getRequestCameraPresetCommand, getResetControlClampsCommand, getRotateSelectedCommand, getRtcErrorMessage, getSelectProductByObjectNameCommand, getSetCameraControlClampsCommand, getSetControlCameraModeCommand, getSetFpsCommand, getSetMaterialCommand, getSetPawnMovementModeCommand, getSetSettingsSequenceCommand, getStopSequenceCommand, getTakeRenderCommand, getTakeSpinnerRenderCommand, getTakeSpinnerRenderPreviewCommand, getUnLoadAllProductsCommand, getUnLoadProductByObjectNameCommand, getUnselectAllProductsCommand, getWeatherCommand, initSignalling, initialState, mapQpToQuality, observeCommandResponse, removeExileCommands, resetAfk, resetAfkAction, resetConfig, resetIntroSrc, resetUnrealState, resetUnrealStateAction, resetWarnTimeout, selectCommandProgress, selectCommandsInProgress, selectFreezeFrameCombinedDataUrl, selectFreezeFrameDataUrl, selectFreezeFrameDataUrlFromVideo, selectFreezeFrameProgressMessageFromVideo, selectIsAutostart, selectIsFreezeFrameLoading, selectIsVideoPlayingAndDataChannelConnected, selectLastCommandInProgress, selectLoaderCommands, selectMatchUrls, selectShowLoader, selectShowReconnectPopup, selectSignalingParameters, selectStreamConfig, selectTotalProgress, selectWarnTimeout, selectWsUrl, sendSignal, setAwsInstance, setCirrusConnected, setCirrusDisconnected, setConfig, setDataChannelConnected, setErrorMessage, setEstablishingConnection, setFreezeFrame, setFreezeFrameFromVideo, setIntroImageSrc, setIntroVideoSrc, setLoadingImageSrc, setLoopBackCommandIsCompleted, setMatchUrls, setMaxFps, setProductsLocationCommand, setSignalingName, setStatusMessage, setStatusPercentSignallingServer, setStreamClientCompanyId, setStreamViewId, setViewportReady, showUnrealErrorMessage, trackMixpanelEvent, unLoadAllLevelsCommand, unrealFeature, unrealReducer, updateCirrusInfo };
1641
- export type { AnswerMessage, AwsInstance, CandidateMessage, CloseReason, CommandsLoaderState, ConfigMessage, DataFlowCheckResult, DisconnectType, EControlSchemeTypeValues, EMessageTypeValues, FreezeFrameMessage, IAggregatedStat, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, LBMStats, MessageBase, NormalizeAndQuantizeSignedValue, NormalizeAndQuantizeUnsignedValue, ObservedCallbackResponse, OrchestrationMessageType, PingMessage, PlayerCountMessage, PollingOrchestrationMessage, Quality, SSInfo, SignalDescriptor, SignalingData, SignalingMessageHandler, SignalingMessageMap, StreamConfig, StreamResolutionProps, TelemetryType, UnknownFields, UnquantizeAndDenormalizeUnsignedValue, UnrealCallBackJson, UnrealError, UnrealErrorType, UnrealInitialConfig, UnrealState, WSCloseCodesValues, WrappedMetaBoxCommandPacket };
1654
+ export type { AnswerMessage, AwsInstance, CandidateMessage, CloseReason, CommandsLoaderState, ConfigMessage, DataFlowCheckResult, DisconnectType, EControlSchemeTypeValues, EMessageTypeValues, FreezeFrameMessage, IAggregatedStat, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, LBMStats, MessageBase, NormalizeAndQuantizeSignedValue, NormalizeAndQuantizeUnsignedValue, ObservedCallbackResponse, OfferMessage, OrchestrationMessageType, PingMessage, PlayerCountMessage, PollingOrchestrationMessage, Quality, SSInfo, SignalDescriptor, SignalingData, SignalingMessageHandler, SignalingMessageMap, StreamConfig, StreamResolutionProps, StreamerListMessage, TelemetryType, UnknownFields, UnquantizeAndDenormalizeUnsignedValue, UnrealCallBackJson, UnrealError, UnrealErrorType, UnrealInitialConfig, UnrealState, WSCloseCodesValues, WrappedMetaBoxCommandPacket };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dsource/angular-unreal-module",
3
- "version": "0.0.34",
3
+ "version": "0.0.35-dev.0",
4
4
  "description": "Angular Unreal module for connect with unreal engine stream",
5
5
  "keywords": [
6
6
  "3dsource",
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "private"
13
+ "url": "git@bitbucket.org:dreamsoft/sourceui.git"
14
14
  },
15
15
  "license": "UNLICENSED",
16
16
  "author": "3dsource",