@arcware-cloud/pixelstreaming-websdk 0.0.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.
Files changed (43) hide show
  1. package/.npmiognore +1 -0
  2. package/LICENSE.md +24 -0
  3. package/README.md +237 -0
  4. package/index.cjs.js +73302 -0
  5. package/index.esm.js +73284 -0
  6. package/index.umd.js +73311 -0
  7. package/package.json +28 -0
  8. package/types/index.d.ts +3 -0
  9. package/types/lib/ApplyUrlHack.d.ts +2 -0
  10. package/types/lib/ArcwareApplication.d.ts +48 -0
  11. package/types/lib/ArcwareConfig.d.ts +35 -0
  12. package/types/lib/ArcwareInit.d.ts +15 -0
  13. package/types/lib/ArcwarePixelStreaming.d.ts +97 -0
  14. package/types/lib/MessageTypes.d.ts +4 -0
  15. package/types/lib/domain/ArcwareSettingsSchema.d.ts +201 -0
  16. package/types/lib/domain/ConnectionIdentifier.d.ts +27 -0
  17. package/types/lib/domain/EventHandler.d.ts +11 -0
  18. package/types/lib/domain/Session.d.ts +29 -0
  19. package/types/lib/domain/Stats.d.ts +36 -0
  20. package/types/lib/index.d.ts +6 -0
  21. package/types/lib/styles/ArcwarePixelStreamingApplicationStyles.d.ts +478 -0
  22. package/types/lib/ui/ArcwareLogoLoader/index.d.ts +5 -0
  23. package/types/lib/ui/AudioButton/AudioIcon.d.ts +7 -0
  24. package/types/lib/ui/AudioButton/index.d.ts +15 -0
  25. package/types/lib/ui/LoveLetters/index.d.ts +6 -0
  26. package/types/lib/ui/MicButton/index.d.ts +14 -0
  27. package/types/lib/ui/MicIcon/index.d.ts +7 -0
  28. package/types/lib/ui/MicrophoneOverlay/index.d.ts +11 -0
  29. package/types/lib/ui/PlayIcon/index.d.ts +5 -0
  30. package/types/lib/ui/StopButton/index.d.ts +16 -0
  31. package/types/lib/ui/StopIcon/index.d.ts +5 -0
  32. package/types/shared/index.d.ts +1 -0
  33. package/types/shared/lib/Messages/ErrorMessage.d.ts +18 -0
  34. package/types/shared/lib/Messages/LoveLetter.d.ts +18 -0
  35. package/types/shared/lib/Messages/Ping.d.ts +15 -0
  36. package/types/shared/lib/Messages/Queue.d.ts +58 -0
  37. package/types/shared/lib/Messages/SessionId.d.ts +12 -0
  38. package/types/shared/lib/Messages/Stats.d.ts +182 -0
  39. package/types/shared/lib/Messages/StreamInfo.d.ts +345 -0
  40. package/types/shared/lib/Messages/Version.d.ts +12 -0
  41. package/types/shared/lib/Messages/WebSdkSettings.d.ts +96 -0
  42. package/types/shared/lib/Messages/index.d.ts +192 -0
  43. package/types/shared/lib/index.d.ts +1 -0
@@ -0,0 +1,12 @@
1
+ import { z } from "zod";
2
+ export declare const ZSessionId: z.ZodObject<{
3
+ type: z.ZodLiteral<"sessionId">;
4
+ sessionId: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ type?: "sessionId";
7
+ sessionId?: string;
8
+ }, {
9
+ type?: "sessionId";
10
+ sessionId?: string;
11
+ }>;
12
+ export type SessionId = z.infer<typeof ZSessionId>;
@@ -0,0 +1,182 @@
1
+ import { z } from "zod";
2
+ export declare const ZStats: z.ZodObject<{
3
+ type: z.ZodLiteral<"stats">;
4
+ stats: z.ZodObject<{
5
+ codecs: z.ZodOptional<z.ZodType<Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>, z.ZodTypeDef, Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>>>;
6
+ candidatePair: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[]>>;
7
+ localCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
8
+ remoteCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
9
+ DataChannelStats: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats>>;
10
+ bytesReceived: z.ZodOptional<z.ZodNumber>;
11
+ packetsLost: z.ZodOptional<z.ZodNumber>;
12
+ frameWidth: z.ZodOptional<z.ZodNumber>;
13
+ frameHeight: z.ZodOptional<z.ZodNumber>;
14
+ framesDecoded: z.ZodOptional<z.ZodNumber>;
15
+ framesPerSecond: z.ZodOptional<z.ZodNumber>;
16
+ framesDropped: z.ZodOptional<z.ZodNumber>;
17
+ videoCodec: z.ZodOptional<z.ZodString>;
18
+ audioCodec: z.ZodOptional<z.ZodString>;
19
+ browserInfo: z.ZodOptional<z.ZodObject<{
20
+ userAgent: z.ZodOptional<z.ZodString>;
21
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ language: z.ZodOptional<z.ZodString>;
23
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
24
+ userAgent: z.ZodOptional<z.ZodString>;
25
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ language: z.ZodOptional<z.ZodString>;
27
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
28
+ userAgent: z.ZodOptional<z.ZodString>;
29
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ language: z.ZodOptional<z.ZodString>;
31
+ }, z.ZodTypeAny, "passthrough">>>;
32
+ currentRTT: z.ZodOptional<z.ZodNumber>;
33
+ sessionRunTime: z.ZodOptional<z.ZodString>;
34
+ controlsStreamInput: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
35
+ videoEncoderAvgQP: z.ZodOptional<z.ZodNumber>;
36
+ videoBitrate: z.ZodOptional<z.ZodNumber>;
37
+ audioBitrate: z.ZodOptional<z.ZodNumber>;
38
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
39
+ codecs: z.ZodOptional<z.ZodType<Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>, z.ZodTypeDef, Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>>>;
40
+ candidatePair: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[]>>;
41
+ localCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
42
+ remoteCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
43
+ DataChannelStats: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats>>;
44
+ bytesReceived: z.ZodOptional<z.ZodNumber>;
45
+ packetsLost: z.ZodOptional<z.ZodNumber>;
46
+ frameWidth: z.ZodOptional<z.ZodNumber>;
47
+ frameHeight: z.ZodOptional<z.ZodNumber>;
48
+ framesDecoded: z.ZodOptional<z.ZodNumber>;
49
+ framesPerSecond: z.ZodOptional<z.ZodNumber>;
50
+ framesDropped: z.ZodOptional<z.ZodNumber>;
51
+ videoCodec: z.ZodOptional<z.ZodString>;
52
+ audioCodec: z.ZodOptional<z.ZodString>;
53
+ browserInfo: z.ZodOptional<z.ZodObject<{
54
+ userAgent: z.ZodOptional<z.ZodString>;
55
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ language: z.ZodOptional<z.ZodString>;
57
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
58
+ userAgent: z.ZodOptional<z.ZodString>;
59
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ language: z.ZodOptional<z.ZodString>;
61
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
62
+ userAgent: z.ZodOptional<z.ZodString>;
63
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ language: z.ZodOptional<z.ZodString>;
65
+ }, z.ZodTypeAny, "passthrough">>>;
66
+ currentRTT: z.ZodOptional<z.ZodNumber>;
67
+ sessionRunTime: z.ZodOptional<z.ZodString>;
68
+ controlsStreamInput: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
69
+ videoEncoderAvgQP: z.ZodOptional<z.ZodNumber>;
70
+ videoBitrate: z.ZodOptional<z.ZodNumber>;
71
+ audioBitrate: z.ZodOptional<z.ZodNumber>;
72
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
73
+ codecs: z.ZodOptional<z.ZodType<Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>, z.ZodTypeDef, Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>>>;
74
+ candidatePair: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[]>>;
75
+ localCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
76
+ remoteCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
77
+ DataChannelStats: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats>>;
78
+ bytesReceived: z.ZodOptional<z.ZodNumber>;
79
+ packetsLost: z.ZodOptional<z.ZodNumber>;
80
+ frameWidth: z.ZodOptional<z.ZodNumber>;
81
+ frameHeight: z.ZodOptional<z.ZodNumber>;
82
+ framesDecoded: z.ZodOptional<z.ZodNumber>;
83
+ framesPerSecond: z.ZodOptional<z.ZodNumber>;
84
+ framesDropped: z.ZodOptional<z.ZodNumber>;
85
+ videoCodec: z.ZodOptional<z.ZodString>;
86
+ audioCodec: z.ZodOptional<z.ZodString>;
87
+ browserInfo: z.ZodOptional<z.ZodObject<{
88
+ userAgent: z.ZodOptional<z.ZodString>;
89
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
+ language: z.ZodOptional<z.ZodString>;
91
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
92
+ userAgent: z.ZodOptional<z.ZodString>;
93
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
+ language: z.ZodOptional<z.ZodString>;
95
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
96
+ userAgent: z.ZodOptional<z.ZodString>;
97
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ language: z.ZodOptional<z.ZodString>;
99
+ }, z.ZodTypeAny, "passthrough">>>;
100
+ currentRTT: z.ZodOptional<z.ZodNumber>;
101
+ sessionRunTime: z.ZodOptional<z.ZodString>;
102
+ controlsStreamInput: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
103
+ videoEncoderAvgQP: z.ZodOptional<z.ZodNumber>;
104
+ videoBitrate: z.ZodOptional<z.ZodNumber>;
105
+ audioBitrate: z.ZodOptional<z.ZodNumber>;
106
+ }, z.ZodTypeAny, "passthrough">>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ type?: "stats";
109
+ stats?: z.objectOutputType<{
110
+ codecs: z.ZodOptional<z.ZodType<Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>, z.ZodTypeDef, Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>>>;
111
+ candidatePair: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[]>>;
112
+ localCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
113
+ remoteCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
114
+ DataChannelStats: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats>>;
115
+ bytesReceived: z.ZodOptional<z.ZodNumber>;
116
+ packetsLost: z.ZodOptional<z.ZodNumber>;
117
+ frameWidth: z.ZodOptional<z.ZodNumber>;
118
+ frameHeight: z.ZodOptional<z.ZodNumber>;
119
+ framesDecoded: z.ZodOptional<z.ZodNumber>;
120
+ framesPerSecond: z.ZodOptional<z.ZodNumber>;
121
+ framesDropped: z.ZodOptional<z.ZodNumber>;
122
+ videoCodec: z.ZodOptional<z.ZodString>;
123
+ audioCodec: z.ZodOptional<z.ZodString>;
124
+ browserInfo: z.ZodOptional<z.ZodObject<{
125
+ userAgent: z.ZodOptional<z.ZodString>;
126
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ language: z.ZodOptional<z.ZodString>;
128
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
129
+ userAgent: z.ZodOptional<z.ZodString>;
130
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
+ language: z.ZodOptional<z.ZodString>;
132
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
133
+ userAgent: z.ZodOptional<z.ZodString>;
134
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
+ language: z.ZodOptional<z.ZodString>;
136
+ }, z.ZodTypeAny, "passthrough">>>;
137
+ currentRTT: z.ZodOptional<z.ZodNumber>;
138
+ sessionRunTime: z.ZodOptional<z.ZodString>;
139
+ controlsStreamInput: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
140
+ videoEncoderAvgQP: z.ZodOptional<z.ZodNumber>;
141
+ videoBitrate: z.ZodOptional<z.ZodNumber>;
142
+ audioBitrate: z.ZodOptional<z.ZodNumber>;
143
+ }, z.ZodTypeAny, "passthrough">;
144
+ }, {
145
+ type?: "stats";
146
+ stats?: z.objectInputType<{
147
+ codecs: z.ZodOptional<z.ZodType<Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>, z.ZodTypeDef, Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>>>;
148
+ candidatePair: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[]>>;
149
+ localCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
150
+ remoteCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[]>>;
151
+ DataChannelStats: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats>>;
152
+ bytesReceived: z.ZodOptional<z.ZodNumber>;
153
+ packetsLost: z.ZodOptional<z.ZodNumber>;
154
+ frameWidth: z.ZodOptional<z.ZodNumber>;
155
+ frameHeight: z.ZodOptional<z.ZodNumber>;
156
+ framesDecoded: z.ZodOptional<z.ZodNumber>;
157
+ framesPerSecond: z.ZodOptional<z.ZodNumber>;
158
+ framesDropped: z.ZodOptional<z.ZodNumber>;
159
+ videoCodec: z.ZodOptional<z.ZodString>;
160
+ audioCodec: z.ZodOptional<z.ZodString>;
161
+ browserInfo: z.ZodOptional<z.ZodObject<{
162
+ userAgent: z.ZodOptional<z.ZodString>;
163
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
+ language: z.ZodOptional<z.ZodString>;
165
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
166
+ userAgent: z.ZodOptional<z.ZodString>;
167
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
+ language: z.ZodOptional<z.ZodString>;
169
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
170
+ userAgent: z.ZodOptional<z.ZodString>;
171
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
+ language: z.ZodOptional<z.ZodString>;
173
+ }, z.ZodTypeAny, "passthrough">>>;
174
+ currentRTT: z.ZodOptional<z.ZodNumber>;
175
+ sessionRunTime: z.ZodOptional<z.ZodString>;
176
+ controlsStreamInput: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
177
+ videoEncoderAvgQP: z.ZodOptional<z.ZodNumber>;
178
+ videoBitrate: z.ZodOptional<z.ZodNumber>;
179
+ audioBitrate: z.ZodOptional<z.ZodNumber>;
180
+ }, z.ZodTypeAny, "passthrough">;
181
+ }>;
182
+ export type Stats = z.infer<typeof ZStats>;
@@ -0,0 +1,345 @@
1
+ import { z } from "zod";
2
+ export declare const ZStreamInfo: z.ZodObject<{
3
+ type: z.ZodLiteral<"streamInfo">;
4
+ streamInfo: z.ZodObject<{
5
+ guid: z.ZodString;
6
+ autoPlay: z.ZodOptional<z.ZodBoolean>;
7
+ touchCapable: z.ZodOptional<z.ZodBoolean>;
8
+ resolution: z.ZodOptional<z.ZodObject<{
9
+ width: z.ZodNumber;
10
+ height: z.ZodNumber;
11
+ dynamic: z.ZodOptional<z.ZodBoolean>;
12
+ fixed: z.ZodOptional<z.ZodBoolean>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ width?: number;
15
+ height?: number;
16
+ dynamic?: boolean;
17
+ fixed?: boolean;
18
+ }, {
19
+ width?: number;
20
+ height?: number;
21
+ dynamic?: boolean;
22
+ fixed?: boolean;
23
+ }>>;
24
+ meta: z.ZodOptional<z.ZodObject<{
25
+ friendlyName: z.ZodOptional<z.ZodString>;
26
+ isTrial: z.ZodOptional<z.ZodBoolean>;
27
+ mouseLock: z.ZodOptional<z.ZodBoolean>;
28
+ poweredBy: z.ZodOptional<z.ZodBoolean>;
29
+ ueVersion: z.ZodOptional<z.ZodString>;
30
+ version: z.ZodOptional<z.ZodString>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ friendlyName?: string;
33
+ isTrial?: boolean;
34
+ mouseLock?: boolean;
35
+ poweredBy?: boolean;
36
+ ueVersion?: string;
37
+ version?: string;
38
+ }, {
39
+ friendlyName?: string;
40
+ isTrial?: boolean;
41
+ mouseLock?: boolean;
42
+ poweredBy?: boolean;
43
+ ueVersion?: string;
44
+ version?: string;
45
+ }>>;
46
+ webSdkSettings: z.ZodOptional<z.ZodObject<{
47
+ conf: z.ZodOptional<z.ZodObject<{
48
+ fullscreenButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
49
+ stopButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
50
+ audioButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
51
+ infoButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
52
+ micButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
53
+ settingsButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
54
+ connectionStrengthIcon: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ fullscreenButton?: boolean;
57
+ stopButton?: boolean;
58
+ audioButton?: boolean;
59
+ infoButton?: boolean;
60
+ micButton?: boolean;
61
+ settingsButton?: boolean;
62
+ connectionStrengthIcon?: boolean;
63
+ }, {
64
+ fullscreenButton?: boolean;
65
+ stopButton?: boolean;
66
+ audioButton?: boolean;
67
+ infoButton?: boolean;
68
+ micButton?: boolean;
69
+ settingsButton?: boolean;
70
+ connectionStrengthIcon?: boolean;
71
+ }>>;
72
+ init: z.ZodOptional<z.ZodObject<{
73
+ KeyboardInput: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
74
+ MouseInput: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
75
+ GamepadInput: z.ZodOptional<z.ZodBoolean>;
76
+ TouchInput: z.ZodOptional<z.ZodBoolean>;
77
+ XRControllerInput: z.ZodOptional<z.ZodBoolean>;
78
+ FakeMouseWithTouches: z.ZodOptional<z.ZodBoolean>;
79
+ ForceMonoAudio: z.ZodOptional<z.ZodBoolean>;
80
+ HoveringMouse: z.ZodOptional<z.ZodBoolean>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ KeyboardInput?: boolean;
83
+ MouseInput?: boolean;
84
+ GamepadInput?: boolean;
85
+ TouchInput?: boolean;
86
+ XRControllerInput?: boolean;
87
+ FakeMouseWithTouches?: boolean;
88
+ ForceMonoAudio?: boolean;
89
+ HoveringMouse?: boolean;
90
+ }, {
91
+ KeyboardInput?: boolean;
92
+ MouseInput?: boolean;
93
+ GamepadInput?: boolean;
94
+ TouchInput?: boolean;
95
+ XRControllerInput?: boolean;
96
+ FakeMouseWithTouches?: boolean;
97
+ ForceMonoAudio?: boolean;
98
+ HoveringMouse?: boolean;
99
+ }>>;
100
+ }, "strict", z.ZodTypeAny, {
101
+ conf?: {
102
+ fullscreenButton?: boolean;
103
+ stopButton?: boolean;
104
+ audioButton?: boolean;
105
+ infoButton?: boolean;
106
+ micButton?: boolean;
107
+ settingsButton?: boolean;
108
+ connectionStrengthIcon?: boolean;
109
+ };
110
+ init?: {
111
+ KeyboardInput?: boolean;
112
+ MouseInput?: boolean;
113
+ GamepadInput?: boolean;
114
+ TouchInput?: boolean;
115
+ XRControllerInput?: boolean;
116
+ FakeMouseWithTouches?: boolean;
117
+ ForceMonoAudio?: boolean;
118
+ HoveringMouse?: boolean;
119
+ };
120
+ }, {
121
+ conf?: {
122
+ fullscreenButton?: boolean;
123
+ stopButton?: boolean;
124
+ audioButton?: boolean;
125
+ infoButton?: boolean;
126
+ micButton?: boolean;
127
+ settingsButton?: boolean;
128
+ connectionStrengthIcon?: boolean;
129
+ };
130
+ init?: {
131
+ KeyboardInput?: boolean;
132
+ MouseInput?: boolean;
133
+ GamepadInput?: boolean;
134
+ TouchInput?: boolean;
135
+ XRControllerInput?: boolean;
136
+ FakeMouseWithTouches?: boolean;
137
+ ForceMonoAudio?: boolean;
138
+ HoveringMouse?: boolean;
139
+ };
140
+ }>>;
141
+ afk: z.ZodOptional<z.ZodObject<{
142
+ enabled: z.ZodBoolean;
143
+ warn: z.ZodNumber;
144
+ error: z.ZodNumber;
145
+ action: z.ZodNumber;
146
+ }, "strip", z.ZodTypeAny, {
147
+ enabled?: boolean;
148
+ warn?: number;
149
+ error?: number;
150
+ action?: number;
151
+ }, {
152
+ enabled?: boolean;
153
+ warn?: number;
154
+ error?: number;
155
+ action?: number;
156
+ }>>;
157
+ }, "strip", z.ZodTypeAny, {
158
+ guid?: string;
159
+ autoPlay?: boolean;
160
+ touchCapable?: boolean;
161
+ resolution?: {
162
+ width?: number;
163
+ height?: number;
164
+ dynamic?: boolean;
165
+ fixed?: boolean;
166
+ };
167
+ meta?: {
168
+ friendlyName?: string;
169
+ isTrial?: boolean;
170
+ mouseLock?: boolean;
171
+ poweredBy?: boolean;
172
+ ueVersion?: string;
173
+ version?: string;
174
+ };
175
+ webSdkSettings?: {
176
+ conf?: {
177
+ fullscreenButton?: boolean;
178
+ stopButton?: boolean;
179
+ audioButton?: boolean;
180
+ infoButton?: boolean;
181
+ micButton?: boolean;
182
+ settingsButton?: boolean;
183
+ connectionStrengthIcon?: boolean;
184
+ };
185
+ init?: {
186
+ KeyboardInput?: boolean;
187
+ MouseInput?: boolean;
188
+ GamepadInput?: boolean;
189
+ TouchInput?: boolean;
190
+ XRControllerInput?: boolean;
191
+ FakeMouseWithTouches?: boolean;
192
+ ForceMonoAudio?: boolean;
193
+ HoveringMouse?: boolean;
194
+ };
195
+ };
196
+ afk?: {
197
+ enabled?: boolean;
198
+ warn?: number;
199
+ error?: number;
200
+ action?: number;
201
+ };
202
+ }, {
203
+ guid?: string;
204
+ autoPlay?: boolean;
205
+ touchCapable?: boolean;
206
+ resolution?: {
207
+ width?: number;
208
+ height?: number;
209
+ dynamic?: boolean;
210
+ fixed?: boolean;
211
+ };
212
+ meta?: {
213
+ friendlyName?: string;
214
+ isTrial?: boolean;
215
+ mouseLock?: boolean;
216
+ poweredBy?: boolean;
217
+ ueVersion?: string;
218
+ version?: string;
219
+ };
220
+ webSdkSettings?: {
221
+ conf?: {
222
+ fullscreenButton?: boolean;
223
+ stopButton?: boolean;
224
+ audioButton?: boolean;
225
+ infoButton?: boolean;
226
+ micButton?: boolean;
227
+ settingsButton?: boolean;
228
+ connectionStrengthIcon?: boolean;
229
+ };
230
+ init?: {
231
+ KeyboardInput?: boolean;
232
+ MouseInput?: boolean;
233
+ GamepadInput?: boolean;
234
+ TouchInput?: boolean;
235
+ XRControllerInput?: boolean;
236
+ FakeMouseWithTouches?: boolean;
237
+ ForceMonoAudio?: boolean;
238
+ HoveringMouse?: boolean;
239
+ };
240
+ };
241
+ afk?: {
242
+ enabled?: boolean;
243
+ warn?: number;
244
+ error?: number;
245
+ action?: number;
246
+ };
247
+ }>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ type?: "streamInfo";
250
+ streamInfo?: {
251
+ guid?: string;
252
+ autoPlay?: boolean;
253
+ touchCapable?: boolean;
254
+ resolution?: {
255
+ width?: number;
256
+ height?: number;
257
+ dynamic?: boolean;
258
+ fixed?: boolean;
259
+ };
260
+ meta?: {
261
+ friendlyName?: string;
262
+ isTrial?: boolean;
263
+ mouseLock?: boolean;
264
+ poweredBy?: boolean;
265
+ ueVersion?: string;
266
+ version?: string;
267
+ };
268
+ webSdkSettings?: {
269
+ conf?: {
270
+ fullscreenButton?: boolean;
271
+ stopButton?: boolean;
272
+ audioButton?: boolean;
273
+ infoButton?: boolean;
274
+ micButton?: boolean;
275
+ settingsButton?: boolean;
276
+ connectionStrengthIcon?: boolean;
277
+ };
278
+ init?: {
279
+ KeyboardInput?: boolean;
280
+ MouseInput?: boolean;
281
+ GamepadInput?: boolean;
282
+ TouchInput?: boolean;
283
+ XRControllerInput?: boolean;
284
+ FakeMouseWithTouches?: boolean;
285
+ ForceMonoAudio?: boolean;
286
+ HoveringMouse?: boolean;
287
+ };
288
+ };
289
+ afk?: {
290
+ enabled?: boolean;
291
+ warn?: number;
292
+ error?: number;
293
+ action?: number;
294
+ };
295
+ };
296
+ }, {
297
+ type?: "streamInfo";
298
+ streamInfo?: {
299
+ guid?: string;
300
+ autoPlay?: boolean;
301
+ touchCapable?: boolean;
302
+ resolution?: {
303
+ width?: number;
304
+ height?: number;
305
+ dynamic?: boolean;
306
+ fixed?: boolean;
307
+ };
308
+ meta?: {
309
+ friendlyName?: string;
310
+ isTrial?: boolean;
311
+ mouseLock?: boolean;
312
+ poweredBy?: boolean;
313
+ ueVersion?: string;
314
+ version?: string;
315
+ };
316
+ webSdkSettings?: {
317
+ conf?: {
318
+ fullscreenButton?: boolean;
319
+ stopButton?: boolean;
320
+ audioButton?: boolean;
321
+ infoButton?: boolean;
322
+ micButton?: boolean;
323
+ settingsButton?: boolean;
324
+ connectionStrengthIcon?: boolean;
325
+ };
326
+ init?: {
327
+ KeyboardInput?: boolean;
328
+ MouseInput?: boolean;
329
+ GamepadInput?: boolean;
330
+ TouchInput?: boolean;
331
+ XRControllerInput?: boolean;
332
+ FakeMouseWithTouches?: boolean;
333
+ ForceMonoAudio?: boolean;
334
+ HoveringMouse?: boolean;
335
+ };
336
+ };
337
+ afk?: {
338
+ enabled?: boolean;
339
+ warn?: number;
340
+ error?: number;
341
+ action?: number;
342
+ };
343
+ };
344
+ }>;
345
+ export type StreamInfo = z.infer<typeof ZStreamInfo>;
@@ -0,0 +1,12 @@
1
+ import { z } from "zod";
2
+ export declare const ZVersion: z.ZodObject<{
3
+ type: z.ZodLiteral<"version">;
4
+ version: z.ZodOptional<z.ZodString>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ type?: "version";
7
+ version?: string;
8
+ }, {
9
+ type?: "version";
10
+ version?: string;
11
+ }>;
12
+ export type Version = z.infer<typeof ZVersion>;
@@ -0,0 +1,96 @@
1
+ import { z } from "zod";
2
+ export declare const WebSdkSettings: z.ZodObject<{
3
+ conf: z.ZodOptional<z.ZodObject<{
4
+ fullscreenButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5
+ stopButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
+ audioButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7
+ infoButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8
+ micButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9
+ settingsButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
10
+ connectionStrengthIcon: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ fullscreenButton?: boolean;
13
+ stopButton?: boolean;
14
+ audioButton?: boolean;
15
+ infoButton?: boolean;
16
+ micButton?: boolean;
17
+ settingsButton?: boolean;
18
+ connectionStrengthIcon?: boolean;
19
+ }, {
20
+ fullscreenButton?: boolean;
21
+ stopButton?: boolean;
22
+ audioButton?: boolean;
23
+ infoButton?: boolean;
24
+ micButton?: boolean;
25
+ settingsButton?: boolean;
26
+ connectionStrengthIcon?: boolean;
27
+ }>>;
28
+ init: z.ZodOptional<z.ZodObject<{
29
+ KeyboardInput: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
30
+ MouseInput: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
31
+ GamepadInput: z.ZodOptional<z.ZodBoolean>;
32
+ TouchInput: z.ZodOptional<z.ZodBoolean>;
33
+ XRControllerInput: z.ZodOptional<z.ZodBoolean>;
34
+ FakeMouseWithTouches: z.ZodOptional<z.ZodBoolean>;
35
+ ForceMonoAudio: z.ZodOptional<z.ZodBoolean>;
36
+ HoveringMouse: z.ZodOptional<z.ZodBoolean>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ KeyboardInput?: boolean;
39
+ MouseInput?: boolean;
40
+ GamepadInput?: boolean;
41
+ TouchInput?: boolean;
42
+ XRControllerInput?: boolean;
43
+ FakeMouseWithTouches?: boolean;
44
+ ForceMonoAudio?: boolean;
45
+ HoveringMouse?: boolean;
46
+ }, {
47
+ KeyboardInput?: boolean;
48
+ MouseInput?: boolean;
49
+ GamepadInput?: boolean;
50
+ TouchInput?: boolean;
51
+ XRControllerInput?: boolean;
52
+ FakeMouseWithTouches?: boolean;
53
+ ForceMonoAudio?: boolean;
54
+ HoveringMouse?: boolean;
55
+ }>>;
56
+ }, "strict", z.ZodTypeAny, {
57
+ conf?: {
58
+ fullscreenButton?: boolean;
59
+ stopButton?: boolean;
60
+ audioButton?: boolean;
61
+ infoButton?: boolean;
62
+ micButton?: boolean;
63
+ settingsButton?: boolean;
64
+ connectionStrengthIcon?: boolean;
65
+ };
66
+ init?: {
67
+ KeyboardInput?: boolean;
68
+ MouseInput?: boolean;
69
+ GamepadInput?: boolean;
70
+ TouchInput?: boolean;
71
+ XRControllerInput?: boolean;
72
+ FakeMouseWithTouches?: boolean;
73
+ ForceMonoAudio?: boolean;
74
+ HoveringMouse?: boolean;
75
+ };
76
+ }, {
77
+ conf?: {
78
+ fullscreenButton?: boolean;
79
+ stopButton?: boolean;
80
+ audioButton?: boolean;
81
+ infoButton?: boolean;
82
+ micButton?: boolean;
83
+ settingsButton?: boolean;
84
+ connectionStrengthIcon?: boolean;
85
+ };
86
+ init?: {
87
+ KeyboardInput?: boolean;
88
+ MouseInput?: boolean;
89
+ GamepadInput?: boolean;
90
+ TouchInput?: boolean;
91
+ XRControllerInput?: boolean;
92
+ FakeMouseWithTouches?: boolean;
93
+ ForceMonoAudio?: boolean;
94
+ HoveringMouse?: boolean;
95
+ };
96
+ }>;