@arcware-cloud/pixelstreaming-websdk 1.3.39 → 1.4.4

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 (74) hide show
  1. package/LICENSE.md +0 -2
  2. package/README.md +0 -2
  3. package/core.cjs +19343 -0
  4. package/core.mjs +1 -0
  5. package/core.umd.cjs +19352 -0
  6. package/index.cjs +3710 -7812
  7. package/index.mjs +1 -32858
  8. package/index.umd.cjs +3710 -7812
  9. package/package.json +13 -5
  10. package/report.html +39 -0
  11. package/stats.json +118354 -0
  12. package/types/{lib → core}/ArcwareConfig.d.ts +10 -4
  13. package/types/core/ArcwarePixelStreaming.d.ts +268 -0
  14. package/types/core/CoreSetup.d.ts +10 -0
  15. package/types/core/Messages/ErrorMessage.d.ts +11 -0
  16. package/types/core/Messages/LoveLetter.d.ts +11 -0
  17. package/types/core/Messages/Ping.d.ts +10 -0
  18. package/types/core/Messages/Queue.d.ts +23 -0
  19. package/types/core/Messages/Render.d.ts +8 -0
  20. package/types/core/Messages/SessionId.d.ts +9 -0
  21. package/types/core/Messages/Stats.d.ts +34 -0
  22. package/types/core/Messages/StreamInfo.d.ts +30 -0
  23. package/types/core/Messages/Version.d.ts +9 -0
  24. package/types/core/Messages/WebSdkSettings.d.ts +31 -0
  25. package/types/core/Messages/index.d.ts +17 -0
  26. package/types/core/domain/ArcwareSettingsSchema.d.ts +61 -0
  27. package/types/core/domain/CustomizationSchema.d.ts +15 -0
  28. package/types/core/domain/Session.d.ts +31 -0
  29. package/types/core/domain/Stats.d.ts +7 -0
  30. package/types/core/features/ArcwareFileTransferUtil.d.ts +8 -0
  31. package/types/{lib → core}/features/DiagnosticsCollector.d.ts +1 -1
  32. package/types/core/features/IWhiteLabel.d.ts +16 -0
  33. package/types/{lib → core}/features/whiteLabelling.d.ts +2 -3
  34. package/types/core.d.ts +5 -0
  35. package/types/index.d.ts +7 -3
  36. package/types/{lib → ui}/ArcwareApplication.d.ts +41 -8
  37. package/types/{lib → ui}/ArcwareInit.d.ts +3 -3
  38. package/types/{lib/ui → ui/components}/AudioButton/index.d.ts +1 -1
  39. package/types/{lib/ui → ui/components}/MicButton/index.d.ts +1 -1
  40. package/types/{lib/ui → ui/components}/MicrophoneOverlay/index.d.ts +1 -1
  41. package/types/{lib/ui → ui/components}/StopButton/index.d.ts +1 -1
  42. package/types/{lib → ui}/styles/ArcwarePixelStreamingApplicationStyles.d.ts +45 -46
  43. package/types/lib/ArcwarePixelStreaming.d.ts +0 -140
  44. package/types/lib/MessageTypes.d.ts +0 -4
  45. package/types/lib/domain/ArcwareSettingsSchema.d.ts +0 -273
  46. package/types/lib/domain/Session.d.ts +0 -29
  47. package/types/lib/domain/Stats.d.ts +0 -36
  48. package/types/lib/features/ArcwareFileTransferUtil.d.ts +0 -13
  49. package/types/lib/features/ZWhiteLabel.d.ts +0 -31
  50. package/types/lib/index.d.ts +0 -6
  51. package/types/shared/index.d.ts +0 -1
  52. package/types/shared/lib/Messages/ErrorMessage.d.ts +0 -18
  53. package/types/shared/lib/Messages/LoveLetter.d.ts +0 -18
  54. package/types/shared/lib/Messages/Ping.d.ts +0 -15
  55. package/types/shared/lib/Messages/Queue.d.ts +0 -58
  56. package/types/shared/lib/Messages/Render.d.ts +0 -9
  57. package/types/shared/lib/Messages/SessionId.d.ts +0 -12
  58. package/types/shared/lib/Messages/Stats.d.ts +0 -174
  59. package/types/shared/lib/Messages/StreamInfo.d.ts +0 -338
  60. package/types/shared/lib/Messages/Version.d.ts +0 -12
  61. package/types/shared/lib/Messages/WebSdkSettings.d.ts +0 -96
  62. package/types/shared/lib/Messages/index.d.ts +0 -185
  63. package/types/shared/lib/index.d.ts +0 -1
  64. /package/types/{lib → core}/ApplyUrlHack.d.ts +0 -0
  65. /package/types/{lib → core}/domain/EventHandler.d.ts +0 -0
  66. /package/types/{lib → core}/domain/debounce.d.ts +0 -0
  67. /package/types/{lib → core}/features/ArcwareEventUtil.d.ts +0 -0
  68. /package/types/{lib → core}/features/common.d.ts +0 -0
  69. /package/types/{lib/ui → ui/components}/ArcwareLogoLoader/index.d.ts +0 -0
  70. /package/types/{lib/ui → ui/components}/AudioButton/AudioIcon.d.ts +0 -0
  71. /package/types/{lib/ui → ui/components}/LoveLetters/index.d.ts +0 -0
  72. /package/types/{lib/ui → ui/components}/MicIcon/index.d.ts +0 -0
  73. /package/types/{lib/ui → ui/components}/PlayIcon/index.d.ts +0 -0
  74. /package/types/{lib/ui → ui/components}/StopIcon/index.d.ts +0 -0
@@ -1,174 +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, "true" | "false", 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, "true" | "false", 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, "true" | "false", 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?: {
110
- codecs?: Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>;
111
- candidatePair?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[];
112
- localCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[];
113
- remoteCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[];
114
- DataChannelStats?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats;
115
- bytesReceived?: number;
116
- packetsLost?: number;
117
- frameWidth?: number;
118
- frameHeight?: number;
119
- framesDecoded?: number;
120
- framesPerSecond?: number;
121
- framesDropped?: number;
122
- videoCodec?: string;
123
- audioCodec?: string;
124
- browserInfo?: {
125
- userAgent?: string;
126
- platform?: string;
127
- language?: string;
128
- } & {
129
- [k: string]: unknown;
130
- };
131
- currentRTT?: number;
132
- sessionRunTime?: string;
133
- controlsStreamInput?: "true" | "false";
134
- videoEncoderAvgQP?: number;
135
- videoBitrate?: number;
136
- audioBitrate?: number;
137
- } & {
138
- [k: string]: unknown;
139
- };
140
- }, {
141
- type?: "stats";
142
- stats?: {
143
- codecs?: Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats>;
144
- candidatePair?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[];
145
- localCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[];
146
- remoteCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[];
147
- DataChannelStats?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").DataChannelStats;
148
- bytesReceived?: number;
149
- packetsLost?: number;
150
- frameWidth?: number;
151
- frameHeight?: number;
152
- framesDecoded?: number;
153
- framesPerSecond?: number;
154
- framesDropped?: number;
155
- videoCodec?: string;
156
- audioCodec?: string;
157
- browserInfo?: {
158
- userAgent?: string;
159
- platform?: string;
160
- language?: string;
161
- } & {
162
- [k: string]: unknown;
163
- };
164
- currentRTT?: number;
165
- sessionRunTime?: string;
166
- controlsStreamInput?: string;
167
- videoEncoderAvgQP?: number;
168
- videoBitrate?: number;
169
- audioBitrate?: number;
170
- } & {
171
- [k: string]: unknown;
172
- };
173
- }>;
174
- 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
- error?: number;
145
- enabled?: boolean;
146
- warn?: number;
147
- action?: number;
148
- }, {
149
- error?: number;
150
- enabled?: boolean;
151
- warn?: 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
- error?: number;
194
- enabled?: boolean;
195
- warn?: 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
- error?: number;
238
- enabled?: boolean;
239
- warn?: 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
- error?: number;
285
- enabled?: boolean;
286
- warn?: 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
- error?: number;
332
- enabled?: boolean;
333
- warn?: 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>;
@@ -1,96 +0,0 @@
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
- }>;