@arcware-cloud/pixelstreaming-websdk 1.0.2 → 1.0.6

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.
@@ -105,66 +105,78 @@ export declare const ZStats: z.ZodObject<{
105
105
  audioBitrate: z.ZodOptional<z.ZodNumber>;
106
106
  }, z.ZodTypeAny, "passthrough">>;
107
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> | undefined;
111
- candidatePair?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[] | undefined;
112
- localCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[] | undefined;
113
- remoteCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[] | undefined;
114
- DataChannelStats?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").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<{
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
125
  userAgent: z.ZodOptional<z.ZodString>;
126
126
  platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
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
- };
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">;
138
144
  }, {
139
- type: "stats";
140
- stats: {
141
- codecs?: Map<string, import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5/dist/types/PeerConnectionController/CodecStats").CodecStats> | undefined;
142
- candidatePair?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidatePairStats[] | undefined;
143
- localCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[] | undefined;
144
- remoteCandidates?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").CandidateStat[] | undefined;
145
- DataChannelStats?: import("@epicgames-ps/lib-pixelstreamingfrontend-ue5.5").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<{
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<{
156
162
  userAgent: z.ZodOptional<z.ZodString>;
157
163
  platform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
164
  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
- };
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">;
169
181
  }>;
170
182
  export type Stats = z.infer<typeof ZStats>;