@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.
- package/.npmiognore +1 -0
- package/LICENSE.md +2 -2
- package/index.cjs.js +72386 -4
- package/index.esm.js +72348 -4
- package/index.umd.js +72401 -10
- package/package.json +2 -12
- package/types/lib/ArcwareConfig.d.ts +2 -2
- package/types/lib/ArcwarePixelStreaming.d.ts +16 -17
- package/types/lib/domain/ArcwareSettingsSchema.d.ts +122 -119
- package/types/lib/domain/Session.d.ts +5 -5
- package/types/shared/lib/Messages/ErrorMessage.d.ts +8 -8
- package/types/shared/lib/Messages/LoveLetter.d.ts +8 -8
- package/types/shared/lib/Messages/Ping.d.ts +4 -4
- package/types/shared/lib/Messages/Queue.d.ts +28 -28
- package/types/shared/lib/Messages/SessionId.d.ts +4 -4
- package/types/shared/lib/Messages/Stats.d.ts +66 -54
- package/types/shared/lib/Messages/StreamInfo.d.ts +248 -248
- package/types/shared/lib/Messages/Version.d.ts +4 -4
- package/types/shared/lib/Messages/WebSdkSettings.d.ts +64 -64
- package/types/shared/lib/Messages/index.d.ts +66 -54
- package/DEPENDENCY_LICENSE.md +0 -136
|
@@ -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
|
|
109
|
-
stats
|
|
110
|
-
codecs
|
|
111
|
-
candidatePair
|
|
112
|
-
localCandidates
|
|
113
|
-
remoteCandidates
|
|
114
|
-
DataChannelStats
|
|
115
|
-
bytesReceived
|
|
116
|
-
packetsLost
|
|
117
|
-
frameWidth
|
|
118
|
-
frameHeight
|
|
119
|
-
framesDecoded
|
|
120
|
-
framesPerSecond
|
|
121
|
-
framesDropped
|
|
122
|
-
videoCodec
|
|
123
|
-
audioCodec
|
|
124
|
-
browserInfo
|
|
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,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
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
|
|
140
|
-
stats
|
|
141
|
-
codecs
|
|
142
|
-
candidatePair
|
|
143
|
-
localCandidates
|
|
144
|
-
remoteCandidates
|
|
145
|
-
DataChannelStats
|
|
146
|
-
bytesReceived
|
|
147
|
-
packetsLost
|
|
148
|
-
frameWidth
|
|
149
|
-
frameHeight
|
|
150
|
-
framesDecoded
|
|
151
|
-
framesPerSecond
|
|
152
|
-
framesDropped
|
|
153
|
-
videoCodec
|
|
154
|
-
audioCodec
|
|
155
|
-
browserInfo
|
|
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,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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>;
|