@arcware-cloud/pixelstreaming-websdk 1.2.13 → 1.2.14

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.
Files changed (41) hide show
  1. package/index.cjs.js +2 -3
  2. package/index.esm.js +1 -3
  3. package/index.umd.js +2 -3
  4. package/package.json +2 -2
  5. package/types/index.d.ts +0 -3
  6. package/types/lib/ApplyUrlHack.d.ts +0 -2
  7. package/types/lib/ArcwareApplication.d.ts +0 -48
  8. package/types/lib/ArcwareConfig.d.ts +0 -35
  9. package/types/lib/ArcwareInit.d.ts +0 -15
  10. package/types/lib/ArcwarePixelStreaming.d.ts +0 -97
  11. package/types/lib/MessageTypes.d.ts +0 -4
  12. package/types/lib/domain/ArcwareSettingsSchema.d.ts +0 -209
  13. package/types/lib/domain/ConnectionIdentifier.d.ts +0 -27
  14. package/types/lib/domain/EventHandler.d.ts +0 -11
  15. package/types/lib/domain/Session.d.ts +0 -29
  16. package/types/lib/domain/Stats.d.ts +0 -36
  17. package/types/lib/domain/debounce.d.ts +0 -1
  18. package/types/lib/index.d.ts +0 -6
  19. package/types/lib/styles/ArcwarePixelStreamingApplicationStyles.d.ts +0 -478
  20. package/types/lib/ui/ArcwareLogoLoader/index.d.ts +0 -6
  21. package/types/lib/ui/AudioButton/AudioIcon.d.ts +0 -7
  22. package/types/lib/ui/AudioButton/index.d.ts +0 -15
  23. package/types/lib/ui/LoveLetters/index.d.ts +0 -6
  24. package/types/lib/ui/MicButton/index.d.ts +0 -14
  25. package/types/lib/ui/MicIcon/index.d.ts +0 -7
  26. package/types/lib/ui/MicrophoneOverlay/index.d.ts +0 -11
  27. package/types/lib/ui/PlayIcon/index.d.ts +0 -5
  28. package/types/lib/ui/StopButton/index.d.ts +0 -16
  29. package/types/lib/ui/StopIcon/index.d.ts +0 -5
  30. package/types/shared/index.d.ts +0 -1
  31. package/types/shared/lib/Messages/ErrorMessage.d.ts +0 -18
  32. package/types/shared/lib/Messages/LoveLetter.d.ts +0 -18
  33. package/types/shared/lib/Messages/Ping.d.ts +0 -15
  34. package/types/shared/lib/Messages/Queue.d.ts +0 -58
  35. package/types/shared/lib/Messages/SessionId.d.ts +0 -12
  36. package/types/shared/lib/Messages/Stats.d.ts +0 -182
  37. package/types/shared/lib/Messages/StreamInfo.d.ts +0 -338
  38. package/types/shared/lib/Messages/Version.d.ts +0 -12
  39. package/types/shared/lib/Messages/WebSdkSettings.d.ts +0 -96
  40. package/types/shared/lib/Messages/index.d.ts +0 -192
  41. package/types/shared/lib/index.d.ts +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arcware-cloud/pixelstreaming-websdk",
3
3
  "description": "WebSDK for easy implementation of pixel streaming with Arcware Cloud Services. Heavily based on the '@epicgames-ps' library.",
4
- "version": "1.2.13",
4
+ "version": "1.2.14",
5
5
  "type": "commonjs",
6
6
  "main": "./index.umd.js",
7
7
  "module": "./index.umd.js",
@@ -15,7 +15,7 @@
15
15
  ],
16
16
  "author": {
17
17
  "name": "Arcware GmbH",
18
- "email": "info@arcware.com",
18
+ "email": "sales@arcware.com",
19
19
  "url": "https://www.arcware.com"
20
20
  },
21
21
  "license": "MIT",
package/types/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from "@epicgames-ps/lib-pixelstreamingfrontend-ue5.5";
2
- export * from "@epicgames-ps/lib-pixelstreamingfrontend-ui-ue5.5";
3
- export * from "./lib";
@@ -1,2 +0,0 @@
1
- export declare function UrlBuilder(input: () => string, urlFlags?: string): string;
2
- export declare function ApplyUrlHack(): void;
@@ -1,48 +0,0 @@
1
- import { Application, UIOptions } from "@epicgames-ps/lib-pixelstreamingfrontend-ui-ue5.5";
2
- import { ArcwarePixelStreaming } from "./ArcwarePixelStreaming";
3
- export declare class ArcwareApplication extends Application {
4
- static Flags: {
5
- new (): {};
6
- noSession: "noSession";
7
- };
8
- stream: ArcwarePixelStreaming;
9
- private videoElementParent;
10
- private parentElement;
11
- private responseCallback;
12
- private webRtcController;
13
- get rootElement(): HTMLElement;
14
- private ArcwareSection;
15
- constructor(options: UIOptions & {
16
- stream: ArcwarePixelStreaming;
17
- });
18
- addLoveLetterhandler(): void;
19
- /** Set's and resets hidden state of "additional" UI Elements.
20
- * For example buttons or connection icon.
21
- * These will fade in through css animation upon the videoInitialized event.
22
- * At this point in time the streamInfo is already processed.
23
- */
24
- private uiElementsVisibility;
25
- private adjustSettingsPanel;
26
- private createAudioToggleButton;
27
- private createMicToggleButton;
28
- private createStopButton;
29
- private uiDefaultButtonVisibilty;
30
- private preventDefaultKeyboardEvents;
31
- private autoPlayHandler;
32
- /** Request a response from you UE Application.
33
- * The returned response depends on the implementation of your UE Application.
34
- * It can be used to request information from the application, such as:
35
- * - a state to update your custom ui
36
- * - get the url to the pdf it uploaded to some remote service of yours
37
- * - the id of the save-game
38
- * .. anything else you could imagine.
39
- */
40
- getApplicationResponse(callback: (response: string) => void): void;
41
- applicationResponse(response: string): void;
42
- private applyArcwareStyles;
43
- /** Emit an event towards the UE Application.
44
- * Mainly used to bubble events like a button press or other command inputs towards the UE Application.
45
- */
46
- emitUIInteraction(descriptor: object | string): void;
47
- private addTextToConnectOverlay;
48
- }
@@ -1,35 +0,0 @@
1
- import { Config, ConfigParams } from "@epicgames-ps/lib-pixelstreamingfrontend-ue5.5";
2
- import { Session } from "./domain/Session";
3
- import { Settings } from "./domain/ArcwareSettingsSchema";
4
- /** Default arcware signalling endpoint. */
5
- export declare const DefaultUrl: "wss://signalling-client.ragnarok.arcware.cloud";
6
- export interface ArcwareConfigParams extends ConfigParams {
7
- settings: Settings;
8
- }
9
- export declare class ArcwareConfig extends Config {
10
- /**
11
- * Can be used to fetch projectId and shareId from the current url.
12
- * Example:
13
- * /something/:projectId/:shareId/something?something => { projectId, shareId }
14
- * /:projectId => { projectId }
15
- * /:shareId => { shareId }
16
- * /:shareId/:projectId => { projectId, shareId }
17
- *
18
- * The projectId must be uuidv4.
19
- * The shareId must be "shareId-" prefixed.
20
- *
21
- * Usage:
22
- * // This will spread the projectId and the shareId into the settings. Define anything you want to override after the spread operation.
23
- * new ArcwareConfig({ settings: { ...ArcwareConfig.PickIdsOfUrl() } });
24
- */
25
- static PickIdsOfUrl(): Pick<Settings, "shareId" | "projectId">;
26
- readonly session: Session;
27
- readonly settings: Settings;
28
- private _initialSettings;
29
- readonly VERSION = "1.2.13";
30
- constructor(config: ArcwareConfigParams);
31
- /** Setup connection string. */
32
- get urlFlags(): string;
33
- get initialSettings(): any;
34
- modifyInitialSettings(mouseLock: boolean): void;
35
- }
@@ -1,15 +0,0 @@
1
- import { ArcwareConfig, ArcwareConfigParams } from "./ArcwareConfig";
2
- import { ArcwarePixelStreaming } from "./ArcwarePixelStreaming";
3
- import { ArcwareApplication } from "./ArcwareApplication";
4
- type DeepPartial<T> = T extends Function ? T : T extends object ? {
5
- [P in keyof T]?: DeepPartial<T[P]>;
6
- } : T;
7
- export declare function ArcwareInit({ shareId, projectId }: {
8
- shareId?: string;
9
- projectId?: string;
10
- }, configuration?: DeepPartial<ArcwareConfigParams>, forceRefresh?: boolean): {
11
- Config: ArcwareConfig;
12
- PixelStreaming: ArcwarePixelStreaming;
13
- Application: ArcwareApplication;
14
- };
15
- export {};
@@ -1,97 +0,0 @@
1
- import { Messages } from "@arcware-cloud/shared-pixelstreaming-websdk";
2
- import { PixelStreaming, PixelStreamingOverrides } from "@epicgames-ps/lib-pixelstreamingfrontend-ue5.5";
3
- import { ArcwareConfig } from "./ArcwareConfig";
4
- import { EventHandler } from "./domain/EventHandler";
5
- import { Session } from "./domain/Session";
6
- import { WebsocketState } from "./domain/ConnectionIdentifier";
7
- export declare class ArcwarePixelStreaming extends PixelStreaming {
8
- /** Override default config with ArcwareConfig. */
9
- config: ArcwareConfig;
10
- streamInfo?: Messages.StreamInfo;
11
- loveLettersContainer: HTMLDivElement | undefined;
12
- private loveLettersList;
13
- private loveLettersQueue;
14
- private isProcessingQueue;
15
- private microphoneOverlay;
16
- /** Returns a list of WebSocketStates of all PixelStreaming Instances generated. */
17
- get WebsocketStates(): WebsocketState[];
18
- /** Counts all active PixelStreaming Instances generated. (CONNECTING & CONNECTED) */
19
- get ActiveInstances(): () => number;
20
- /** Returns this PixelStreaming Instances websocket state. */
21
- get websocketState(): WebsocketState;
22
- constructor(config: ArcwareConfig, overrides?: PixelStreamingOverrides);
23
- /** Getter for the session object. */
24
- get session(): Session;
25
- /**
26
- * * * * * * *
27
- * Listen *
28
- * * * * * * *
29
- */
30
- /** On version requested, the version of the WebSDK would be returned. */
31
- private onVersion;
32
- /** On ping the session creation timestamp will be updated. */
33
- private onPing;
34
- /** Handle incoming configurations. */
35
- private onStreamInfo;
36
- /** On ping the session creation timestamp will be updated. */
37
- readonly queueHandler: EventHandler<{
38
- type?: "queue";
39
- queue?: {
40
- index?: number;
41
- queueLength?: number;
42
- waited?: number;
43
- estimatedWaitTime?: number;
44
- averageWaitTime?: number;
45
- valueType?: "milliseconds" | "seconds" | "minutes" | "hours" | "days";
46
- };
47
- }>;
48
- private onQueue;
49
- /** Error receiver. */
50
- readonly errorHandler: EventHandler<{
51
- type?: "error";
52
- code?: number;
53
- reason?: string;
54
- verbosity?: number;
55
- }>;
56
- private onError;
57
- /** LoveLetter */
58
- readonly loveLetterHandler: EventHandler<{
59
- type?: "letter";
60
- reason?: string;
61
- code?: number;
62
- verbosity?: number;
63
- }>;
64
- private onLoveLetter;
65
- /** SessionId */
66
- readonly sessionIdHandler: EventHandler<string>;
67
- private onSessionId;
68
- /** VideoInitialized */
69
- readonly videoInitializedHandler: EventHandler<never>;
70
- private onVideoInitialized;
71
- /** WebSocket Close */
72
- readonly websocketOnCloseHandler: EventHandler<CloseEvent>;
73
- /** Adding a zod-safe handler. */
74
- private addMessageHandler;
75
- /**
76
- * * * * * *
77
- * Send *
78
- * * * * * *
79
- */
80
- private sendStats;
81
- private send;
82
- private handleResolutionChange;
83
- private applyResolutionIfPlaying;
84
- removePlayer(): void;
85
- private handleMouseLock;
86
- initLoveLettersContainer(): void;
87
- private pushLetter;
88
- private processLoveLetterQueue;
89
- private handleRemoveLoveLetters;
90
- toggleAudio(videoElement: HTMLVideoElement, enabled: boolean): void;
91
- private createMicrophoneOverlay;
92
- toggleMic(enable: boolean, isDefault: boolean): void;
93
- private wrapWebSocketOnCloseHandler;
94
- onStreamingStateChange(callback: (isStreaming: boolean) => void): void;
95
- private removeXRIconIfDisabled;
96
- private injectCustomUI;
97
- }
@@ -1,4 +0,0 @@
1
- import { Messages } from "@arcware-cloud/shared-pixelstreaming-websdk";
2
- export type ErrorMessage = Messages.ErrorMessage;
3
- export type Queue = Messages.Queue;
4
- export type LoveLetter = Messages.LoveLetter;
@@ -1,209 +0,0 @@
1
- import { z } from "zod";
2
- /** Arcware Settings. */
3
- export declare const ArcwareSettingsSchema: z.ZodObject<{
4
- /** Overwrites the Session-Tool and uses the provided session instead. */
5
- session: z.ZodOptional<z.ZodString>;
6
- /** Can be used to be added to the request in order to verify access to private projects.
7
- * For internal use only. => Preview page.
8
- */
9
- token: z.ZodOptional<z.ZodString>;
10
- /** @deprecated in there for legacy use. Can only be used when token is provided. */
11
- bypass: z.ZodOptional<z.ZodBoolean>;
12
- /** Handler for server side error messages. */
13
- errorHandler: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
14
- type: z.ZodLiteral<"error">;
15
- code: z.ZodNumber;
16
- reason: z.ZodString;
17
- verbosity: z.ZodNumber;
18
- }, "strip", z.ZodTypeAny, {
19
- type?: "error";
20
- code?: number;
21
- reason?: string;
22
- verbosity?: number;
23
- }, {
24
- type?: "error";
25
- code?: number;
26
- reason?: string;
27
- verbosity?: number;
28
- }>], z.ZodUnknown>, z.ZodVoid>>;
29
- /** Handler for queue events. */
30
- queueHandler: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
31
- type: z.ZodLiteral<"queue">;
32
- queue: z.ZodObject<{
33
- index: z.ZodOptional<z.ZodNumber>;
34
- /** Can be used to be added to the request in order to verify access to private projects.
35
- * For internal use only. => Preview page.
36
- */
37
- queueLength: z.ZodOptional<z.ZodNumber>;
38
- waited: z.ZodOptional<z.ZodNumber>;
39
- estimatedWaitTime: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
40
- averageWaitTime: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
- valueType: z.ZodEnum<["milliseconds", "seconds", "minutes", "hours", "days"]>;
42
- }, "strip", z.ZodTypeAny, {
43
- index?: number;
44
- queueLength?: number;
45
- waited?: number;
46
- estimatedWaitTime?: number;
47
- averageWaitTime?: number;
48
- valueType?: "milliseconds" | "seconds" | "minutes" | "hours" | "days";
49
- }, {
50
- index?: number;
51
- queueLength?: number;
52
- waited?: number;
53
- estimatedWaitTime?: number;
54
- averageWaitTime?: number;
55
- valueType?: "milliseconds" | "seconds" | "minutes" | "hours" | "days";
56
- }>;
57
- }, "strip", z.ZodTypeAny, {
58
- type?: "queue";
59
- queue?: {
60
- index?: number;
61
- queueLength?: number;
62
- waited?: number;
63
- estimatedWaitTime?: number;
64
- averageWaitTime?: number;
65
- valueType?: "milliseconds" | "seconds" | "minutes" | "hours" | "days";
66
- };
67
- }, {
68
- type?: "queue";
69
- queue?: {
70
- index?: number;
71
- queueLength?: number;
72
- waited?: number;
73
- estimatedWaitTime?: number;
74
- averageWaitTime?: number;
75
- valueType?: "milliseconds" | "seconds" | "minutes" | "hours" | "days";
76
- };
77
- }>], z.ZodUnknown>, z.ZodVoid>>;
78
- /** Handler for sessionId message. */
79
- sessionIdHandler: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodVoid>>;
80
- /** Handler for love letters.
81
- * "LoveLetters" are send from backend to the SDK to state what phase the connection currently is in. */
82
- loveLetterHandler: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
83
- type: z.ZodLiteral<"letter">;
84
- reason: z.ZodString;
85
- code: z.ZodNumber;
86
- verbosity: z.ZodNumber;
87
- }, "strip", z.ZodTypeAny, {
88
- type?: "letter";
89
- reason?: string;
90
- code?: number;
91
- verbosity?: number;
92
- }, {
93
- type?: "letter";
94
- reason?: string;
95
- code?: number;
96
- verbosity?: number;
97
- }>], z.ZodUnknown>, z.ZodVoid>>;
98
- /** Show or hide the fullscreen button. */
99
- fullscreenButton: z.ZodOptional<z.ZodBoolean>;
100
- /** Show or hide the settings button. */
101
- settingsButton: z.ZodOptional<z.ZodBoolean>;
102
- /** Show or hide the info button. */
103
- infoButton: z.ZodOptional<z.ZodBoolean>;
104
- /** Show or hide the audio button. */
105
- audioButton: z.ZodOptional<z.ZodBoolean>;
106
- /** Show or hide the microphone button. */
107
- micButton: z.ZodOptional<z.ZodBoolean>;
108
- /** Show or hide the microphone button. */
109
- stopButton: z.ZodOptional<z.ZodBoolean>;
110
- /** Show or hide the connectionStrengthIcon button. */
111
- connectionStrengthIcon: z.ZodOptional<z.ZodBoolean>;
112
- /** ShareId, used for sharing your project.
113
- * Using ArcwareInit will set this required property for you. */
114
- shareId: z.ZodOptional<z.ZodString>;
115
- /** Id of your project, only required if your shareId refers to multiple projects.
116
- * Using ArcwareInit will set this required property for you. */
117
- projectId: z.ZodOptional<z.ZodString>;
118
- /** Enable/Disable LoveLetter logging to the console. */
119
- loveLetterLogging: z.ZodOptional<z.ZodBoolean>;
120
- /** Enable/Disable Connection Identifier logging to the console. */
121
- connectionIdentifierLoggingDisabled: z.ZodOptional<z.ZodBoolean>;
122
- /** Width with which instance should be started */
123
- startWidth: z.ZodOptional<z.ZodNumber>;
124
- /** Height with which instance should be started */
125
- startHeight: z.ZodOptional<z.ZodNumber>;
126
- }, "strip", z.ZodTypeAny, {
127
- session?: string;
128
- token?: string;
129
- bypass?: boolean;
130
- errorHandler?: (args_0: {
131
- type?: "error";
132
- code?: number;
133
- reason?: string;
134
- verbosity?: number;
135
- }, ...args_1: unknown[]) => void;
136
- queueHandler?: (args_0: {
137
- type?: "queue";
138
- queue?: {
139
- index?: number;
140
- queueLength?: number;
141
- waited?: number;
142
- estimatedWaitTime?: number;
143
- averageWaitTime?: number;
144
- valueType?: "milliseconds" | "seconds" | "minutes" | "hours" | "days";
145
- };
146
- }, ...args_1: unknown[]) => void;
147
- sessionIdHandler?: (args_0: string, ...args_1: unknown[]) => void;
148
- loveLetterHandler?: (args_0: {
149
- type?: "letter";
150
- reason?: string;
151
- code?: number;
152
- verbosity?: number;
153
- }, ...args_1: unknown[]) => void;
154
- fullscreenButton?: boolean;
155
- settingsButton?: boolean;
156
- infoButton?: boolean;
157
- audioButton?: boolean;
158
- micButton?: boolean;
159
- stopButton?: boolean;
160
- connectionStrengthIcon?: boolean;
161
- shareId?: string;
162
- projectId?: string;
163
- loveLetterLogging?: boolean;
164
- connectionIdentifierLoggingDisabled?: boolean;
165
- startWidth?: number;
166
- startHeight?: number;
167
- }, {
168
- session?: string;
169
- token?: string;
170
- bypass?: boolean;
171
- errorHandler?: (args_0: {
172
- type?: "error";
173
- code?: number;
174
- reason?: string;
175
- verbosity?: number;
176
- }, ...args_1: unknown[]) => void;
177
- queueHandler?: (args_0: {
178
- type?: "queue";
179
- queue?: {
180
- index?: number;
181
- queueLength?: number;
182
- waited?: number;
183
- estimatedWaitTime?: number;
184
- averageWaitTime?: number;
185
- valueType?: "milliseconds" | "seconds" | "minutes" | "hours" | "days";
186
- };
187
- }, ...args_1: unknown[]) => void;
188
- sessionIdHandler?: (args_0: string, ...args_1: unknown[]) => void;
189
- loveLetterHandler?: (args_0: {
190
- type?: "letter";
191
- reason?: string;
192
- code?: number;
193
- verbosity?: number;
194
- }, ...args_1: unknown[]) => void;
195
- fullscreenButton?: boolean;
196
- settingsButton?: boolean;
197
- infoButton?: boolean;
198
- audioButton?: boolean;
199
- micButton?: boolean;
200
- stopButton?: boolean;
201
- connectionStrengthIcon?: boolean;
202
- shareId?: string;
203
- projectId?: string;
204
- loveLetterLogging?: boolean;
205
- connectionIdentifierLoggingDisabled?: boolean;
206
- startWidth?: number;
207
- startHeight?: number;
208
- }>;
209
- export type Settings = z.infer<typeof ArcwareSettingsSchema>;
@@ -1,27 +0,0 @@
1
- import { ArcwarePixelStreaming } from "../ArcwarePixelStreaming";
2
- export declare enum WebsocketState {
3
- CONNECTING = 0,
4
- OPEN = 1,
5
- CLOSING = 2,
6
- CLOSED = 3
7
- }
8
- export declare class ConnectionIdentifier {
9
- private static instance;
10
- static get Instance(): ConnectionIdentifier;
11
- private interval;
12
- private aps;
13
- get WebsocketStates(): WebsocketState[];
14
- private constructor();
15
- register(ps: ArcwarePixelStreaming): void;
16
- GetWebSocketStates(): WebsocketState[];
17
- ActiveInstances(): number;
18
- private enabled;
19
- disable(): void;
20
- /**
21
- * The purpose of this method is to periodically tell the developer the amount of connected instances.
22
- * This way the developer can figure out, when they messed up the implementation and there's shadow instances still running.
23
- * Or when they accidentally set up multiple connections!
24
- * Things like that can happen, for example if the React.useEffect was not setup perfectly!
25
- */
26
- private connectionWatcher;
27
- }
@@ -1,11 +0,0 @@
1
- /** A helper class to spread the event to additional event handlers added from external sources. */
2
- export declare class EventHandler<Type> {
3
- private callbacks;
4
- /** Returns the added callback on success or null, if something went wrong. */
5
- add<Callback extends (arg: Type) => void>(callback: Callback): Callback | null;
6
- /** Returns true if the input callback has been found and removed and false if not. */
7
- remove<Callback extends (arg: Type) => void>(callback: Callback): boolean;
8
- constructor();
9
- /** Emits the event-data for each of the existing handlers. */
10
- static Emit<Type>(handler: EventHandler<Type>, event: Type): void;
11
- }
@@ -1,29 +0,0 @@
1
- import { z } from "zod";
2
- declare const ZOptions: z.ZodObject<{
3
- localStorageKey: z.ZodDefault<z.ZodString>;
4
- keepSession: z.ZodDefault<z.ZodNumber>;
5
- }, "strip", z.ZodTypeAny, {
6
- localStorageKey?: string;
7
- keepSession?: number;
8
- }, {
9
- localStorageKey?: string;
10
- keepSession?: number;
11
- }>;
12
- type Options = z.infer<typeof ZOptions>;
13
- /** The sessionId is stored in the localStorage to allow for reconnection and
14
- * to prevent spamming start requests of instances, when smashing F5.
15
- */
16
- export declare class Session {
17
- private _current?;
18
- get current(): string;
19
- get noSession(): boolean;
20
- get id(): string | null;
21
- private options;
22
- private get localStorageKey();
23
- constructor(options?: Options);
24
- /** Set's the session with creation date for the given storage key to the localStorage. */
25
- set(sessionId: string): void;
26
- /** Removes a session from the localStorage. */
27
- unset(): void;
28
- }
29
- export {};
@@ -1,36 +0,0 @@
1
- import { AggregatedStats, CandidatePairStats } from "@epicgames-ps/lib-pixelstreamingfrontend-ue5.5";
2
- export declare function Stats(stats: AggregatedStats): import("zod").objectOutputType<{
3
- codecs: import("zod").ZodOptional<import("zod").ZodType<Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>, import("zod").ZodTypeDef, Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>>>;
4
- candidatePair: import("zod").ZodOptional<import("zod").ZodType<CandidatePairStats[], import("zod").ZodTypeDef, CandidatePairStats[]>>;
5
- localCandidates: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
6
- remoteCandidates: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
7
- DataChannelStats: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats, import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats>>;
8
- bytesReceived: import("zod").ZodOptional<import("zod").ZodNumber>;
9
- packetsLost: import("zod").ZodOptional<import("zod").ZodNumber>;
10
- frameWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
11
- frameHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
12
- framesDecoded: import("zod").ZodOptional<import("zod").ZodNumber>;
13
- framesPerSecond: import("zod").ZodOptional<import("zod").ZodNumber>;
14
- framesDropped: import("zod").ZodOptional<import("zod").ZodNumber>;
15
- videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
16
- audioCodec: import("zod").ZodOptional<import("zod").ZodString>;
17
- browserInfo: import("zod").ZodOptional<import("zod").ZodObject<{
18
- userAgent: import("zod").ZodOptional<import("zod").ZodString>;
19
- platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
20
- language: import("zod").ZodOptional<import("zod").ZodString>;
21
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
22
- userAgent: import("zod").ZodOptional<import("zod").ZodString>;
23
- platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
24
- language: import("zod").ZodOptional<import("zod").ZodString>;
25
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
26
- userAgent: import("zod").ZodOptional<import("zod").ZodString>;
27
- platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
28
- language: import("zod").ZodOptional<import("zod").ZodString>;
29
- }, import("zod").ZodTypeAny, "passthrough">>>;
30
- currentRTT: import("zod").ZodOptional<import("zod").ZodNumber>;
31
- sessionRunTime: import("zod").ZodOptional<import("zod").ZodString>;
32
- controlsStreamInput: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
33
- videoEncoderAvgQP: import("zod").ZodOptional<import("zod").ZodNumber>;
34
- videoBitrate: import("zod").ZodOptional<import("zod").ZodNumber>;
35
- audioBitrate: import("zod").ZodOptional<import("zod").ZodNumber>;
36
- }, import("zod").ZodTypeAny, "passthrough">;
@@ -1 +0,0 @@
1
- export default function debounce<T extends (...args: any[]) => void>(func: T, wait: number): (...args: Parameters<T>) => void;
@@ -1,6 +0,0 @@
1
- export * from "./ArcwareApplication";
2
- export * from "./ArcwareConfig";
3
- export * from "./ArcwarePixelStreaming";
4
- export * from "./ArcwareInit";
5
- export type * from "./MessageTypes";
6
- export * from "./styles/ArcwarePixelStreamingApplicationStyles";