@arcware-cloud/pixelstreaming-websdk 1.3.21 → 1.3.23

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 (48) hide show
  1. package/README.md +4 -0
  2. package/index.cjs.js +27490 -27086
  3. package/index.esm.js +27747 -27375
  4. package/index.umd.js +27489 -27085
  5. package/package.json +1 -1
  6. package/types/index.d.ts +0 -3
  7. package/types/lib/ApplyUrlHack.d.ts +0 -2
  8. package/types/lib/ArcwareApplication.d.ts +0 -54
  9. package/types/lib/ArcwareConfig.d.ts +0 -44
  10. package/types/lib/ArcwareInit.d.ts +0 -19
  11. package/types/lib/ArcwarePixelStreaming.d.ts +0 -140
  12. package/types/lib/MessageTypes.d.ts +0 -4
  13. package/types/lib/domain/ArcwareSettingsSchema.d.ts +0 -274
  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/features/ArcwareEventUtil.d.ts +0 -28
  19. package/types/lib/features/ArcwareFileTransferUtil.d.ts +0 -13
  20. package/types/lib/features/DiagnosticsCollector.d.ts +0 -181
  21. package/types/lib/features/ZWhiteLabel.d.ts +0 -31
  22. package/types/lib/features/common.d.ts +0 -17
  23. package/types/lib/features/whiteLabelling.d.ts +0 -4
  24. package/types/lib/index.d.ts +0 -6
  25. package/types/lib/styles/ArcwarePixelStreamingApplicationStyles.d.ts +0 -543
  26. package/types/lib/ui/ArcwareLogoLoader/index.d.ts +0 -14
  27. package/types/lib/ui/AudioButton/AudioIcon.d.ts +0 -7
  28. package/types/lib/ui/AudioButton/index.d.ts +0 -15
  29. package/types/lib/ui/LoveLetters/index.d.ts +0 -6
  30. package/types/lib/ui/MicButton/index.d.ts +0 -14
  31. package/types/lib/ui/MicIcon/index.d.ts +0 -7
  32. package/types/lib/ui/MicrophoneOverlay/index.d.ts +0 -11
  33. package/types/lib/ui/PlayIcon/index.d.ts +0 -5
  34. package/types/lib/ui/StopButton/index.d.ts +0 -16
  35. package/types/lib/ui/StopIcon/index.d.ts +0 -5
  36. package/types/shared/index.d.ts +0 -1
  37. package/types/shared/lib/Messages/ErrorMessage.d.ts +0 -18
  38. package/types/shared/lib/Messages/LoveLetter.d.ts +0 -18
  39. package/types/shared/lib/Messages/Ping.d.ts +0 -15
  40. package/types/shared/lib/Messages/Queue.d.ts +0 -58
  41. package/types/shared/lib/Messages/Render.d.ts +0 -9
  42. package/types/shared/lib/Messages/SessionId.d.ts +0 -12
  43. package/types/shared/lib/Messages/Stats.d.ts +0 -182
  44. package/types/shared/lib/Messages/StreamInfo.d.ts +0 -338
  45. package/types/shared/lib/Messages/Version.d.ts +0 -12
  46. package/types/shared/lib/Messages/WebSdkSettings.d.ts +0 -96
  47. package/types/shared/lib/Messages/index.d.ts +0 -193
  48. package/types/shared/lib/index.d.ts +0 -1
@@ -1,15 +0,0 @@
1
- import { z } from "zod";
2
- export declare const ZPing: z.ZodObject<{
3
- type: z.ZodLiteral<"ping">;
4
- message: z.ZodOptional<z.ZodString>;
5
- time: z.ZodNumber;
6
- }, "strip", z.ZodTypeAny, {
7
- type?: "ping";
8
- message?: string;
9
- time?: number;
10
- }, {
11
- type?: "ping";
12
- message?: string;
13
- time?: number;
14
- }>;
15
- export type Ping = z.infer<typeof ZPing>;
@@ -1,58 +0,0 @@
1
- import { z } from "zod";
2
- export declare const ZQueue: z.ZodObject<{
3
- type: z.ZodLiteral<"queue">;
4
- queue: z.ZodObject<{
5
- /** Ticket._id - will not be exposed to frontend. */
6
- /** Position in queue (zero based). */
7
- index: z.ZodOptional<z.ZodNumber>;
8
- /** Length of the queue. */
9
- queueLength: z.ZodOptional<z.ZodNumber>;
10
- /** Already waited for. */
11
- waited: z.ZodOptional<z.ZodNumber>;
12
- /** Based on Average Watch Time,
13
- * we calculate an average interval of expected connection closings and based on the amount of concurrent sessions,
14
- * we can calculate the estimated time until another slot will be freed up. */
15
- estimatedWaitTime: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
16
- /** The average time all current sessions.
17
- * (How long did it actually take those that waited for them that received a connection to the currently running instances.)
18
- */
19
- averageWaitTime: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20
- /** Type of all time-values in the que. */
21
- valueType: z.ZodEnum<["milliseconds", "seconds", "minutes", "hours", "days"]>;
22
- }, "strip", z.ZodTypeAny, {
23
- index?: number;
24
- queueLength?: number;
25
- waited?: number;
26
- estimatedWaitTime?: number;
27
- averageWaitTime?: number;
28
- valueType?: "milliseconds" | "seconds" | "minutes" | "hours" | "days";
29
- }, {
30
- index?: number;
31
- queueLength?: number;
32
- waited?: number;
33
- estimatedWaitTime?: number;
34
- averageWaitTime?: number;
35
- valueType?: "milliseconds" | "seconds" | "minutes" | "hours" | "days";
36
- }>;
37
- }, "strip", z.ZodTypeAny, {
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
- type?: "queue";
49
- queue?: {
50
- index?: number;
51
- queueLength?: number;
52
- waited?: number;
53
- estimatedWaitTime?: number;
54
- averageWaitTime?: number;
55
- valueType?: "milliseconds" | "seconds" | "minutes" | "hours" | "days";
56
- };
57
- }>;
58
- export type Queue = z.infer<typeof ZQueue>;
@@ -1,9 +0,0 @@
1
- import { z } from "zod";
2
- export declare const ZRender: z.ZodObject<{
3
- type: z.ZodLiteral<"render">;
4
- }, "strip", z.ZodTypeAny, {
5
- type?: "render";
6
- }, {
7
- type?: "render";
8
- }>;
9
- export type Render = z.infer<typeof ZRender>;
@@ -1,12 +0,0 @@
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>;
@@ -1,182 +0,0 @@
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>;
@@ -1,338 +0,0 @@
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
- version: z.ZodOptional<z.ZodString>;
30
- }, "strip", z.ZodTypeAny, {
31
- friendlyName?: string;
32
- isTrial?: boolean;
33
- mouseLock?: boolean;
34
- poweredBy?: boolean;
35
- version?: string;
36
- }, {
37
- friendlyName?: string;
38
- isTrial?: boolean;
39
- mouseLock?: boolean;
40
- poweredBy?: boolean;
41
- version?: string;
42
- }>>;
43
- webSdkSettings: z.ZodOptional<z.ZodObject<{
44
- conf: z.ZodOptional<z.ZodObject<{
45
- fullscreenButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
46
- stopButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
47
- audioButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
48
- infoButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
49
- micButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
50
- settingsButton: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
51
- connectionStrengthIcon: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
52
- }, "strip", z.ZodTypeAny, {
53
- fullscreenButton?: boolean;
54
- stopButton?: boolean;
55
- audioButton?: boolean;
56
- infoButton?: boolean;
57
- micButton?: boolean;
58
- settingsButton?: boolean;
59
- connectionStrengthIcon?: boolean;
60
- }, {
61
- fullscreenButton?: boolean;
62
- stopButton?: boolean;
63
- audioButton?: boolean;
64
- infoButton?: boolean;
65
- micButton?: boolean;
66
- settingsButton?: boolean;
67
- connectionStrengthIcon?: boolean;
68
- }>>;
69
- init: z.ZodOptional<z.ZodObject<{
70
- KeyboardInput: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
71
- MouseInput: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
72
- GamepadInput: z.ZodOptional<z.ZodBoolean>;
73
- TouchInput: z.ZodOptional<z.ZodBoolean>;
74
- XRControllerInput: z.ZodOptional<z.ZodBoolean>;
75
- FakeMouseWithTouches: z.ZodOptional<z.ZodBoolean>;
76
- ForceMonoAudio: z.ZodOptional<z.ZodBoolean>;
77
- HoveringMouse: z.ZodOptional<z.ZodBoolean>;
78
- }, "strip", z.ZodTypeAny, {
79
- KeyboardInput?: boolean;
80
- MouseInput?: boolean;
81
- GamepadInput?: boolean;
82
- TouchInput?: boolean;
83
- XRControllerInput?: boolean;
84
- FakeMouseWithTouches?: boolean;
85
- ForceMonoAudio?: boolean;
86
- HoveringMouse?: boolean;
87
- }, {
88
- KeyboardInput?: boolean;
89
- MouseInput?: boolean;
90
- GamepadInput?: boolean;
91
- TouchInput?: boolean;
92
- XRControllerInput?: boolean;
93
- FakeMouseWithTouches?: boolean;
94
- ForceMonoAudio?: boolean;
95
- HoveringMouse?: boolean;
96
- }>>;
97
- }, "strict", z.ZodTypeAny, {
98
- conf?: {
99
- fullscreenButton?: boolean;
100
- stopButton?: boolean;
101
- audioButton?: boolean;
102
- infoButton?: boolean;
103
- micButton?: boolean;
104
- settingsButton?: boolean;
105
- connectionStrengthIcon?: boolean;
106
- };
107
- init?: {
108
- KeyboardInput?: boolean;
109
- MouseInput?: boolean;
110
- GamepadInput?: boolean;
111
- TouchInput?: boolean;
112
- XRControllerInput?: boolean;
113
- FakeMouseWithTouches?: boolean;
114
- ForceMonoAudio?: boolean;
115
- HoveringMouse?: boolean;
116
- };
117
- }, {
118
- conf?: {
119
- fullscreenButton?: boolean;
120
- stopButton?: boolean;
121
- audioButton?: boolean;
122
- infoButton?: boolean;
123
- micButton?: boolean;
124
- settingsButton?: boolean;
125
- connectionStrengthIcon?: boolean;
126
- };
127
- init?: {
128
- KeyboardInput?: boolean;
129
- MouseInput?: boolean;
130
- GamepadInput?: boolean;
131
- TouchInput?: boolean;
132
- XRControllerInput?: boolean;
133
- FakeMouseWithTouches?: boolean;
134
- ForceMonoAudio?: boolean;
135
- HoveringMouse?: boolean;
136
- };
137
- }>>;
138
- afk: z.ZodOptional<z.ZodObject<{
139
- enabled: z.ZodBoolean;
140
- warn: z.ZodNumber;
141
- error: z.ZodNumber;
142
- action: z.ZodNumber;
143
- }, "strip", z.ZodTypeAny, {
144
- enabled?: boolean;
145
- warn?: number;
146
- error?: number;
147
- action?: number;
148
- }, {
149
- enabled?: boolean;
150
- warn?: number;
151
- error?: number;
152
- action?: number;
153
- }>>;
154
- }, "strip", z.ZodTypeAny, {
155
- guid?: string;
156
- autoPlay?: boolean;
157
- touchCapable?: boolean;
158
- resolution?: {
159
- width?: number;
160
- height?: number;
161
- dynamic?: boolean;
162
- fixed?: boolean;
163
- };
164
- meta?: {
165
- friendlyName?: string;
166
- isTrial?: boolean;
167
- mouseLock?: boolean;
168
- poweredBy?: boolean;
169
- version?: string;
170
- };
171
- webSdkSettings?: {
172
- conf?: {
173
- fullscreenButton?: boolean;
174
- stopButton?: boolean;
175
- audioButton?: boolean;
176
- infoButton?: boolean;
177
- micButton?: boolean;
178
- settingsButton?: boolean;
179
- connectionStrengthIcon?: boolean;
180
- };
181
- init?: {
182
- KeyboardInput?: boolean;
183
- MouseInput?: boolean;
184
- GamepadInput?: boolean;
185
- TouchInput?: boolean;
186
- XRControllerInput?: boolean;
187
- FakeMouseWithTouches?: boolean;
188
- ForceMonoAudio?: boolean;
189
- HoveringMouse?: boolean;
190
- };
191
- };
192
- afk?: {
193
- enabled?: boolean;
194
- warn?: number;
195
- error?: number;
196
- action?: number;
197
- };
198
- }, {
199
- guid?: string;
200
- autoPlay?: boolean;
201
- touchCapable?: boolean;
202
- resolution?: {
203
- width?: number;
204
- height?: number;
205
- dynamic?: boolean;
206
- fixed?: boolean;
207
- };
208
- meta?: {
209
- friendlyName?: string;
210
- isTrial?: boolean;
211
- mouseLock?: boolean;
212
- poweredBy?: boolean;
213
- version?: string;
214
- };
215
- webSdkSettings?: {
216
- conf?: {
217
- fullscreenButton?: boolean;
218
- stopButton?: boolean;
219
- audioButton?: boolean;
220
- infoButton?: boolean;
221
- micButton?: boolean;
222
- settingsButton?: boolean;
223
- connectionStrengthIcon?: boolean;
224
- };
225
- init?: {
226
- KeyboardInput?: boolean;
227
- MouseInput?: boolean;
228
- GamepadInput?: boolean;
229
- TouchInput?: boolean;
230
- XRControllerInput?: boolean;
231
- FakeMouseWithTouches?: boolean;
232
- ForceMonoAudio?: boolean;
233
- HoveringMouse?: boolean;
234
- };
235
- };
236
- afk?: {
237
- enabled?: boolean;
238
- warn?: number;
239
- error?: number;
240
- action?: number;
241
- };
242
- }>;
243
- }, "strip", z.ZodTypeAny, {
244
- type?: "streamInfo";
245
- streamInfo?: {
246
- guid?: string;
247
- autoPlay?: boolean;
248
- touchCapable?: boolean;
249
- resolution?: {
250
- width?: number;
251
- height?: number;
252
- dynamic?: boolean;
253
- fixed?: boolean;
254
- };
255
- meta?: {
256
- friendlyName?: string;
257
- isTrial?: boolean;
258
- mouseLock?: boolean;
259
- poweredBy?: boolean;
260
- version?: string;
261
- };
262
- webSdkSettings?: {
263
- conf?: {
264
- fullscreenButton?: boolean;
265
- stopButton?: boolean;
266
- audioButton?: boolean;
267
- infoButton?: boolean;
268
- micButton?: boolean;
269
- settingsButton?: boolean;
270
- connectionStrengthIcon?: boolean;
271
- };
272
- init?: {
273
- KeyboardInput?: boolean;
274
- MouseInput?: boolean;
275
- GamepadInput?: boolean;
276
- TouchInput?: boolean;
277
- XRControllerInput?: boolean;
278
- FakeMouseWithTouches?: boolean;
279
- ForceMonoAudio?: boolean;
280
- HoveringMouse?: boolean;
281
- };
282
- };
283
- afk?: {
284
- enabled?: boolean;
285
- warn?: number;
286
- error?: number;
287
- action?: number;
288
- };
289
- };
290
- }, {
291
- type?: "streamInfo";
292
- streamInfo?: {
293
- guid?: string;
294
- autoPlay?: boolean;
295
- touchCapable?: boolean;
296
- resolution?: {
297
- width?: number;
298
- height?: number;
299
- dynamic?: boolean;
300
- fixed?: boolean;
301
- };
302
- meta?: {
303
- friendlyName?: string;
304
- isTrial?: boolean;
305
- mouseLock?: boolean;
306
- poweredBy?: boolean;
307
- version?: string;
308
- };
309
- webSdkSettings?: {
310
- conf?: {
311
- fullscreenButton?: boolean;
312
- stopButton?: boolean;
313
- audioButton?: boolean;
314
- infoButton?: boolean;
315
- micButton?: boolean;
316
- settingsButton?: boolean;
317
- connectionStrengthIcon?: boolean;
318
- };
319
- init?: {
320
- KeyboardInput?: boolean;
321
- MouseInput?: boolean;
322
- GamepadInput?: boolean;
323
- TouchInput?: boolean;
324
- XRControllerInput?: boolean;
325
- FakeMouseWithTouches?: boolean;
326
- ForceMonoAudio?: boolean;
327
- HoveringMouse?: boolean;
328
- };
329
- };
330
- afk?: {
331
- enabled?: boolean;
332
- warn?: number;
333
- error?: number;
334
- action?: number;
335
- };
336
- };
337
- }>;
338
- export type StreamInfo = z.infer<typeof ZStreamInfo>;
@@ -1,12 +0,0 @@
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>;