@arcware-cloud/pixelstreaming-websdk 0.1.0-beta

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 (35) hide show
  1. package/DEPENDENCY_LICENSE.md +136 -0
  2. package/LICENSE.md +24 -0
  3. package/README.md +204 -0
  4. package/index.cjs.js +11 -0
  5. package/index.esm.js +11 -0
  6. package/index.umd.js +11 -0
  7. package/package.json +32 -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 +27 -0
  11. package/types/lib/ArcwareConfig.d.ts +34 -0
  12. package/types/lib/ArcwarePixelStreaming.d.ts +84 -0
  13. package/types/lib/domain/ArcwareSettingsSchema.d.ts +185 -0
  14. package/types/lib/domain/EventHandler.d.ts +11 -0
  15. package/types/lib/domain/Session.d.ts +29 -0
  16. package/types/lib/domain/Stats.d.ts +36 -0
  17. package/types/lib/index.d.ts +4 -0
  18. package/types/lib/styles/ArcwarePixelStreamingApplicationStyles.d.ts +388 -0
  19. package/types/lib/ui/ArcwareLogoLoader/index.d.ts +5 -0
  20. package/types/lib/ui/AudioButton/AudioIcon.d.ts +7 -0
  21. package/types/lib/ui/AudioButton/index.d.ts +15 -0
  22. package/types/lib/ui/LoveLetters/index.d.ts +6 -0
  23. package/types/lib/ui/MicButton/index.d.ts +14 -0
  24. package/types/lib/ui/MicIcon/index.d.ts +7 -0
  25. package/types/lib/ui/MicrophoneOverlay/index.d.ts +11 -0
  26. package/types/shared/index.d.ts +1 -0
  27. package/types/shared/lib/Messages/ErrorMessage.d.ts +18 -0
  28. package/types/shared/lib/Messages/LoveLetter.d.ts +18 -0
  29. package/types/shared/lib/Messages/Ping.d.ts +12 -0
  30. package/types/shared/lib/Messages/Queue.d.ts +58 -0
  31. package/types/shared/lib/Messages/SessionId.d.ts +12 -0
  32. package/types/shared/lib/Messages/Stats.d.ts +170 -0
  33. package/types/shared/lib/Messages/StreamInfo.d.ts +152 -0
  34. package/types/shared/lib/Messages/index.d.ts +178 -0
  35. package/types/shared/lib/index.d.ts +1 -0
@@ -0,0 +1,170 @@
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, string>, z.ZodTypeDef, Map<string, string>>>;
6
+ candidatePair: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats>>;
7
+ localCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
8
+ remoteCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
9
+ DataChannelStats: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").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, string>, z.ZodTypeDef, Map<string, string>>>;
40
+ candidatePair: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats>>;
41
+ localCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
42
+ remoteCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
43
+ DataChannelStats: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").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, string>, z.ZodTypeDef, Map<string, string>>>;
74
+ candidatePair: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats>>;
75
+ localCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
76
+ remoteCandidates: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
77
+ DataChannelStats: z.ZodOptional<z.ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats, z.ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").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: {
110
+ codecs?: Map<string, string> | undefined;
111
+ candidatePair?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats | undefined;
112
+ localCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[] | undefined;
113
+ remoteCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[] | undefined;
114
+ DataChannelStats?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats | undefined;
115
+ bytesReceived?: number | undefined;
116
+ packetsLost?: number | undefined;
117
+ frameWidth?: number | undefined;
118
+ frameHeight?: number | undefined;
119
+ framesDecoded?: number | undefined;
120
+ framesPerSecond?: number | undefined;
121
+ framesDropped?: number | undefined;
122
+ videoCodec?: string | undefined;
123
+ audioCodec?: string | undefined;
124
+ browserInfo?: z.objectOutputType<{
125
+ userAgent: z.ZodOptional<z.ZodString>;
126
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ language: z.ZodOptional<z.ZodString>;
128
+ }, z.ZodTypeAny, "passthrough"> | undefined;
129
+ currentRTT?: number | undefined;
130
+ sessionRunTime?: string | undefined;
131
+ controlsStreamInput?: string | undefined;
132
+ videoEncoderAvgQP?: number | undefined;
133
+ videoBitrate?: number | undefined;
134
+ audioBitrate?: number | undefined;
135
+ } & {
136
+ [k: string]: unknown;
137
+ };
138
+ }, {
139
+ type: "stats";
140
+ stats: {
141
+ codecs?: Map<string, string> | undefined;
142
+ candidatePair?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats | undefined;
143
+ localCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[] | undefined;
144
+ remoteCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[] | undefined;
145
+ DataChannelStats?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats | undefined;
146
+ bytesReceived?: number | undefined;
147
+ packetsLost?: number | undefined;
148
+ frameWidth?: number | undefined;
149
+ frameHeight?: number | undefined;
150
+ framesDecoded?: number | undefined;
151
+ framesPerSecond?: number | undefined;
152
+ framesDropped?: number | undefined;
153
+ videoCodec?: string | undefined;
154
+ audioCodec?: string | undefined;
155
+ browserInfo?: z.objectInputType<{
156
+ userAgent: z.ZodOptional<z.ZodString>;
157
+ platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
+ language: z.ZodOptional<z.ZodString>;
159
+ }, z.ZodTypeAny, "passthrough"> | undefined;
160
+ currentRTT?: number | undefined;
161
+ sessionRunTime?: string | undefined;
162
+ controlsStreamInput?: string | undefined;
163
+ videoEncoderAvgQP?: number | undefined;
164
+ videoBitrate?: number | undefined;
165
+ audioBitrate?: number | undefined;
166
+ } & {
167
+ [k: string]: unknown;
168
+ };
169
+ }>;
170
+ export type Stats = z.infer<typeof ZStats>;
@@ -0,0 +1,152 @@
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 | undefined;
17
+ fixed?: boolean | undefined;
18
+ }, {
19
+ width: number;
20
+ height: number;
21
+ dynamic?: boolean | undefined;
22
+ fixed?: boolean | undefined;
23
+ }>>;
24
+ meta: z.ZodOptional<z.ZodObject<{
25
+ friendlyName: z.ZodOptional<z.ZodString>;
26
+ ueVersion: z.ZodOptional<z.ZodString>;
27
+ version: z.ZodOptional<z.ZodString>;
28
+ mouseLock: z.ZodOptional<z.ZodBoolean>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ friendlyName?: string | undefined;
31
+ ueVersion?: string | undefined;
32
+ version?: string | undefined;
33
+ mouseLock?: boolean | undefined;
34
+ }, {
35
+ friendlyName?: string | undefined;
36
+ ueVersion?: string | undefined;
37
+ version?: string | undefined;
38
+ mouseLock?: boolean | undefined;
39
+ }>>;
40
+ afk: z.ZodOptional<z.ZodObject<{
41
+ enabled: z.ZodBoolean;
42
+ warn: z.ZodNumber;
43
+ error: z.ZodNumber;
44
+ action: z.ZodNumber;
45
+ }, "strip", z.ZodTypeAny, {
46
+ error: number;
47
+ enabled: boolean;
48
+ warn: number;
49
+ action: number;
50
+ }, {
51
+ error: number;
52
+ enabled: boolean;
53
+ warn: number;
54
+ action: number;
55
+ }>>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ guid: string;
58
+ autoPlay?: boolean | undefined;
59
+ touchCapable?: boolean | undefined;
60
+ resolution?: {
61
+ width: number;
62
+ height: number;
63
+ dynamic?: boolean | undefined;
64
+ fixed?: boolean | undefined;
65
+ } | undefined;
66
+ meta?: {
67
+ friendlyName?: string | undefined;
68
+ ueVersion?: string | undefined;
69
+ version?: string | undefined;
70
+ mouseLock?: boolean | undefined;
71
+ } | undefined;
72
+ afk?: {
73
+ error: number;
74
+ enabled: boolean;
75
+ warn: number;
76
+ action: number;
77
+ } | undefined;
78
+ }, {
79
+ guid: string;
80
+ autoPlay?: boolean | undefined;
81
+ touchCapable?: boolean | undefined;
82
+ resolution?: {
83
+ width: number;
84
+ height: number;
85
+ dynamic?: boolean | undefined;
86
+ fixed?: boolean | undefined;
87
+ } | undefined;
88
+ meta?: {
89
+ friendlyName?: string | undefined;
90
+ ueVersion?: string | undefined;
91
+ version?: string | undefined;
92
+ mouseLock?: boolean | undefined;
93
+ } | undefined;
94
+ afk?: {
95
+ error: number;
96
+ enabled: boolean;
97
+ warn: number;
98
+ action: number;
99
+ } | undefined;
100
+ }>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ type: "streamInfo";
103
+ streamInfo: {
104
+ guid: string;
105
+ autoPlay?: boolean | undefined;
106
+ touchCapable?: boolean | undefined;
107
+ resolution?: {
108
+ width: number;
109
+ height: number;
110
+ dynamic?: boolean | undefined;
111
+ fixed?: boolean | undefined;
112
+ } | undefined;
113
+ meta?: {
114
+ friendlyName?: string | undefined;
115
+ ueVersion?: string | undefined;
116
+ version?: string | undefined;
117
+ mouseLock?: boolean | undefined;
118
+ } | undefined;
119
+ afk?: {
120
+ error: number;
121
+ enabled: boolean;
122
+ warn: number;
123
+ action: number;
124
+ } | undefined;
125
+ };
126
+ }, {
127
+ type: "streamInfo";
128
+ streamInfo: {
129
+ guid: string;
130
+ autoPlay?: boolean | undefined;
131
+ touchCapable?: boolean | undefined;
132
+ resolution?: {
133
+ width: number;
134
+ height: number;
135
+ dynamic?: boolean | undefined;
136
+ fixed?: boolean | undefined;
137
+ } | undefined;
138
+ meta?: {
139
+ friendlyName?: string | undefined;
140
+ ueVersion?: string | undefined;
141
+ version?: string | undefined;
142
+ mouseLock?: boolean | undefined;
143
+ } | undefined;
144
+ afk?: {
145
+ error: number;
146
+ enabled: boolean;
147
+ warn: number;
148
+ action: number;
149
+ } | undefined;
150
+ };
151
+ }>;
152
+ export type StreamInfo = z.infer<typeof ZStreamInfo>;
@@ -0,0 +1,178 @@
1
+ export * from "./ErrorMessage";
2
+ export * from "./LoveLetter";
3
+ export * from "./SessionId";
4
+ export * from "./StreamInfo";
5
+ export * from "./Stats";
6
+ export * from "./Ping";
7
+ export * from "./Queue";
8
+ export declare const Send: {
9
+ stats: import("zod").ZodObject<{
10
+ type: import("zod").ZodLiteral<"stats">;
11
+ stats: import("zod").ZodObject<{
12
+ codecs: import("zod").ZodOptional<import("zod").ZodType<Map<string, string>, import("zod").ZodTypeDef, Map<string, string>>>;
13
+ candidatePair: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats, import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats>>;
14
+ localCandidates: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
15
+ remoteCandidates: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
16
+ DataChannelStats: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats, import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats>>;
17
+ bytesReceived: import("zod").ZodOptional<import("zod").ZodNumber>;
18
+ packetsLost: import("zod").ZodOptional<import("zod").ZodNumber>;
19
+ frameWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
20
+ frameHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
21
+ framesDecoded: import("zod").ZodOptional<import("zod").ZodNumber>;
22
+ framesPerSecond: import("zod").ZodOptional<import("zod").ZodNumber>;
23
+ framesDropped: import("zod").ZodOptional<import("zod").ZodNumber>;
24
+ videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
25
+ audioCodec: import("zod").ZodOptional<import("zod").ZodString>;
26
+ browserInfo: import("zod").ZodOptional<import("zod").ZodObject<{
27
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
28
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
29
+ language: import("zod").ZodOptional<import("zod").ZodString>;
30
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
31
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
32
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
33
+ language: import("zod").ZodOptional<import("zod").ZodString>;
34
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
35
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
36
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37
+ language: import("zod").ZodOptional<import("zod").ZodString>;
38
+ }, import("zod").ZodTypeAny, "passthrough">>>;
39
+ currentRTT: import("zod").ZodOptional<import("zod").ZodNumber>;
40
+ sessionRunTime: import("zod").ZodOptional<import("zod").ZodString>;
41
+ controlsStreamInput: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
42
+ videoEncoderAvgQP: import("zod").ZodOptional<import("zod").ZodNumber>;
43
+ videoBitrate: import("zod").ZodOptional<import("zod").ZodNumber>;
44
+ audioBitrate: import("zod").ZodOptional<import("zod").ZodNumber>;
45
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
46
+ codecs: import("zod").ZodOptional<import("zod").ZodType<Map<string, string>, import("zod").ZodTypeDef, Map<string, string>>>;
47
+ candidatePair: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats, import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats>>;
48
+ localCandidates: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
49
+ remoteCandidates: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
50
+ DataChannelStats: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats, import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats>>;
51
+ bytesReceived: import("zod").ZodOptional<import("zod").ZodNumber>;
52
+ packetsLost: import("zod").ZodOptional<import("zod").ZodNumber>;
53
+ frameWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
54
+ frameHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
55
+ framesDecoded: import("zod").ZodOptional<import("zod").ZodNumber>;
56
+ framesPerSecond: import("zod").ZodOptional<import("zod").ZodNumber>;
57
+ framesDropped: import("zod").ZodOptional<import("zod").ZodNumber>;
58
+ videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
59
+ audioCodec: import("zod").ZodOptional<import("zod").ZodString>;
60
+ browserInfo: import("zod").ZodOptional<import("zod").ZodObject<{
61
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
62
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
63
+ language: import("zod").ZodOptional<import("zod").ZodString>;
64
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
65
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
66
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
67
+ language: import("zod").ZodOptional<import("zod").ZodString>;
68
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
69
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
70
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
71
+ language: import("zod").ZodOptional<import("zod").ZodString>;
72
+ }, import("zod").ZodTypeAny, "passthrough">>>;
73
+ currentRTT: import("zod").ZodOptional<import("zod").ZodNumber>;
74
+ sessionRunTime: import("zod").ZodOptional<import("zod").ZodString>;
75
+ controlsStreamInput: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
76
+ videoEncoderAvgQP: import("zod").ZodOptional<import("zod").ZodNumber>;
77
+ videoBitrate: import("zod").ZodOptional<import("zod").ZodNumber>;
78
+ audioBitrate: import("zod").ZodOptional<import("zod").ZodNumber>;
79
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
80
+ codecs: import("zod").ZodOptional<import("zod").ZodType<Map<string, string>, import("zod").ZodTypeDef, Map<string, string>>>;
81
+ candidatePair: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats, import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats>>;
82
+ localCandidates: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
83
+ remoteCandidates: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[], import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[]>>;
84
+ DataChannelStats: import("zod").ZodOptional<import("zod").ZodType<import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats, import("zod").ZodTypeDef, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats>>;
85
+ bytesReceived: import("zod").ZodOptional<import("zod").ZodNumber>;
86
+ packetsLost: import("zod").ZodOptional<import("zod").ZodNumber>;
87
+ frameWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
88
+ frameHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
89
+ framesDecoded: import("zod").ZodOptional<import("zod").ZodNumber>;
90
+ framesPerSecond: import("zod").ZodOptional<import("zod").ZodNumber>;
91
+ framesDropped: import("zod").ZodOptional<import("zod").ZodNumber>;
92
+ videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
93
+ audioCodec: import("zod").ZodOptional<import("zod").ZodString>;
94
+ browserInfo: import("zod").ZodOptional<import("zod").ZodObject<{
95
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
96
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
97
+ language: import("zod").ZodOptional<import("zod").ZodString>;
98
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
99
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
100
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
101
+ language: import("zod").ZodOptional<import("zod").ZodString>;
102
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
103
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
104
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
105
+ language: import("zod").ZodOptional<import("zod").ZodString>;
106
+ }, import("zod").ZodTypeAny, "passthrough">>>;
107
+ currentRTT: import("zod").ZodOptional<import("zod").ZodNumber>;
108
+ sessionRunTime: import("zod").ZodOptional<import("zod").ZodString>;
109
+ controlsStreamInput: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
110
+ videoEncoderAvgQP: import("zod").ZodOptional<import("zod").ZodNumber>;
111
+ videoBitrate: import("zod").ZodOptional<import("zod").ZodNumber>;
112
+ audioBitrate: import("zod").ZodOptional<import("zod").ZodNumber>;
113
+ }, import("zod").ZodTypeAny, "passthrough">>;
114
+ }, "strip", import("zod").ZodTypeAny, {
115
+ type: "stats";
116
+ stats: {
117
+ codecs?: Map<string, string> | undefined;
118
+ candidatePair?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats | undefined;
119
+ localCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[] | undefined;
120
+ remoteCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[] | undefined;
121
+ DataChannelStats?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats | undefined;
122
+ bytesReceived?: number | undefined;
123
+ packetsLost?: number | undefined;
124
+ frameWidth?: number | undefined;
125
+ frameHeight?: number | undefined;
126
+ framesDecoded?: number | undefined;
127
+ framesPerSecond?: number | undefined;
128
+ framesDropped?: number | undefined;
129
+ videoCodec?: string | undefined;
130
+ audioCodec?: string | undefined;
131
+ browserInfo?: import("zod").objectOutputType<{
132
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
133
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
134
+ language: import("zod").ZodOptional<import("zod").ZodString>;
135
+ }, import("zod").ZodTypeAny, "passthrough"> | undefined;
136
+ currentRTT?: number | undefined;
137
+ sessionRunTime?: string | undefined;
138
+ controlsStreamInput?: string | undefined;
139
+ videoEncoderAvgQP?: number | undefined;
140
+ videoBitrate?: number | undefined;
141
+ audioBitrate?: number | undefined;
142
+ } & {
143
+ [k: string]: unknown;
144
+ };
145
+ }, {
146
+ type: "stats";
147
+ stats: {
148
+ codecs?: Map<string, string> | undefined;
149
+ candidatePair?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidatePairStats | undefined;
150
+ localCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[] | undefined;
151
+ remoteCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").CandidateStat[] | undefined;
152
+ DataChannelStats?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.2").DataChannelStats | undefined;
153
+ bytesReceived?: number | undefined;
154
+ packetsLost?: number | undefined;
155
+ frameWidth?: number | undefined;
156
+ frameHeight?: number | undefined;
157
+ framesDecoded?: number | undefined;
158
+ framesPerSecond?: number | undefined;
159
+ framesDropped?: number | undefined;
160
+ videoCodec?: string | undefined;
161
+ audioCodec?: string | undefined;
162
+ browserInfo?: import("zod").objectInputType<{
163
+ userAgent: import("zod").ZodOptional<import("zod").ZodString>;
164
+ platform: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
165
+ language: import("zod").ZodOptional<import("zod").ZodString>;
166
+ }, import("zod").ZodTypeAny, "passthrough"> | undefined;
167
+ currentRTT?: number | undefined;
168
+ sessionRunTime?: string | undefined;
169
+ controlsStreamInput?: string | undefined;
170
+ videoEncoderAvgQP?: number | undefined;
171
+ videoBitrate?: number | undefined;
172
+ audioBitrate?: number | undefined;
173
+ } & {
174
+ [k: string]: unknown;
175
+ };
176
+ }>;
177
+ };
178
+ export type Send = "onVideoInitialized";
@@ -0,0 +1 @@
1
+ export * as Messages from "./Messages";