web3dlink 2.1.7 → 2.1.9
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/dist/web3dlink.js +335 -109
- package/dist/web3dlink.js.map +1 -1
- package/package.json +3 -1
package/dist/web3dlink.js
CHANGED
|
@@ -1,8 +1,38 @@
|
|
|
1
1
|
//#region \0rolldown/runtime.js
|
|
2
|
-
var __commonJSMin = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports)
|
|
2
|
+
var __commonJSMin = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), name = "web3dlink", version$1 = "2.1.9", description = "LarkSR / ZS 推流 GameAPI SDK", type = "module", main = "./dist/web3dlink.js", module$1 = "./dist/web3dlink.js", exports$1 = { ".": {
|
|
3
|
+
import: "./dist/web3dlink.js",
|
|
4
|
+
default: "./dist/web3dlink.js"
|
|
5
|
+
} }, files = ["dist"], scripts = {
|
|
6
|
+
build: "vite build",
|
|
7
|
+
prepublishOnly: "npm run build"
|
|
8
|
+
}, keywords = [
|
|
9
|
+
"larksr",
|
|
10
|
+
"zs-stream",
|
|
11
|
+
"game-api",
|
|
12
|
+
"streaming",
|
|
13
|
+
"web3dlink"
|
|
14
|
+
], license = "MIT", sideEffects = [
|
|
15
|
+
"./dist/web3dlink.js",
|
|
16
|
+
"./index.js",
|
|
17
|
+
"./version.js",
|
|
18
|
+
"./zs-stream-parent.js"
|
|
19
|
+
], package_default = {
|
|
20
|
+
name,
|
|
21
|
+
version: version$1,
|
|
22
|
+
description,
|
|
23
|
+
type,
|
|
24
|
+
main,
|
|
25
|
+
module: module$1,
|
|
26
|
+
exports: exports$1,
|
|
27
|
+
files,
|
|
28
|
+
scripts,
|
|
29
|
+
keywords,
|
|
30
|
+
license: "MIT",
|
|
31
|
+
sideEffects
|
|
32
|
+
}, version = package_default.version;
|
|
3
33
|
//#endregion
|
|
4
34
|
//#region zs-stream-parent.js
|
|
5
|
-
(function(e) {
|
|
35
|
+
console.log(`[web3dlink] version: ${version}`), (function(e) {
|
|
6
36
|
let t = "zs-stream-parent", n = "zs-stream-embed";
|
|
7
37
|
function r(e) {
|
|
8
38
|
return e ? typeof e == "string" ? document.querySelector(e) : e : null;
|
|
@@ -2297,10 +2327,9 @@ var validator$7 = {
|
|
|
2297
2327
|
};
|
|
2298
2328
|
return this.commandManager.sendWithDefault(i, n);
|
|
2299
2329
|
}
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
}
|
|
2330
|
+
};
|
|
2331
|
+
//#endregion
|
|
2332
|
+
//#region ../api/hydrodynamicForce/validate.js
|
|
2304
2333
|
function create$1(e) {
|
|
2305
2334
|
let t = [], n = { ...e };
|
|
2306
2335
|
return t.push(...validateRequiredNumber({
|
|
@@ -2315,7 +2344,7 @@ function create$1(e) {
|
|
|
2315
2344
|
field: "xMax",
|
|
2316
2345
|
value: e.xMax,
|
|
2317
2346
|
required: !0,
|
|
2318
|
-
min:
|
|
2347
|
+
min: e.xMin,
|
|
2319
2348
|
max: 180
|
|
2320
2349
|
})), t.push(...validateRequiredNumber({
|
|
2321
2350
|
normalized: n,
|
|
@@ -2329,7 +2358,7 @@ function create$1(e) {
|
|
|
2329
2358
|
field: "yMax",
|
|
2330
2359
|
value: e.yMax,
|
|
2331
2360
|
required: !0,
|
|
2332
|
-
min:
|
|
2361
|
+
min: e.yMin,
|
|
2333
2362
|
max: 90
|
|
2334
2363
|
})), t.push(...validateRequiredNumber({
|
|
2335
2364
|
normalized: n,
|
|
@@ -2340,8 +2369,9 @@ function create$1(e) {
|
|
|
2340
2369
|
normalized: n,
|
|
2341
2370
|
field: "maxTerrain",
|
|
2342
2371
|
value: e.maxTerrain,
|
|
2343
|
-
required: !0
|
|
2344
|
-
|
|
2372
|
+
required: !0,
|
|
2373
|
+
min: e.minTerrain
|
|
2374
|
+
})), t.push(...validateRequiredString({
|
|
2345
2375
|
normalized: n,
|
|
2346
2376
|
field: "mapUrl",
|
|
2347
2377
|
value: e.mapUrl
|
|
@@ -2365,7 +2395,8 @@ function waterFlow(e) {
|
|
|
2365
2395
|
normalized: n,
|
|
2366
2396
|
field: "maxWater",
|
|
2367
2397
|
value: e.maxWater,
|
|
2368
|
-
required: !0
|
|
2398
|
+
required: !0,
|
|
2399
|
+
min: e.minWater
|
|
2369
2400
|
})), t.push(...validateRequiredNumber({
|
|
2370
2401
|
normalized: n,
|
|
2371
2402
|
field: "minU",
|
|
@@ -2375,7 +2406,8 @@ function waterFlow(e) {
|
|
|
2375
2406
|
normalized: n,
|
|
2376
2407
|
field: "maxU",
|
|
2377
2408
|
value: e.maxU,
|
|
2378
|
-
required: !0
|
|
2409
|
+
required: !0,
|
|
2410
|
+
min: e.minU
|
|
2379
2411
|
})), t.push(...validateRequiredNumber({
|
|
2380
2412
|
normalized: n,
|
|
2381
2413
|
field: "minV",
|
|
@@ -2385,8 +2417,9 @@ function waterFlow(e) {
|
|
|
2385
2417
|
normalized: n,
|
|
2386
2418
|
field: "maxV",
|
|
2387
2419
|
value: e.maxV,
|
|
2388
|
-
required: !0
|
|
2389
|
-
|
|
2420
|
+
required: !0,
|
|
2421
|
+
min: e.minV
|
|
2422
|
+
})), t.push(...validateRequiredString({
|
|
2390
2423
|
normalized: n,
|
|
2391
2424
|
field: "waterFlowUrl",
|
|
2392
2425
|
value: e.waterFlowUrl
|
|
@@ -2410,8 +2443,9 @@ function waterDepth(e) {
|
|
|
2410
2443
|
normalized: n,
|
|
2411
2444
|
field: "maxWater",
|
|
2412
2445
|
value: e.maxWater,
|
|
2413
|
-
required: !0
|
|
2414
|
-
|
|
2446
|
+
required: !0,
|
|
2447
|
+
min: e.minWater
|
|
2448
|
+
})), e.rangeList === void 0 || e.rangeList === null ? t.push("[rangeList]为必填项") : Array.isArray(e.rangeList) ? e.rangeList.length === 0 ? t.push("[rangeList]不能为空数组") : e.rangeList.forEach((e, n) => {
|
|
2415
2449
|
if (typeof e != "object" || !e) {
|
|
2416
2450
|
t.push(`[rangeList[${n}]]必须是对象类型`);
|
|
2417
2451
|
return;
|
|
@@ -2458,8 +2492,9 @@ function sediment(e) {
|
|
|
2458
2492
|
normalized: n,
|
|
2459
2493
|
field: "maxWater",
|
|
2460
2494
|
value: e.maxWater,
|
|
2461
|
-
required: !0
|
|
2462
|
-
|
|
2495
|
+
required: !0,
|
|
2496
|
+
min: e.minWater
|
|
2497
|
+
})), {
|
|
2463
2498
|
errors: t,
|
|
2464
2499
|
normalized: n
|
|
2465
2500
|
};
|
|
@@ -4150,10 +4185,10 @@ var validator = {
|
|
|
4150
4185
|
function e(e) {
|
|
4151
4186
|
if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) e[t[n]] != null && (this[t[n]] = e[t[n]]);
|
|
4152
4187
|
}
|
|
4153
|
-
return e.prototype.width = 0, e.prototype.height = 0, e.prototype.fps = 0, e.prototype.bitrateKbps = 0, e.prototype.useWebcodec = !1, e.create = function(t) {
|
|
4188
|
+
return e.prototype.width = 0, e.prototype.height = 0, e.prototype.fps = 0, e.prototype.bitrateKbps = 0, e.prototype.useWebcodec = !1, e.prototype.maxWidth = 0, e.prototype.maxHeight = 0, e.prototype.devicePixelRatio = 0, e.create = function(t) {
|
|
4154
4189
|
return new e(t);
|
|
4155
4190
|
}, e.encode = function(e, t) {
|
|
4156
|
-
return t ||= c.create(), e.width != null && Object.hasOwnProperty.call(e, "width") && t.uint32(8).uint32(e.width), e.height != null && Object.hasOwnProperty.call(e, "height") && t.uint32(16).uint32(e.height), e.fps != null && Object.hasOwnProperty.call(e, "fps") && t.uint32(24).uint32(e.fps), e.bitrateKbps != null && Object.hasOwnProperty.call(e, "bitrateKbps") && t.uint32(32).uint32(e.bitrateKbps), e.useWebcodec != null && Object.hasOwnProperty.call(e, "useWebcodec") && t.uint32(40).bool(e.useWebcodec), t;
|
|
4191
|
+
return t ||= c.create(), e.width != null && Object.hasOwnProperty.call(e, "width") && t.uint32(8).uint32(e.width), e.height != null && Object.hasOwnProperty.call(e, "height") && t.uint32(16).uint32(e.height), e.fps != null && Object.hasOwnProperty.call(e, "fps") && t.uint32(24).uint32(e.fps), e.bitrateKbps != null && Object.hasOwnProperty.call(e, "bitrateKbps") && t.uint32(32).uint32(e.bitrateKbps), e.useWebcodec != null && Object.hasOwnProperty.call(e, "useWebcodec") && t.uint32(40).bool(e.useWebcodec), e.maxWidth != null && Object.hasOwnProperty.call(e, "maxWidth") && t.uint32(48).uint32(e.maxWidth), e.maxHeight != null && Object.hasOwnProperty.call(e, "maxHeight") && t.uint32(56).uint32(e.maxHeight), e.devicePixelRatio != null && Object.hasOwnProperty.call(e, "devicePixelRatio") && t.uint32(69).float(e.devicePixelRatio), t;
|
|
4157
4192
|
}, e.encodeDelimited = function(e, t) {
|
|
4158
4193
|
return this.encode(e, t).ldelim();
|
|
4159
4194
|
}, e.decode = function(e, t) {
|
|
@@ -4176,6 +4211,15 @@ var validator = {
|
|
|
4176
4211
|
case 5:
|
|
4177
4212
|
r.useWebcodec = e.bool();
|
|
4178
4213
|
break;
|
|
4214
|
+
case 6:
|
|
4215
|
+
r.maxWidth = e.uint32();
|
|
4216
|
+
break;
|
|
4217
|
+
case 7:
|
|
4218
|
+
r.maxHeight = e.uint32();
|
|
4219
|
+
break;
|
|
4220
|
+
case 8:
|
|
4221
|
+
r.devicePixelRatio = e.float();
|
|
4222
|
+
break;
|
|
4179
4223
|
default: e.skipType(7 & i);
|
|
4180
4224
|
}
|
|
4181
4225
|
}
|
|
@@ -4183,15 +4227,15 @@ var validator = {
|
|
|
4183
4227
|
}, e.decodeDelimited = function(e) {
|
|
4184
4228
|
return e instanceof s || (e = new s(e)), this.decode(e, e.uint32());
|
|
4185
4229
|
}, e.verify = function(e) {
|
|
4186
|
-
return typeof e != "object" || !e ? "object expected" : e.width != null && e.hasOwnProperty("width") && !l.isInteger(e.width) ? "width: integer expected" : e.height != null && e.hasOwnProperty("height") && !l.isInteger(e.height) ? "height: integer expected" : e.fps != null && e.hasOwnProperty("fps") && !l.isInteger(e.fps) ? "fps: integer expected" : e.bitrateKbps != null && e.hasOwnProperty("bitrateKbps") && !l.isInteger(e.bitrateKbps) ? "bitrateKbps: integer expected" : e.useWebcodec != null && e.hasOwnProperty("useWebcodec") && typeof e.useWebcodec != "boolean" ? "useWebcodec: boolean expected" : null;
|
|
4230
|
+
return typeof e != "object" || !e ? "object expected" : e.width != null && e.hasOwnProperty("width") && !l.isInteger(e.width) ? "width: integer expected" : e.height != null && e.hasOwnProperty("height") && !l.isInteger(e.height) ? "height: integer expected" : e.fps != null && e.hasOwnProperty("fps") && !l.isInteger(e.fps) ? "fps: integer expected" : e.bitrateKbps != null && e.hasOwnProperty("bitrateKbps") && !l.isInteger(e.bitrateKbps) ? "bitrateKbps: integer expected" : e.useWebcodec != null && e.hasOwnProperty("useWebcodec") && typeof e.useWebcodec != "boolean" ? "useWebcodec: boolean expected" : e.maxWidth != null && e.hasOwnProperty("maxWidth") && !l.isInteger(e.maxWidth) ? "maxWidth: integer expected" : e.maxHeight != null && e.hasOwnProperty("maxHeight") && !l.isInteger(e.maxHeight) ? "maxHeight: integer expected" : e.devicePixelRatio != null && e.hasOwnProperty("devicePixelRatio") && typeof e.devicePixelRatio != "number" ? "devicePixelRatio: number expected" : null;
|
|
4187
4231
|
}, e.fromObject = function(e) {
|
|
4188
4232
|
if (e instanceof u.CloudLark.StartStreamRequest) return e;
|
|
4189
4233
|
var t = new u.CloudLark.StartStreamRequest();
|
|
4190
|
-
return e.width != null && (t.width = e.width >>> 0), e.height != null && (t.height = e.height >>> 0), e.fps != null && (t.fps = e.fps >>> 0), e.bitrateKbps != null && (t.bitrateKbps = e.bitrateKbps >>> 0), e.useWebcodec != null && (t.useWebcodec = !!e.useWebcodec), t;
|
|
4234
|
+
return e.width != null && (t.width = e.width >>> 0), e.height != null && (t.height = e.height >>> 0), e.fps != null && (t.fps = e.fps >>> 0), e.bitrateKbps != null && (t.bitrateKbps = e.bitrateKbps >>> 0), e.useWebcodec != null && (t.useWebcodec = !!e.useWebcodec), e.maxWidth != null && (t.maxWidth = e.maxWidth >>> 0), e.maxHeight != null && (t.maxHeight = e.maxHeight >>> 0), e.devicePixelRatio != null && (t.devicePixelRatio = Number(e.devicePixelRatio)), t;
|
|
4191
4235
|
}, e.toObject = function(e, t) {
|
|
4192
4236
|
t ||= {};
|
|
4193
4237
|
var n = {};
|
|
4194
|
-
return t.defaults && (n.width = 0, n.height = 0, n.fps = 0, n.bitrateKbps = 0, n.useWebcodec = !1), e.width != null && e.hasOwnProperty("width") && (n.width = e.width), e.height != null && e.hasOwnProperty("height") && (n.height = e.height), e.fps != null && e.hasOwnProperty("fps") && (n.fps = e.fps), e.bitrateKbps != null && e.hasOwnProperty("bitrateKbps") && (n.bitrateKbps = e.bitrateKbps), e.useWebcodec != null && e.hasOwnProperty("useWebcodec") && (n.useWebcodec = e.useWebcodec), n;
|
|
4238
|
+
return t.defaults && (n.width = 0, n.height = 0, n.fps = 0, n.bitrateKbps = 0, n.useWebcodec = !1, n.maxWidth = 0, n.maxHeight = 0, n.devicePixelRatio = 0), e.width != null && e.hasOwnProperty("width") && (n.width = e.width), e.height != null && e.hasOwnProperty("height") && (n.height = e.height), e.fps != null && e.hasOwnProperty("fps") && (n.fps = e.fps), e.bitrateKbps != null && e.hasOwnProperty("bitrateKbps") && (n.bitrateKbps = e.bitrateKbps), e.useWebcodec != null && e.hasOwnProperty("useWebcodec") && (n.useWebcodec = e.useWebcodec), e.maxWidth != null && e.hasOwnProperty("maxWidth") && (n.maxWidth = e.maxWidth), e.maxHeight != null && e.hasOwnProperty("maxHeight") && (n.maxHeight = e.maxHeight), e.devicePixelRatio != null && e.hasOwnProperty("devicePixelRatio") && (n.devicePixelRatio = t.json && !isFinite(e.devicePixelRatio) ? String(e.devicePixelRatio) : e.devicePixelRatio), n;
|
|
4195
4239
|
}, e.prototype.toJSON = function() {
|
|
4196
4240
|
return this.constructor.toObject(this, o.util.toJSONOptions);
|
|
4197
4241
|
}, e;
|
|
@@ -6571,10 +6615,10 @@ var validator = {
|
|
|
6571
6615
|
function e(e) {
|
|
6572
6616
|
if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) e[t[n]] != null && (this[t[n]] = e[t[n]]);
|
|
6573
6617
|
}
|
|
6574
|
-
return e.prototype.width = 0, e.prototype.height = 0, e.create = function(t) {
|
|
6618
|
+
return e.prototype.width = 0, e.prototype.height = 0, e.prototype.devicePixelRatio = 0, e.create = function(t) {
|
|
6575
6619
|
return new e(t);
|
|
6576
6620
|
}, e.encode = function(e, t) {
|
|
6577
|
-
return t ||= c.create(), e.width != null && Object.hasOwnProperty.call(e, "width") && t.uint32(8).uint32(e.width), e.height != null && Object.hasOwnProperty.call(e, "height") && t.uint32(16).uint32(e.height), t;
|
|
6621
|
+
return t ||= c.create(), e.width != null && Object.hasOwnProperty.call(e, "width") && t.uint32(8).uint32(e.width), e.height != null && Object.hasOwnProperty.call(e, "height") && t.uint32(16).uint32(e.height), e.devicePixelRatio != null && Object.hasOwnProperty.call(e, "devicePixelRatio") && t.uint32(29).float(e.devicePixelRatio), t;
|
|
6578
6622
|
}, e.encodeDelimited = function(e, t) {
|
|
6579
6623
|
return this.encode(e, t).ldelim();
|
|
6580
6624
|
}, e.decode = function(e, t) {
|
|
@@ -6588,6 +6632,9 @@ var validator = {
|
|
|
6588
6632
|
case 2:
|
|
6589
6633
|
r.height = e.uint32();
|
|
6590
6634
|
break;
|
|
6635
|
+
case 3:
|
|
6636
|
+
r.devicePixelRatio = e.float();
|
|
6637
|
+
break;
|
|
6591
6638
|
default: e.skipType(7 & i);
|
|
6592
6639
|
}
|
|
6593
6640
|
}
|
|
@@ -6595,15 +6642,15 @@ var validator = {
|
|
|
6595
6642
|
}, e.decodeDelimited = function(e) {
|
|
6596
6643
|
return e instanceof s || (e = new s(e)), this.decode(e, e.uint32());
|
|
6597
6644
|
}, e.verify = function(e) {
|
|
6598
|
-
return typeof e != "object" || !e ? "object expected" : e.width != null && e.hasOwnProperty("width") && !l.isInteger(e.width) ? "width: integer expected" : e.height != null && e.hasOwnProperty("height") && !l.isInteger(e.height) ? "height: integer expected" : null;
|
|
6645
|
+
return typeof e != "object" || !e ? "object expected" : e.width != null && e.hasOwnProperty("width") && !l.isInteger(e.width) ? "width: integer expected" : e.height != null && e.hasOwnProperty("height") && !l.isInteger(e.height) ? "height: integer expected" : e.devicePixelRatio != null && e.hasOwnProperty("devicePixelRatio") && typeof e.devicePixelRatio != "number" ? "devicePixelRatio: number expected" : null;
|
|
6599
6646
|
}, e.fromObject = function(e) {
|
|
6600
6647
|
if (e instanceof u.CloudLark.AppResize) return e;
|
|
6601
6648
|
var t = new u.CloudLark.AppResize();
|
|
6602
|
-
return e.width != null && (t.width = e.width >>> 0), e.height != null && (t.height = e.height >>> 0), t;
|
|
6649
|
+
return e.width != null && (t.width = e.width >>> 0), e.height != null && (t.height = e.height >>> 0), e.devicePixelRatio != null && (t.devicePixelRatio = Number(e.devicePixelRatio)), t;
|
|
6603
6650
|
}, e.toObject = function(e, t) {
|
|
6604
6651
|
t ||= {};
|
|
6605
6652
|
var n = {};
|
|
6606
|
-
return t.defaults && (n.width = 0, n.height = 0), e.width != null && e.hasOwnProperty("width") && (n.width = e.width), e.height != null && e.hasOwnProperty("height") && (n.height = e.height), n;
|
|
6653
|
+
return t.defaults && (n.width = 0, n.height = 0, n.devicePixelRatio = 0), e.width != null && e.hasOwnProperty("width") && (n.width = e.width), e.height != null && e.hasOwnProperty("height") && (n.height = e.height), e.devicePixelRatio != null && e.hasOwnProperty("devicePixelRatio") && (n.devicePixelRatio = t.json && !isFinite(e.devicePixelRatio) ? String(e.devicePixelRatio) : e.devicePixelRatio), n;
|
|
6607
6654
|
}, e.prototype.toJSON = function() {
|
|
6608
6655
|
return this.constructor.toObject(this, o.util.toJSONOptions);
|
|
6609
6656
|
}, e;
|
|
@@ -7977,17 +8024,18 @@ var validator = {
|
|
|
7977
8024
|
if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) e[t[n]] != null && (this[t[n]] = e[t[n]]);
|
|
7978
8025
|
}
|
|
7979
8026
|
var t;
|
|
7980
|
-
return e.prototype.bitrate = null, e.prototype.fps = null, e.prototype.forceidr = null, Object.defineProperty(e.prototype, "video", {
|
|
8027
|
+
return e.prototype.bitrate = null, e.prototype.fps = null, e.prototype.forceidr = null, e.prototype.superResolution = null, Object.defineProperty(e.prototype, "video", {
|
|
7981
8028
|
get: l.oneOfGetter(t = [
|
|
7982
8029
|
"bitrate",
|
|
7983
8030
|
"fps",
|
|
7984
|
-
"forceidr"
|
|
8031
|
+
"forceidr",
|
|
8032
|
+
"superResolution"
|
|
7985
8033
|
]),
|
|
7986
8034
|
set: l.oneOfSetter(t)
|
|
7987
8035
|
}), e.create = function(t) {
|
|
7988
8036
|
return new e(t);
|
|
7989
8037
|
}, e.encode = function(e, t) {
|
|
7990
|
-
return t ||= c.create(), e.bitrate != null && Object.hasOwnProperty.call(e, "bitrate") && t.uint32(8).uint32(e.bitrate), e.fps != null && Object.hasOwnProperty.call(e, "fps") && t.uint32(16).uint32(e.fps), e.forceidr != null && Object.hasOwnProperty.call(e, "forceidr") && t.uint32(24).bool(e.forceidr), t;
|
|
8038
|
+
return t ||= c.create(), e.bitrate != null && Object.hasOwnProperty.call(e, "bitrate") && t.uint32(8).uint32(e.bitrate), e.fps != null && Object.hasOwnProperty.call(e, "fps") && t.uint32(16).uint32(e.fps), e.forceidr != null && Object.hasOwnProperty.call(e, "forceidr") && t.uint32(24).bool(e.forceidr), e.superResolution != null && Object.hasOwnProperty.call(e, "superResolution") && u.CloudLark.SuperResolutionReconfigure.encode(e.superResolution, t.uint32(34).fork()).ldelim(), t;
|
|
7991
8039
|
}, e.encodeDelimited = function(e, t) {
|
|
7992
8040
|
return this.encode(e, t).ldelim();
|
|
7993
8041
|
}, e.decode = function(e, t) {
|
|
@@ -8004,6 +8052,9 @@ var validator = {
|
|
|
8004
8052
|
case 3:
|
|
8005
8053
|
r.forceidr = e.bool();
|
|
8006
8054
|
break;
|
|
8055
|
+
case 4:
|
|
8056
|
+
r.superResolution = u.CloudLark.SuperResolutionReconfigure.decode(e, e.uint32());
|
|
8057
|
+
break;
|
|
8007
8058
|
default: e.skipType(7 & i);
|
|
8008
8059
|
}
|
|
8009
8060
|
}
|
|
@@ -8022,15 +8073,68 @@ var validator = {
|
|
|
8022
8073
|
if (t.video === 1) return "video: multiple values";
|
|
8023
8074
|
if (t.video = 1, typeof e.forceidr != "boolean") return "forceidr: boolean expected";
|
|
8024
8075
|
}
|
|
8076
|
+
if (e.superResolution != null && e.hasOwnProperty("superResolution")) {
|
|
8077
|
+
if (t.video === 1) return "video: multiple values";
|
|
8078
|
+
t.video = 1;
|
|
8079
|
+
var n = u.CloudLark.SuperResolutionReconfigure.verify(e.superResolution);
|
|
8080
|
+
if (n) return "superResolution." + n;
|
|
8081
|
+
}
|
|
8025
8082
|
return null;
|
|
8026
8083
|
}, e.fromObject = function(e) {
|
|
8027
8084
|
if (e instanceof u.CloudLark.VideoReconfigure) return e;
|
|
8028
8085
|
var t = new u.CloudLark.VideoReconfigure();
|
|
8029
|
-
|
|
8086
|
+
if (e.bitrate != null && (t.bitrate = e.bitrate >>> 0), e.fps != null && (t.fps = e.fps >>> 0), e.forceidr != null && (t.forceidr = !!e.forceidr), e.superResolution != null) {
|
|
8087
|
+
if (typeof e.superResolution != "object") throw TypeError(".CloudLark.VideoReconfigure.superResolution: object expected");
|
|
8088
|
+
t.superResolution = u.CloudLark.SuperResolutionReconfigure.fromObject(e.superResolution);
|
|
8089
|
+
}
|
|
8090
|
+
return t;
|
|
8030
8091
|
}, e.toObject = function(e, t) {
|
|
8031
8092
|
t ||= {};
|
|
8032
8093
|
var n = {};
|
|
8033
|
-
return e.bitrate != null && e.hasOwnProperty("bitrate") && (n.bitrate = e.bitrate, t.oneofs && (n.video = "bitrate")), e.fps != null && e.hasOwnProperty("fps") && (n.fps = e.fps, t.oneofs && (n.video = "fps")), e.forceidr != null && e.hasOwnProperty("forceidr") && (n.forceidr = e.forceidr, t.oneofs && (n.video = "forceidr")), n;
|
|
8094
|
+
return e.bitrate != null && e.hasOwnProperty("bitrate") && (n.bitrate = e.bitrate, t.oneofs && (n.video = "bitrate")), e.fps != null && e.hasOwnProperty("fps") && (n.fps = e.fps, t.oneofs && (n.video = "fps")), e.forceidr != null && e.hasOwnProperty("forceidr") && (n.forceidr = e.forceidr, t.oneofs && (n.video = "forceidr")), e.superResolution != null && e.hasOwnProperty("superResolution") && (n.superResolution = u.CloudLark.SuperResolutionReconfigure.toObject(e.superResolution, t), t.oneofs && (n.video = "superResolution")), n;
|
|
8095
|
+
}, e.prototype.toJSON = function() {
|
|
8096
|
+
return this.constructor.toObject(this, o.util.toJSONOptions);
|
|
8097
|
+
}, e;
|
|
8098
|
+
}(), a.SuperResolutionReconfigure = function() {
|
|
8099
|
+
function e(e) {
|
|
8100
|
+
if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) e[t[n]] != null && (this[t[n]] = e[t[n]]);
|
|
8101
|
+
}
|
|
8102
|
+
return e.prototype.enable = !1, e.prototype.width = 0, e.prototype.height = 0, e.create = function(t) {
|
|
8103
|
+
return new e(t);
|
|
8104
|
+
}, e.encode = function(e, t) {
|
|
8105
|
+
return t ||= c.create(), e.enable != null && Object.hasOwnProperty.call(e, "enable") && t.uint32(8).bool(e.enable), e.width != null && Object.hasOwnProperty.call(e, "width") && t.uint32(16).uint32(e.width), e.height != null && Object.hasOwnProperty.call(e, "height") && t.uint32(24).uint32(e.height), t;
|
|
8106
|
+
}, e.encodeDelimited = function(e, t) {
|
|
8107
|
+
return this.encode(e, t).ldelim();
|
|
8108
|
+
}, e.decode = function(e, t) {
|
|
8109
|
+
e instanceof s || (e = s.create(e));
|
|
8110
|
+
for (var n = t === void 0 ? e.len : e.pos + t, r = new u.CloudLark.SuperResolutionReconfigure(); e.pos < n;) {
|
|
8111
|
+
var i = e.uint32();
|
|
8112
|
+
switch (i >>> 3) {
|
|
8113
|
+
case 1:
|
|
8114
|
+
r.enable = e.bool();
|
|
8115
|
+
break;
|
|
8116
|
+
case 2:
|
|
8117
|
+
r.width = e.uint32();
|
|
8118
|
+
break;
|
|
8119
|
+
case 3:
|
|
8120
|
+
r.height = e.uint32();
|
|
8121
|
+
break;
|
|
8122
|
+
default: e.skipType(7 & i);
|
|
8123
|
+
}
|
|
8124
|
+
}
|
|
8125
|
+
return r;
|
|
8126
|
+
}, e.decodeDelimited = function(e) {
|
|
8127
|
+
return e instanceof s || (e = new s(e)), this.decode(e, e.uint32());
|
|
8128
|
+
}, e.verify = function(e) {
|
|
8129
|
+
return typeof e != "object" || !e ? "object expected" : e.enable != null && e.hasOwnProperty("enable") && typeof e.enable != "boolean" ? "enable: boolean expected" : e.width != null && e.hasOwnProperty("width") && !l.isInteger(e.width) ? "width: integer expected" : e.height != null && e.hasOwnProperty("height") && !l.isInteger(e.height) ? "height: integer expected" : null;
|
|
8130
|
+
}, e.fromObject = function(e) {
|
|
8131
|
+
if (e instanceof u.CloudLark.SuperResolutionReconfigure) return e;
|
|
8132
|
+
var t = new u.CloudLark.SuperResolutionReconfigure();
|
|
8133
|
+
return e.enable != null && (t.enable = !!e.enable), e.width != null && (t.width = e.width >>> 0), e.height != null && (t.height = e.height >>> 0), t;
|
|
8134
|
+
}, e.toObject = function(e, t) {
|
|
8135
|
+
t ||= {};
|
|
8136
|
+
var n = {};
|
|
8137
|
+
return t.defaults && (n.enable = !1, n.width = 0, n.height = 0), e.enable != null && e.hasOwnProperty("enable") && (n.enable = e.enable), e.width != null && e.hasOwnProperty("width") && (n.width = e.width), e.height != null && e.hasOwnProperty("height") && (n.height = e.height), n;
|
|
8034
8138
|
}, e.prototype.toJSON = function() {
|
|
8035
8139
|
return this.constructor.toObject(this, o.util.toJSONOptions);
|
|
8036
8140
|
}, e;
|
|
@@ -9430,7 +9534,7 @@ var validator = {
|
|
|
9430
9534
|
}(), a), e.exports = u;
|
|
9431
9535
|
},
|
|
9432
9536
|
731: function(e) {
|
|
9433
|
-
e.exports = JSON.parse("{\"button\":{\"status\":\"連接狀態\",\"mouseMode\":\"當前鼠標模式\",\"mouseModeAuto\":\"自动判断\",\"mosueModeLock\":\"全局鎖定\",\"scale\":\"鋪滿\",\"scaleToNormal\":\"還原\",\"scaleAuto\":\"適應\",\"lock\":\"全局鎖定\",\"fullScreen\":\"全屏\",\"exit\":\"退出\",\"setup\":\"設置\",\"show\":\"顯示\",\"hide\":\"隱藏\",\"hideVMouse\":\"隱藏虛擬鼠標\",\"showVMouse\":\"顯示虛擬鼠標\",\"hideVKeyboard\":\"隱藏虛擬鍵盤\",\"showVKeyboard\":\"顯示虛擬鍵盤\",\"playerMode\":\"模式\",\"playerMode_Normal\":\"普通模式\",\"playerMode_Interactive\":\"交互模式\",\"userType\":\"角色\",\"userType_Observer\":\"觀看者\",\"userType_Player\":\"操作者\",\"requireNickName\":\"請輸入暱稱\",\"requireInputChinese\":\"是否需要輸入中文?\",\"buttonSubmit\":\"確定\",\"buttonCancel\":\"取消\",\"buttonInput\":\"輸入\",\"buttonBack\":\"返回\",\"buttonClose\":\"關閉\"},\"notice\":{\"browserVersion\":\"檢測到您當前瀏覽器內核版本較低,建議升級。是否繼續使用?\",\"browserUnsupport\":\"不支持當前瀏覽器/模式。推薦使用 Chrome 瀏覽器或使用極速模式。\",\"foundError\":\"出現錯誤,請向開發人員反饋。錯誤:\",\"start\":\"開始\",\"remainMin\":\"系統剩餘時間:\",\"firstPersion\":\"點擊畫面鎖定鼠標指針。按 ESC 釋放鼠標\",\"requestWebsite\":\"請求打開網址:\",\"lockMouse\":\"已鎖定鼠標,按 ESC 退出鎖定\",\"hideControllerBar\":\"已隱藏控制欄\",\"hideControllerBarShotCut\":\"已隱藏控制欄, Alt + C 鍵顯示控制欄\",\"showControllerBar\":\"已顯示控制欄\",\"showControllerBarShotCut\":\"已顯示控制欄, Alt + C 隱藏示控制欄\",\"releaseMouse\":\"按 ESC 釋放鼠標\",\"badNetwork\":\"當前網絡環境差,可能影響體驗\",\"INITED\":\"初始化\",\"WEBSOCKET_CHANNEL_OPEN\":\"連接渲染服務器\",\"LOGIN_SUCCESS\":\"登錄渲染服務器\",\"RTC_CONNECTED\":\"點對點連接\",\"MEDIA_LOADED\":\"準備雲端應用\",\"SYNC_APP\":\"應用同步中,請耐心等待一分鐘\",\"RTC_RETRY\":\"檢測到點對點連接斷開,正在重新連接\",\"APP_RETRY_CONFIRM\":\"檢測到雲端應用退出,是否關閉?選擇確定退出當前頁面,選擇取消重新啓動。\",\"APP_RETRY\":\"雲端應用退出,重新啓動中\",\"START\":\"點擊屏幕開始\",\"PLAY_FAILED\":\"應用啓動時間過長,如果長時間未進入,請聯繫管理員檢查雲端應用。\",\"LOCK_POINTER_FAILED\":\"鎖定滑鼠失敗,切換為非鎖定模式\",\"LOCK_POINTER_FAILED_SECURITY_ERROR\":\"
|
|
9537
|
+
e.exports = JSON.parse("{\"button\":{\"status\":\"連接狀態\",\"mouseMode\":\"當前鼠標模式\",\"mouseModeAuto\":\"自动判断\",\"mosueModeLock\":\"全局鎖定\",\"scale\":\"鋪滿\",\"scaleToNormal\":\"還原\",\"scaleAuto\":\"適應\",\"lock\":\"全局鎖定\",\"fullScreen\":\"全屏\",\"exit\":\"退出\",\"setup\":\"設置\",\"show\":\"顯示\",\"hide\":\"隱藏\",\"hideVMouse\":\"隱藏虛擬鼠標\",\"showVMouse\":\"顯示虛擬鼠標\",\"hideVKeyboard\":\"隱藏虛擬鍵盤\",\"showVKeyboard\":\"顯示虛擬鍵盤\",\"playerMode\":\"模式\",\"playerMode_Normal\":\"普通模式\",\"playerMode_Interactive\":\"交互模式\",\"userType\":\"角色\",\"userType_Observer\":\"觀看者\",\"userType_Player\":\"操作者\",\"requireNickName\":\"請輸入暱稱\",\"requireInputChinese\":\"是否需要輸入中文?\",\"buttonSubmit\":\"確定\",\"buttonCancel\":\"取消\",\"buttonInput\":\"輸入\",\"buttonBack\":\"返回\",\"buttonClose\":\"關閉\"},\"notice\":{\"browserVersion\":\"檢測到您當前瀏覽器內核版本較低,建議升級。是否繼續使用?\",\"browserUnsupport\":\"不支持當前瀏覽器/模式。推薦使用 Chrome 瀏覽器或使用極速模式。\",\"foundError\":\"出現錯誤,請向開發人員反饋。錯誤:\",\"start\":\"開始\",\"remainMin\":\"系統剩餘時間:\",\"firstPersion\":\"點擊畫面鎖定鼠標指針。按 ESC 釋放鼠標\",\"requestWebsite\":\"請求打開網址:\",\"lockMouse\":\"已鎖定鼠標,按 ESC 退出鎖定\",\"hideControllerBar\":\"已隱藏控制欄\",\"hideControllerBarShotCut\":\"已隱藏控制欄, Alt + C 鍵顯示控制欄\",\"showControllerBar\":\"已顯示控制欄\",\"showControllerBarShotCut\":\"已顯示控制欄, Alt + C 隱藏示控制欄\",\"releaseMouse\":\"按 ESC 釋放鼠標\",\"badNetwork\":\"當前網絡環境差,可能影響體驗\",\"INITED\":\"初始化\",\"WEBSOCKET_CHANNEL_OPEN\":\"連接渲染服務器\",\"LOGIN_SUCCESS\":\"登錄渲染服務器\",\"RTC_CONNECTED\":\"點對點連接\",\"MEDIA_LOADED\":\"準備雲端應用\",\"SYNC_APP\":\"應用同步中,請耐心等待一分鐘\",\"RTC_RETRY\":\"檢測到點對點連接斷開,正在重新連接\",\"APP_RETRY_CONFIRM\":\"檢測到雲端應用退出,是否關閉?選擇確定退出當前頁面,選擇取消重新啓動。\",\"APP_RETRY\":\"雲端應用退出,重新啓動中\",\"START\":\"點擊屏幕開始\",\"PLAY_FAILED\":\"應用啓動時間過長,如果長時間未進入,請聯繫管理員檢查雲端應用。\",\"LOCK_POINTER_FAILED\":\"鎖定滑鼠失敗,切換為非鎖定模式\",\"LOCK_POINTER_FAILED_SECURITY_ERROR\":\"滑鼠鎖定操作太頻繁,瀏覽器需要等一下才能再次鎖定。請稍後點擊畫面繼續操作.\",\"OBTAIN_OPERATION_PERMISSION\":\"您已獲得操作許可權\",\"LOUSE_OPERATION_PERMISSION\":\"您已失去操作許可權\"}}");
|
|
9434
9538
|
},
|
|
9435
9539
|
824: function(e, t, n) {
|
|
9436
9540
|
var r = n(8793).navigator, i = r && r.userAgent;
|
|
@@ -9587,7 +9691,7 @@ var validator = {
|
|
|
9587
9691
|
1724: function(e, t, n) {
|
|
9588
9692
|
n(9656)("iterator");
|
|
9589
9693
|
},
|
|
9590
|
-
1734: function(module$
|
|
9694
|
+
1734: function(module$2) {
|
|
9591
9695
|
function inquire(moduleName) {
|
|
9592
9696
|
try {
|
|
9593
9697
|
var mod = eval("quire".replace(/^/, "re"))(moduleName);
|
|
@@ -9595,7 +9699,7 @@ var validator = {
|
|
|
9595
9699
|
} catch {}
|
|
9596
9700
|
return null;
|
|
9597
9701
|
}
|
|
9598
|
-
module$
|
|
9702
|
+
module$2.exports = inquire;
|
|
9599
9703
|
},
|
|
9600
9704
|
1818: function(e) {
|
|
9601
9705
|
e.exports = !1;
|
|
@@ -10195,7 +10299,7 @@ var validator = {
|
|
|
10195
10299
|
};
|
|
10196
10300
|
},
|
|
10197
10301
|
3996: function(e) {
|
|
10198
|
-
e.exports = JSON.parse("{\"level\":{\"INFO\":\"消息\",\"WARING\":\"警告\",\"ERROR\":\"錯誤\"},\"msg\":{\"CONNECT_WEBRTC\":\"視頻連接中...\",\"ICE_FAILED\":\"當前網絡環境較差,請關閉頁面,稍等片刻重新進入應用。\",\"ICE_SUCCESS\":\"連接成功\",\"WEBRTC_HANGUP\":\"當前網絡環境較差,請關閉頁面,稍等片刻重新進入應用。\",\"CONNECT_WS_ERR\":\"連接服務器失敗\",\"CONNECT_WS_ERR_1\":\"客戶端已啓動\",\"CONNECT_WS_CLOSE\":\"與服務器連接已關閉\",\"APP_LOGIN_ERR_1\":\"客戶端未認證\",\"APP_LOGIN_ERR_2\":\"客戶端重複登錄\",\"CONNECT_APP_ERR\":\"連接應用服務器失敗\",\"CONNECT_APP_ERR2\":\"連接應用服務器超時\",\"SIGNALING_APP_TIMEOUT\":\"連接超時。請檢查網絡或聯繫管理員。\",\"REMOTE_APP_FAILED\":\"啓動雲端應用失敗。請聯繫管理員。\",\"REMOTE_APP_CLOSE\":\"雲端應用已關閉,請重新進入應用。\",\"REFRESH\":\"重新連接中...\",\"COURSE_OVER\":\"應用到時\",\"COURSE_QUIT\":\"確認退出應用\",\"ORIENTATION\":\"橫屏瀏覽效果更佳\",\"REQUEST_LOCK_MOUSE\":\"獨佔鼠標模式請點擊鎖定鼠標按鈕。\",\"LOCK_MOUSE\":\"進入獨佔鼠標模式\",\"PARAM_ERROR\":\"應用參數錯誤\",\"LOAD_CONFIG_FAILED\":\"讀取配置文件失敗\",\"TOKEN_EXPIRED\":\"檢測到 token 已過期,請重新進入。\",\"REQUEST_PLAY_VIDEO\":\"點擊確認進入應用\",\"LOGIN_SUCESS\":\"登錄成功\",\"LOGIN_ERROR_COURSE_NOTATSTART\":\"登錄失敗,應用未到時間\",\"LOGIN_ERROR_COURSE_NOTEXIST\":\"登錄失敗,應用不存在\",\"LOGIN_ERROR_COURSE_TIMEOUT\":\"登錄失敗,應用已到時\",\"LOGIN_ERROR_MEDIA_NOTREADY\":\"登錄失敗,應用未準備好,請稍後再試\",\"LOGIN_ERROR_SESSION_EXIST\":\"登錄失敗,已有客戶端連接\",\"LOGIN_ERROR_VALIDUSER\":\"登錄失敗,用戶認證失敗\",\"LOGIN_ERROR_SAFEDOG_NOTFOUND\":\"登錄失敗,系統未找到加密狗\",\"LOGIN_ERROR_SAFEDOG_TIMEOUT\":\"登錄失敗,加密狗已過期\",\"LOGIN_ERROR_UNKNOWN\":\"未知登錄結果\",\"LOGIN_ERROR_EMPTY\":\"登錄結果爲空\",\"APP_LOGIN_TIMOUT\":\"登錄超時\",\"APP_LOGIN_MESSAGE_ERR\":\"登錄返回錯誤消息\",\"CONNECT_TO_APP_SERVER_TIMEOUT\":\"連接應用服務器超時\",\"APP_START_STREAM_TIMEOUT\":\"啓動流媒體超時\",\"LK_LOADING_TIMEOUT\":\"加載時間超過系統設定\",\"NO_OPERATION_TIMEOUT\":\"超過系統設定時間無操作,關閉連接。\",\"RENDER_SERVER_CONNECTED\":\"連接渲染服務器成功\",\"RENDER_SERVER_FAILED\":\"連接渲染服務器失敗\",\"RENDER_SERVER_CLOSE\":\"與渲染服務器連接關閉\",\"RENDER_SERVER_ERROR\":\"與渲染服務器連接出錯\",\"PROXY_SERVER_CONNECTED\":\"連接代理服務器成功\",\"PROXY_SERVER_FAILED\":\"連接代理服務器失敗\",\"PROXY_SERVER_CLOSE\":\"與代理服務器連接關閉\",\"PROXY_SERVER_ERROR\":\"與代理服務器連接出錯\",\"VERSION_CHECK_SUCCESS\":\"版本檢測成功\",\"VERSION_CHECK_FAILED\":\"版本檢測失敗\",\"TASK_SUCCESS\":\"服務器端請求 Task 成功\",\"TASK_ERROR\":\"服務器端請求 Task 出錯\",\"TASK_NOTFOUND\":\"服務器端未發現 Task\",\"TASK_SERVER_ERROR\":\"服務器端錯誤\",\"TASK_APP_WRONGPARAM\":\"應用參數錯誤\",\"TASK_NO_GPU_RESOURCE\":\"服務器端 Task 獲取成功,但是沒有可分配的顯卡\",\"START_SUCCESS\":\"啓動流媒體成功\",\"START_FAILED\":\"啓動流媒體出錯\",\"START_STREAM_PROCESS_START_FAILED\":\"啓動失敗\",\"START_STREAM_PROCESS_START_TIMEOUT\":\"啓動超時\",\"START_STREAM_NOT_STREAMING\":\"未串流\",\"START_STREAM_ENCODER_ERROR\":\"編碼錯誤\",\"RTC_EVENT_PEERCONNECTION_CONNECTED\":\"RTC 連接成功\",\"RTC_EVENT_PEERCONNECTION_CLOSED\":\"RTC 連接關閉\",\"RTC_EVENT_PEERCONNECTION_ERROR\":\"RTC 連接出錯\",\"VIDEO_LOADED\":\"視頻流加載成功\",\"CONNECT_TO_ADMIN\":\"請聯繫管理員\",\"RTC_RETRY_CONNECTION\":\"點對點連接斷開,重試中...\",\"LK_NOTIFY_CLIENT_LOGOUT_PLAYER_LOGOUT\":\"服務端主動退出\",\"LK_NOTIFY_CLIENT_LOGOUT_TASKOWNER_LOGOUT\":\"演示模式已結束\",\"LK_APP_PROCESS_NOTIFI_APP_QUIT\":\"雲端應用斷開,重新啓動中\",\"LK_APP_PROCESS_NOTIFI_APP_QUIT_2\":\"雲端應用退出,請重新進入該應用\",\"WAIT_QUEUE_COUNT\":\"系統已啓用排隊功能,當前隊列前有等待用戶: \"}}");
|
|
10302
|
+
e.exports = JSON.parse("{\"level\":{\"INFO\":\"消息\",\"WARING\":\"警告\",\"ERROR\":\"錯誤\"},\"msg\":{\"CONNECT_WEBRTC\":\"視頻連接中...\",\"ICE_FAILED\":\"當前網絡環境較差,請關閉頁面,稍等片刻重新進入應用。\",\"ICE_SUCCESS\":\"連接成功\",\"WEBRTC_HANGUP\":\"當前網絡環境較差,請關閉頁面,稍等片刻重新進入應用。\",\"CONNECT_WS_ERR\":\"連接服務器失敗\",\"CONNECT_WS_ERR_1\":\"客戶端已啓動\",\"CONNECT_WS_CLOSE\":\"與服務器連接已關閉\",\"APP_LOGIN_ERR_1\":\"客戶端未認證\",\"APP_LOGIN_ERR_2\":\"客戶端重複登錄\",\"CONNECT_APP_ERR\":\"連接應用服務器失敗\",\"CONNECT_APP_ERR2\":\"連接應用服務器超時\",\"SIGNALING_APP_TIMEOUT\":\"連接超時。請檢查網絡或聯繫管理員。\",\"REMOTE_APP_FAILED\":\"啓動雲端應用失敗。請聯繫管理員。\",\"REMOTE_APP_CLOSE\":\"雲端應用已關閉,請重新進入應用。\",\"REFRESH\":\"重新連接中...\",\"COURSE_OVER\":\"應用到時\",\"COURSE_QUIT\":\"確認退出應用\",\"ORIENTATION\":\"橫屏瀏覽效果更佳\",\"REQUEST_LOCK_MOUSE\":\"獨佔鼠標模式請點擊鎖定鼠標按鈕。\",\"LOCK_MOUSE\":\"進入獨佔鼠標模式\",\"PARAM_ERROR\":\"應用參數錯誤\",\"LOAD_CONFIG_FAILED\":\"讀取配置文件失敗\",\"TOKEN_EXPIRED\":\"檢測到 token 已過期,請重新進入。\",\"REQUEST_PLAY_VIDEO\":\"點擊確認進入應用\",\"LOGIN_SUCESS\":\"登錄成功\",\"LOGIN_ERROR_COURSE_NOTATSTART\":\"登錄失敗,應用未到時間\",\"LOGIN_ERROR_COURSE_NOTEXIST\":\"登錄失敗,應用不存在\",\"LOGIN_ERROR_COURSE_TIMEOUT\":\"登錄失敗,應用已到時\",\"LOGIN_ERROR_MEDIA_NOTREADY\":\"登錄失敗,應用未準備好,請稍後再試\",\"LOGIN_ERROR_SESSION_EXIST\":\"登錄失敗,已有客戶端連接\",\"LOGIN_ERROR_VALIDUSER\":\"登錄失敗,用戶認證失敗\",\"LOGIN_ERROR_SAFEDOG_NOTFOUND\":\"登錄失敗,系統未找到加密狗\",\"LOGIN_ERROR_SAFEDOG_TIMEOUT\":\"登錄失敗,加密狗已過期\",\"LOGIN_ERROR_UNKNOWN\":\"未知登錄結果\",\"LOGIN_ERROR_EMPTY\":\"登錄結果爲空\",\"APP_LOGIN_TIMOUT\":\"登錄超時\",\"APP_LOGIN_MESSAGE_ERR\":\"登錄返回錯誤消息\",\"CONNECT_TO_APP_SERVER_TIMEOUT\":\"連接應用服務器超時\",\"APP_START_STREAM_TIMEOUT\":\"啓動流媒體超時\",\"LK_LOADING_TIMEOUT\":\"加載時間超過系統設定\",\"NO_OPERATION_TIMEOUT\":\"超過系統設定時間無操作,關閉連接。\",\"WEB_CLIENT_LOAD_SUCCESS\":\"網頁客戶端載入成功\",\"USER_CAPTURE_FRAME\":\"使用者擷取了一幀渲染畫面\",\"TASK_CREATE_FAILED\":\"建立 Task 失敗\",\"RENDER_SERVER_CONNECTED\":\"連接渲染服務器成功\",\"RENDER_SERVER_FAILED\":\"連接渲染服務器失敗\",\"RENDER_SERVER_CLOSE\":\"與渲染服務器連接關閉\",\"RENDER_SERVER_ERROR\":\"與渲染服務器連接出錯\",\"PROXY_SERVER_CONNECTED\":\"連接代理服務器成功\",\"PROXY_SERVER_FAILED\":\"連接代理服務器失敗\",\"PROXY_SERVER_CLOSE\":\"與代理服務器連接關閉\",\"PROXY_SERVER_ERROR\":\"與代理服務器連接出錯\",\"VERSION_CHECK_SUCCESS\":\"版本檢測成功\",\"VERSION_CHECK_FAILED\":\"版本檢測失敗\",\"TASK_SUCCESS\":\"服務器端請求 Task 成功\",\"TASK_ERROR\":\"服務器端請求 Task 出錯\",\"TASK_NOTFOUND\":\"服務器端未發現 Task\",\"TASK_SERVER_ERROR\":\"服務器端錯誤\",\"TASK_APP_WRONGPARAM\":\"應用參數錯誤\",\"TASK_NO_GPU_RESOURCE\":\"服務器端 Task 獲取成功,但是沒有可分配的顯卡\",\"START_SUCCESS\":\"啓動流媒體成功\",\"START_FAILED\":\"啓動流媒體出錯\",\"START_STREAM_PROCESS_START_FAILED\":\"啓動失敗\",\"START_STREAM_PROCESS_START_TIMEOUT\":\"啓動超時\",\"START_STREAM_NOT_STREAMING\":\"未串流\",\"START_STREAM_ENCODER_ERROR\":\"編碼錯誤\",\"RTC_EVENT_PEERCONNECTION_CONNECTED\":\"RTC 連接成功\",\"RTC_EVENT_PEERCONNECTION_CLOSED\":\"RTC 連接關閉\",\"RTC_EVENT_PEERCONNECTION_ERROR\":\"RTC 連接出錯\",\"VIDEO_LOADED\":\"視頻流加載成功\",\"CONNECT_TO_ADMIN\":\"請聯繫管理員\",\"RTC_RETRY_CONNECTION\":\"點對點連接斷開,重試中...\",\"LK_NOTIFY_CLIENT_LOGOUT_PLAYER_LOGOUT\":\"服務端主動退出\",\"LK_NOTIFY_CLIENT_LOGOUT_TASKOWNER_LOGOUT\":\"演示模式已結束\",\"LK_APP_PROCESS_NOTIFI_APP_QUIT\":\"雲端應用斷開,重新啓動中\",\"LK_APP_PROCESS_NOTIFI_APP_QUIT_2\":\"雲端應用退出,請重新進入該應用\",\"STARTVRSTREAM_START_PROCESS_FAILED\":\"啓動 VR 串流失敗\",\"STARTVRSTREAM_START_DRIVER_RUNTIME_TIMEOUT\":\"啓動 VR 串流驅動逾時\",\"STARTVRSTREAM_START_DRIVER_RUNTIME_UDPPORT_ERROR\":\"VR 串流 UDP 連接埠出錯\",\"STARTVRSTREAM_START_DRIVER_RUNTIME_ENCODER_ERROR\":\"VR 串流編碼出錯\",\"DATA_CHANNEL_CLOSE\":\"資料通道已關閉\",\"DATA_CHANNEL_ERROR\":\"資料通道出錯\",\"WAIT_QUEUE_COUNT\":\"系統已啓用排隊功能,當前隊列前有等待用戶: \",\"GET_TASKINFO_FAIL\":\"獲取Task資訊失敗\",\"SERVER_ADDRESS_NOT_SET\":\"服务器地址未設定\",\"AUTHCODE_VERIFICATION_FAILED\":\"sdk授權校驗失敗. 請通過new LarkSR({authCode: id})或initSDKAuthCode設定\"}}");
|
|
10199
10303
|
},
|
|
10200
10304
|
4059: function(e, t) {
|
|
10201
10305
|
t.A = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAQAAABpN6lAAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfiAgEKIzYpoEMCAAACv0lEQVR42u3ca1aDMBCG4anHNUpX065H18g58YeAKYVcyCTfZDLjX2l5Hy8lwUrUciaamj6fsJloppm+0KeBzHfkRiWYaCb3cI9BCZZ859yQBF7+iAS7/NEIDvJHIjjJH4UgkD8CQSRfO0FCvmaCxHytBBn5HoGaZVJmvjaCC/maCC7mayEoyNdAUJjfOwFDfs8ETPm9EjDmewTdXBox5/dGsG51Bj7OJnZcDwQJ+QUATQhulR/fEbnQU9d+/uh8oE8APQaAPgH0GED2EbiXJhFXhxPNWZ8fexnMGQEXyH+v+ygA+BphvezBATia6Y7OxwLAvguWJQ8aALVY3lZ8aADMfoG34MUDtCd4We9LAGhLsNvukAHQjuBtt0cKQBuCg80uOQD1CQ73+iQB1CU42eqUBVCP4HSnVxpAHYLARrc8AH6C4D6/RABegshtjoStbM5t8eTH4iKI3uWRCsBDUOEmV8spJeg8v5RAQX4JgZL8qwSK8j2C5O17Zfm5BMuNEfhNWta5ZUZNNJN7or9sbPO8+ltAB8GVfEUEV/OVEJTkKyAozU8ikLsY4shPIJAKwJUfJZC5IcKZHyGQCMCdHySQB1AjP0AgDaBW/imBLICa+ScEkgBq5x8SyAFokX9AIAWgVf4bgQyAlvk7AgkArfNfCPAAiHyPAA2Ayt8I0AC4fJ8ACQD8U9l/AhwAOH8lQAEIyP8jQAFU+dm3t82hTwA9BoA+AfQYQNHR9+ibp2MTPlrA+8RiU/ft8+LzN4Kn4xzkkkcAwZIv/p8nVCLo7avPTNBrPhNBz/kMBL3nFxJoyC8g0JJ/kUBT/gUCbfmZBD1e9jASaM1PJNCcn0CgPT9CMEJ+gGCU/BOCkfIPCEbL3xGMmO8RjJq/EYybvxKIy/9s+FzfRET0g062sbGxsbGxsbGxsbGxsbGxsRl7fgETo5ol+4Lf1QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOC0wMi0wMVQxMDozNTo1NCswMDowMEeNiOsAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTgtMDItMDFUMTA6MzU6NTQrMDA6MDA20DBXAAAAAElFTkSuQmCC";
|
|
@@ -10238,7 +10342,7 @@ var validator = {
|
|
|
10238
10342
|
}), "toString");
|
|
10239
10343
|
},
|
|
10240
10344
|
4198: function(e) {
|
|
10241
|
-
e.exports = JSON.parse("{\"level\":{\"INFO\":\"INFO\",\"WARING\":\"WARING\",\"ERROR\":\"ERROR\"},\"msg\":{\"CONNECT_WEBRTC\":\"Video connection...\",\"ICE_FAILED\":\"The current network environment is poor. Please close the page and wait a moment to re-enter the application.\",\"ICE_SUCCESS\":\"Connection succeeded.\",\"WEBRTC_HANGUP\":\"The current network environment is poor. Please close the page and wait a moment to re-enter the application.\",\"connect CONNECT_WS_ERR\":\"Connection failure.\",\"CONNECT_WS_ERR_1\":\"Client has started.\",\"CONNECT_WS_CLOSE\":\"Connection to server is down.\",\"APP_LOGIN_ERR_1\":\"Client is not authenticated.\",\"APP_LOGIN_ERR_2\":\"Client repeated login.\",\"CONNECT_APP_ERR\":\"Connection to the application server failed.\",\"CONNECT_APP_ERR2\":\"Connection application server timeout.\",\"SIGNALING_APP_TIMEOUT\":\"Connection timed out. Please check the network or contact the administrator.\",\"REMOTE_APP_FAILED\":\"Failed to launch cloud app. Please contact the administrator.\",\"REMOTE_APP_CLOSE\":\"The cloud app is closed. Please re-enter the course.\",\"REFRESH\":\"Reconnecting...\",\"COURSE_OVER\":\"Course time.\",\"COURSE_QUIT\":\"Confirm withdrawal from the course.\",\"ORIENTATION\":\"Horizontal screen browsing is better.\",\"REQUEST_LOCK_MOUSE\":\"For exclusive mouse mode, click the lock mouse button.\",\"LOCK_MOUSE\":\"Enter exclusive mouse mode.\",\"PARAM_ERROR\":\"Application parameter error.\",\"LOAD_CONFIG_FAILED\":\"Failed to read configuration file.\",\"TOKEN_EXPIRED\":\"The token has expired, please re-enter.\",\"REQUEST_PLAY_VIDEO\":\"Click OK to enter the app.\",\"LOGIN_SUCESS\":\"Login successful.\",\"LOGIN_ERROR_COURSE_NOTATSTART\":\"Login failed, course has not arrived.\",\"LOGIN_ERROR_COURSE_NOTEXIST\":\"Login failed, course does not exist.\",\"LOGIN_ERROR_COURSE_TIMEOUT\":\"Login failed, the course has arrived.\",\"LOGIN_ERROR_MEDIA_NOTREADY\":\"Login failed, course is not ready, please try again later.\",\"LOGIN_ERROR_SESSION_EXIST\":\"Login failed, existing client connection.\",\"LOGIN_ERROR_VALIDUSER\":\"Login failed, user authentication failed.\",\"LOGIN_ERROR_SAFEDOG_NOTFOUND\":\"Login failed, the system did not find the dongle\",\"LOGIN_ERROR_SAFEDOG_TIMEOUT\":\"Login failed, dongle has expired.\",\"LOGIN_ERROR_UNKNOWN\":\"Unknown login result.\",\"LOGIN_ERROR_EMPTY\":\"Login result is empty.\",\"APP_LOGIN_TIMOUT\":\"Login timeout.\",\"APP_LOGIN_MESSAGE_ERR\":\"Login returns an error message.\",\"CONNECT_TO_APP_SERVER_TIMEOUT\":\"Connection application server timeout.\",\"APP_START_STREAM_TIMEOUT\":\"Start streaming timeout\",\"LK_LOADING_TIMEOUT\":\"Loading timeout.\",\"NO_OPERATION_TIMEOUT\":\"No operation exceeds the system setting time, close the connection。\",\"RENDER_SERVER_CONNECTED\":\"connect to render server success\",\"RENDER_SERVER_FAILED\":\"connect to render server failed\",\"RENDER_SERVER_CLOSE\":\"connection with render server close\",\"RENDER_SERVER_ERROR\":\"connection with render server error\",\"PROXY_SERVER_CONNECTED\":\"connect to proxy server success\",\"PROXY_SERVER_FAILED\":\"connect to proxy server failed\",\"PROXY_SERVER_CLOSE\":\"connection with proxy server close\",\"PROXY_SERVER_ERROR\":\"connection with proxy server error\",\"VERSION_CHECK_SUCCESS\":\"version check success\",\"VERSION_CHECK_FAILED\":\"version check failed\",\"TASK_SUCCESS\":\"Server get task success\",\"TASK_ERROR\":\"Server get task error\",\"TASK_NOTFOUND\":\"Server get task notfound\",\"TASK_SERVER_ERROR\":\"Server get task server error\",\"TASK_APP_WRONGPARAM\":\"task app wrong param\",\"TASK_NO_GPU_RESOURCE\":\"task no gpu resource\",\"START_SUCCESS\":\"start success\",\"START_FAILED\":\"start failed\",\"START_STREAM_PROCESS_START_FAILED\":\"start stream process failed\",\"START_STREAM_PROCESS_START_TIMEOUT\":\"start stream process timout\",\"START_STREAM_NOT_STREAMING\":\"start stream not streaming\",\"START_STREAM_ENCODER_ERROR\":\"start stream encoder error\",\"RTC_EVENT_PEERCONNECTION_CONNECTED\":\"RTC connect success\",\"RTC_EVENT_PEERCONNECTION_CLOSED\":\"RTC connect close\",\"RTC_EVENT_PEERCONNECTION_ERROR\":\"RTC connect error\",\"VIDEO_LOADED\":\"video loaded\",\"CONNECT_TO_ADMIN\":\"Please connect to adminer\",\"RTC_RETRY_CONNECTION\":\"Peerconnection closed,retrying...\",\"LK_NOTIFY_CLIENT_LOGOUT_PLAYER_LOGOUT\":\"Sever request logout.\",\"LK_NOTIFY_CLIENT_LOGOUT_TASKOWNER_LOGOUT\":\"Taskowner logout.\",\"LK_APP_PROCESS_NOTIFI_APP_QUIT\":\"Cloud application closed. Reopening...\",\"WAIT_QUEUE_COUNT\":\"Wait count before me: \"}}");
|
|
10345
|
+
e.exports = JSON.parse("{\"level\":{\"INFO\":\"INFO\",\"WARING\":\"WARING\",\"ERROR\":\"ERROR\"},\"msg\":{\"CONNECT_WEBRTC\":\"Video connection...\",\"ICE_FAILED\":\"The current network environment is poor. Please close the page and wait a moment to re-enter the application.\",\"ICE_SUCCESS\":\"Connection succeeded.\",\"WEBRTC_HANGUP\":\"The current network environment is poor. Please close the page and wait a moment to re-enter the application.\",\"connect CONNECT_WS_ERR\":\"Connection failure.\",\"CONNECT_WS_ERR_1\":\"Client has started.\",\"CONNECT_WS_CLOSE\":\"Connection to server is down.\",\"APP_LOGIN_ERR_1\":\"Client is not authenticated.\",\"APP_LOGIN_ERR_2\":\"Client repeated login.\",\"CONNECT_APP_ERR\":\"Connection to the application server failed.\",\"CONNECT_APP_ERR2\":\"Connection application server timeout.\",\"SIGNALING_APP_TIMEOUT\":\"Connection timed out. Please check the network or contact the administrator.\",\"REMOTE_APP_FAILED\":\"Failed to launch cloud app. Please contact the administrator.\",\"REMOTE_APP_CLOSE\":\"The cloud app is closed. Please re-enter the course.\",\"REFRESH\":\"Reconnecting...\",\"COURSE_OVER\":\"Course time.\",\"COURSE_QUIT\":\"Confirm withdrawal from the course.\",\"ORIENTATION\":\"Horizontal screen browsing is better.\",\"REQUEST_LOCK_MOUSE\":\"For exclusive mouse mode, click the lock mouse button.\",\"LOCK_MOUSE\":\"Enter exclusive mouse mode.\",\"PARAM_ERROR\":\"Application parameter error.\",\"LOAD_CONFIG_FAILED\":\"Failed to read configuration file.\",\"TOKEN_EXPIRED\":\"The token has expired, please re-enter.\",\"REQUEST_PLAY_VIDEO\":\"Click OK to enter the app.\",\"LOGIN_SUCESS\":\"Login successful.\",\"LOGIN_ERROR_COURSE_NOTATSTART\":\"Login failed, course has not arrived.\",\"LOGIN_ERROR_COURSE_NOTEXIST\":\"Login failed, course does not exist.\",\"LOGIN_ERROR_COURSE_TIMEOUT\":\"Login failed, the course has arrived.\",\"LOGIN_ERROR_MEDIA_NOTREADY\":\"Login failed, course is not ready, please try again later.\",\"LOGIN_ERROR_SESSION_EXIST\":\"Login failed, existing client connection.\",\"LOGIN_ERROR_VALIDUSER\":\"Login failed, user authentication failed.\",\"LOGIN_ERROR_SAFEDOG_NOTFOUND\":\"Login failed, the system did not find the dongle\",\"LOGIN_ERROR_SAFEDOG_TIMEOUT\":\"Login failed, dongle has expired.\",\"LOGIN_ERROR_UNKNOWN\":\"Unknown login result.\",\"LOGIN_ERROR_EMPTY\":\"Login result is empty.\",\"APP_LOGIN_TIMOUT\":\"Login timeout.\",\"APP_LOGIN_MESSAGE_ERR\":\"Login returns an error message.\",\"CONNECT_TO_APP_SERVER_TIMEOUT\":\"Connection application server timeout.\",\"APP_START_STREAM_TIMEOUT\":\"Start streaming timeout\",\"LK_LOADING_TIMEOUT\":\"Loading timeout.\",\"NO_OPERATION_TIMEOUT\":\"No operation exceeds the system setting time, close the connection。\",\"WEB_CLIENT_LOAD_SUCCESS\":\"Web client loaded successfully\",\"USER_CAPTURE_FRAME\":\"User captured a render frame\",\"TASK_CREATE_FAILED\":\"Failed to create task\",\"RENDER_SERVER_CONNECTED\":\"connect to render server success\",\"RENDER_SERVER_FAILED\":\"connect to render server failed\",\"RENDER_SERVER_CLOSE\":\"connection with render server close\",\"RENDER_SERVER_ERROR\":\"connection with render server error\",\"PROXY_SERVER_CONNECTED\":\"connect to proxy server success\",\"PROXY_SERVER_FAILED\":\"connect to proxy server failed\",\"PROXY_SERVER_CLOSE\":\"connection with proxy server close\",\"PROXY_SERVER_ERROR\":\"connection with proxy server error\",\"VERSION_CHECK_SUCCESS\":\"version check success\",\"VERSION_CHECK_FAILED\":\"version check failed\",\"TASK_SUCCESS\":\"Server get task success\",\"TASK_ERROR\":\"Server get task error\",\"TASK_NOTFOUND\":\"Server get task notfound\",\"TASK_SERVER_ERROR\":\"Server get task server error\",\"TASK_APP_WRONGPARAM\":\"task app wrong param\",\"TASK_NO_GPU_RESOURCE\":\"task no gpu resource\",\"START_SUCCESS\":\"start success\",\"START_FAILED\":\"start failed\",\"START_STREAM_PROCESS_START_FAILED\":\"start stream process failed\",\"START_STREAM_PROCESS_START_TIMEOUT\":\"start stream process timout\",\"START_STREAM_NOT_STREAMING\":\"start stream not streaming\",\"START_STREAM_ENCODER_ERROR\":\"start stream encoder error\",\"RTC_EVENT_PEERCONNECTION_CONNECTED\":\"RTC connect success\",\"RTC_EVENT_PEERCONNECTION_CLOSED\":\"RTC connect close\",\"RTC_EVENT_PEERCONNECTION_ERROR\":\"RTC connect error\",\"VIDEO_LOADED\":\"video loaded\",\"CONNECT_TO_ADMIN\":\"Please connect to adminer\",\"RTC_RETRY_CONNECTION\":\"Peerconnection closed,retrying...\",\"LK_NOTIFY_CLIENT_LOGOUT_PLAYER_LOGOUT\":\"Sever request logout.\",\"LK_NOTIFY_CLIENT_LOGOUT_TASKOWNER_LOGOUT\":\"Taskowner logout.\",\"LK_APP_PROCESS_NOTIFI_APP_QUIT\":\"Cloud application closed. Reopening...\",\"STARTVRSTREAM_START_PROCESS_FAILED\":\"Failed to start VR streaming\",\"STARTVRSTREAM_START_DRIVER_RUNTIME_TIMEOUT\":\"Timed out starting the VR streaming driver\",\"STARTVRSTREAM_START_DRIVER_RUNTIME_UDPPORT_ERROR\":\"VR streaming UDP port error\",\"STARTVRSTREAM_START_DRIVER_RUNTIME_ENCODER_ERROR\":\"VR streaming encoder error\",\"DATA_CHANNEL_CLOSE\":\"Data channel closed\",\"DATA_CHANNEL_ERROR\":\"Data channel error\",\"WAIT_QUEUE_COUNT\":\"Wait count before me: \",\"GET_TASKINFO_FAIL\":\"Failed to retrieve taskInfo\",\"SERVER_ADDRESS_NOT_SET\":\"Server address not set\",\"AUTHCODE_VERIFICATION_FAILED\":\"SDK authorization verification failed Please set it through new LarkSR ({authCode: id}) or initSDKAuthCode\"}}");
|
|
10242
10346
|
},
|
|
10243
10347
|
4202: function(e, t, n) {
|
|
10244
10348
|
var r = n(917), i = n(8521), a = n(6952);
|
|
@@ -11396,7 +11500,7 @@ var validator = {
|
|
|
11396
11500
|
};
|
|
11397
11501
|
},
|
|
11398
11502
|
6818: function(e) {
|
|
11399
|
-
e.exports = JSON.parse("{\"button\":{\"status\":\"连接状态\",\"mouseMode\":\"当前鼠标模式\",\"mouseModeAuto\":\"自动判断\",\"mosueModeLock\":\"全局锁定\",\"scale\":\"铺满\",\"scaleToNormal\":\"还原\",\"lock\":\"全局锁定\",\"fullScreen\":\"全屏\",\"exit\":\"退出\",\"setup\":\"设置\",\"show\":\"显示\",\"hide\":\"隐藏\",\"hideVMouse\":\"隐藏虚拟鼠标\",\"showVMouse\":\"显示虚拟鼠标\",\"hideVKeyboard\":\"隐藏虚拟键盘\",\"showVKeyboard\":\"显示虚拟键盘\",\"playerMode\":\"模式\",\"playerMode_Normal\":\"普通模式\",\"playerMode_Interactive\":\"交互模式\",\"userType\":\"角色\",\"userType_Observer\":\"观看者\",\"userType_Player\":\"操作者\",\"requireNickName\":\"请输入昵称加入观看模式\",\"requireInputChinese\":\"是否需要输入中文?\",\"buttonSubmit\":\"确定\",\"buttonCancle\":\"取消\",\"buttonInput\":\"输入\",\"buttonBack\":\"返回\",\"buttonClose\":\"关闭\"},\"notice\":{\"browserVersion\":\"检测到您当前浏览器内核版本较低,建议升级。是否继续使用?\",\"browserUnsupport\":\"不支持当前浏览器/模式。推荐使用 Chrome 浏览器或使用极速模式。\",\"foundError\":\"出现错误,请向开发人员反馈。错误:\",\"start\":\"开始\",\"remainMin\":\"系统剩余时间:\",\"firstPersion\":\"点击画面锁定鼠标指针。按 ESC 释放鼠标\",\"requestWebsite\":\"请求打开网址:\",\"lockMouse\":\"已锁定鼠标,按 ESC 退出锁定\",\"hideControllerBar\":\"已隐藏控制栏\",\"hideControllerBarShotCut\":\"已隐藏控制栏, Alt + C 键显示控制栏\",\"showControllerBar\":\"已显示控制栏\",\"showControllerBarShotCut\":\"已显示控制栏, Alt + C 隐藏示控制栏\",\"releaseMouse\":\"按 ESC 释放鼠标\",\"badNetwork\":\"当前网络环境差,可能影响体验\",\"INITED\":\"初始化\",\"WEBSOCKET_CHANNEL_OPEN\":\"连接渲染服务器\",\"LOGIN_SUCCESS\":\"登录渲染服务器\",\"RTC_CONNECTED\":\"点对点连接\",\"MEDIA_LOADED\":\"准备云端应用\",\"SYNC_APP\":\"应用同步中,请耐心等待一分钟\",\"RTC_RETRY\":\"检测到点对点连接断开,正在重新连接\",\"APP_RETRY_CONFIRM\":\"检测到云端应用退出,是否关闭?选择确定退出当前页面,选择取消重新启动。\",\"APP_RETRY\":\"云端应用退出,重新启动中\",\"START\":\"点击屏幕开始\",\"PLAY_FAILED\":\"应用启动时间过长,如果长时间未进入,请联系管理员检查云端应用。\",\"LOCK_POINTER_FAILED\":\"锁定鼠标失败,切换为非锁定模式\",\"LOCK_POINTER_FAILED_SECURITY_ERROR\":\"
|
|
11503
|
+
e.exports = JSON.parse("{\"button\":{\"status\":\"连接状态\",\"mouseMode\":\"当前鼠标模式\",\"mouseModeAuto\":\"自动判断\",\"mosueModeLock\":\"全局锁定\",\"scale\":\"铺满\",\"scaleToNormal\":\"还原\",\"lock\":\"全局锁定\",\"fullScreen\":\"全屏\",\"exit\":\"退出\",\"setup\":\"设置\",\"show\":\"显示\",\"hide\":\"隐藏\",\"hideVMouse\":\"隐藏虚拟鼠标\",\"showVMouse\":\"显示虚拟鼠标\",\"hideVKeyboard\":\"隐藏虚拟键盘\",\"showVKeyboard\":\"显示虚拟键盘\",\"playerMode\":\"模式\",\"playerMode_Normal\":\"普通模式\",\"playerMode_Interactive\":\"交互模式\",\"userType\":\"角色\",\"userType_Observer\":\"观看者\",\"userType_Player\":\"操作者\",\"requireNickName\":\"请输入昵称加入观看模式\",\"requireInputChinese\":\"是否需要输入中文?\",\"buttonSubmit\":\"确定\",\"buttonCancle\":\"取消\",\"buttonInput\":\"输入\",\"buttonBack\":\"返回\",\"buttonClose\":\"关闭\"},\"notice\":{\"browserVersion\":\"检测到您当前浏览器内核版本较低,建议升级。是否继续使用?\",\"browserUnsupport\":\"不支持当前浏览器/模式。推荐使用 Chrome 浏览器或使用极速模式。\",\"foundError\":\"出现错误,请向开发人员反馈。错误:\",\"start\":\"开始\",\"remainMin\":\"系统剩余时间:\",\"firstPersion\":\"点击画面锁定鼠标指针。按 ESC 释放鼠标\",\"requestWebsite\":\"请求打开网址:\",\"lockMouse\":\"已锁定鼠标,按 ESC 退出锁定\",\"hideControllerBar\":\"已隐藏控制栏\",\"hideControllerBarShotCut\":\"已隐藏控制栏, Alt + C 键显示控制栏\",\"showControllerBar\":\"已显示控制栏\",\"showControllerBarShotCut\":\"已显示控制栏, Alt + C 隐藏示控制栏\",\"releaseMouse\":\"按 ESC 释放鼠标\",\"badNetwork\":\"当前网络环境差,可能影响体验\",\"INITED\":\"初始化\",\"WEBSOCKET_CHANNEL_OPEN\":\"连接渲染服务器\",\"LOGIN_SUCCESS\":\"登录渲染服务器\",\"RTC_CONNECTED\":\"点对点连接\",\"MEDIA_LOADED\":\"准备云端应用\",\"SYNC_APP\":\"应用同步中,请耐心等待一分钟\",\"RTC_RETRY\":\"检测到点对点连接断开,正在重新连接\",\"APP_RETRY_CONFIRM\":\"检测到云端应用退出,是否关闭?选择确定退出当前页面,选择取消重新启动。\",\"APP_RETRY\":\"云端应用退出,重新启动中\",\"START\":\"点击屏幕开始\",\"PLAY_FAILED\":\"应用启动时间过长,如果长时间未进入,请联系管理员检查云端应用。\",\"LOCK_POINTER_FAILED\":\"锁定鼠标失败,切换为非锁定模式\",\"LOCK_POINTER_FAILED_SECURITY_ERROR\":\"鼠标锁定操作频繁,浏览器需等待片刻后才能再次锁定。请稍后点击画面继续操作\",\"OBTAIN_OPERATION_PERMISSION\":\"您已获得操作权限\",\"LOUSE_OPERATION_PERMISSION\":\"您已失去操作权限\"}}");
|
|
11400
11504
|
},
|
|
11401
11505
|
6839: function(e, t, n) {
|
|
11402
11506
|
var r = n(9279), i = n(5636), a = n(6747), o = n(2962), s = n(6279);
|
|
@@ -13758,7 +13862,7 @@ var validator = {
|
|
|
13758
13862
|
};
|
|
13759
13863
|
},
|
|
13760
13864
|
9293: function(e) {
|
|
13761
|
-
e.exports = JSON.parse("{\"button\":{\"status\":\"Net status\",\"mouseMode\":\"Mouse Mode\",\"mouseModeAuto\":\"Auto\",\"mosueModeLock\":\"Lock\",\"scale\":\"Zoom\",\"scaleToNormal\":\"Reduction\",\"lock\":\"Locking\",\"fullScreen\":\"Fullscreen\",\"exit\":\"Exit\",\"setup\":\"Setup\",\"show\":\"Show\",\"hide\":\"Hide\",\"hideVMouse\":\"Hide Virtual Mouse\",\"showVMouse\":\"Show Virtual Mouse\",\"hideVKeyboard\":\"Hide Virtual Keyboard\",\"showVKeyboard\":\"Show Virtual Keyboard\",\"playerMode\":\"Player Mode\",\"playerMode_Normal\":\"Normal\",\"playerMode_Interactive\":\"Interactive\",\"userType\":\"User Type\",\"userType_Observer\":\"Observer\",\"userType_Player\":\"Player\",\"requireNickName\":\"Please setup nickname.\",\"requireInputChinese\":\"Need input Chinese?\",\"buttonSubmit\":\"OK\",\"buttonCancle\":\"Cancle\",\"buttonInput\":\"Input\",\"buttonBack\":\"Back\",\"buttonClose\":\"Close\"},\"notice\":{\"browserVersion\":\"It is detected that your current browser kernel version is lower, it is recommended to upgrade. Continue to use?\",\"browserUnsupport\":\"Current browser/mode is not supported. It’s recommended to use Chrome or use speed mode.\",\"foundError\":\"An error has occurred, please give feedback to the developer. error:\",\"start\":\"Start\",\"remainMin\":\"System remaining time:\",\"firstPersion\":\"Click on the screen to enter the first person mode, and the angle of view moves with the mouse. Press Esc to display the mouse again.\",\"requestWebsite\":\"Request to open the URL:\",\"lockMouse\":\"Mouse is locked, press ESC to exit lock.\",\"hideControllerBar\":\"Hidden control bar.\",\"hideControllerBarShotCut\":\"Control bar is hidden, Alt + C key displays control bar.\",\"showControllerBar\":\"Control bar displayed.\",\"showControllerBarShotCut\":\"Control bar is displayed, Alt + C hides control bar.\",\"releaseMouse\":\"Press ESC release mouse.\",\"badNetwork\":\"The current network environment is poor and may affect the experience.\",\"INITED\":\"inited\",\"WEBSOCKET_CHANNEL_OPEN\":\"websocket channel open\",\"LOGIN_SUCCESS\":\"login render server\",\"RTC_CONNECTED\":\"peerconnection connected\",\"MEDIA_LOADED\":\"prepare remote app\",\"SYNC_APP\":\"Sync remote app, please wait one min.\",\"RTC_RETRY\":\"Peerconnection has closed. Retrying.\",\"APP_RETRY_CONFIRM\":\"Cloud application closed. Quit now?\",\"APP_RETRY\":\"Cloud application closed. Reopening...\",\"START\":\"Click to Start\",\"PLAY_FAILED\":\"Cloud app maybe not ready? Please connect manager to check server.\",\"LOCK_POINTER_FAILED\":\"lock pointer failed switch to unlock mode.\",\"LOCK_POINTER_FAILED_SECURITY_ERROR\":\"
|
|
13865
|
+
e.exports = JSON.parse("{\"button\":{\"status\":\"Net status\",\"mouseMode\":\"Mouse Mode\",\"mouseModeAuto\":\"Auto\",\"mosueModeLock\":\"Lock\",\"scale\":\"Zoom\",\"scaleToNormal\":\"Reduction\",\"lock\":\"Locking\",\"fullScreen\":\"Fullscreen\",\"exit\":\"Exit\",\"setup\":\"Setup\",\"show\":\"Show\",\"hide\":\"Hide\",\"hideVMouse\":\"Hide Virtual Mouse\",\"showVMouse\":\"Show Virtual Mouse\",\"hideVKeyboard\":\"Hide Virtual Keyboard\",\"showVKeyboard\":\"Show Virtual Keyboard\",\"playerMode\":\"Player Mode\",\"playerMode_Normal\":\"Normal\",\"playerMode_Interactive\":\"Interactive\",\"userType\":\"User Type\",\"userType_Observer\":\"Observer\",\"userType_Player\":\"Player\",\"requireNickName\":\"Please setup nickname.\",\"requireInputChinese\":\"Need input Chinese?\",\"buttonSubmit\":\"OK\",\"buttonCancle\":\"Cancle\",\"buttonInput\":\"Input\",\"buttonBack\":\"Back\",\"buttonClose\":\"Close\"},\"notice\":{\"browserVersion\":\"It is detected that your current browser kernel version is lower, it is recommended to upgrade. Continue to use?\",\"browserUnsupport\":\"Current browser/mode is not supported. It’s recommended to use Chrome or use speed mode.\",\"foundError\":\"An error has occurred, please give feedback to the developer. error:\",\"start\":\"Start\",\"remainMin\":\"System remaining time:\",\"firstPersion\":\"Click on the screen to enter the first person mode, and the angle of view moves with the mouse. Press Esc to display the mouse again.\",\"requestWebsite\":\"Request to open the URL:\",\"lockMouse\":\"Mouse is locked, press ESC to exit lock.\",\"hideControllerBar\":\"Hidden control bar.\",\"hideControllerBarShotCut\":\"Control bar is hidden, Alt + C key displays control bar.\",\"showControllerBar\":\"Control bar displayed.\",\"showControllerBarShotCut\":\"Control bar is displayed, Alt + C hides control bar.\",\"releaseMouse\":\"Press ESC release mouse.\",\"badNetwork\":\"The current network environment is poor and may affect the experience.\",\"INITED\":\"inited\",\"WEBSOCKET_CHANNEL_OPEN\":\"websocket channel open\",\"LOGIN_SUCCESS\":\"login render server\",\"RTC_CONNECTED\":\"peerconnection connected\",\"MEDIA_LOADED\":\"prepare remote app\",\"SYNC_APP\":\"Sync remote app, please wait one min.\",\"RTC_RETRY\":\"Peerconnection has closed. Retrying.\",\"APP_RETRY_CONFIRM\":\"Cloud application closed. Quit now?\",\"APP_RETRY\":\"Cloud application closed. Reopening...\",\"START\":\"Click to Start\",\"PLAY_FAILED\":\"Cloud app maybe not ready? Please connect manager to check server.\",\"LOCK_POINTER_FAILED\":\"lock pointer failed switch to unlock mode.\",\"LOCK_POINTER_FAILED_SECURITY_ERROR\":\"The mouse locking is happening frequently, and the browser needs a moment before it can lock again. Please click on the screen to continue shortly.\",\"OBTAIN_OPERATION_PERMISSION\":\"You have obtained operational permissions\",\"LOUSE_OPERATION_PERMISSION\":\"You have lost the operation permission\"}}");
|
|
13762
13866
|
},
|
|
13763
13867
|
9323: function(e, t, n) {
|
|
13764
13868
|
var r = n(5589);
|
|
@@ -13809,7 +13913,7 @@ var validator = {
|
|
|
13809
13913
|
e.exports = JSON.parse("{\"name\":\"操作說明\",\"session\":[{\"name\":\"本地操作\",\"items\":[{\"name\":\"開啟或隱藏控制欄:\",\"des\":\"單指在屏幕畫逆時針圓弧(半個笑臉)可開啓或隱藏控制欄。\"}]},{\"name\":\"鼠標鍵盤操作模擬\",\"items\":[{\"name\":\"移動鼠標:\",\"des\":\"單指在屏幕上滑動表示移動鼠標。\"},{\"name\":\"左鍵單擊:\",\"des\":\"單指輕點屏幕表示鼠標左鍵單擊。\"},{\"name\":\"拖拽操作:\",\"des\":\"單指長按屏幕,出現鼠標按下提示後拖動即可。單指擡起屏幕出現鼠標擡起提示拖動完成。\"},{\"name\":\"上下文菜單/鼠標右鍵:\",\"des\":\"雙指單擊,模擬鼠標右鍵按下。\"},{\"name\":\"鼠標右鍵按下/拖動:\",\"des\":\"雙指長按屏幕,出現鼠標右鍵按下提示後拖拽即可。雙指離開屏幕鼠標右鍵擡起。\"},{\"name\":\"鼠標滾輪/中鍵滾動:\",\"des\":\"雙指同時向上/下劃,模擬鼠標滾輪\"},{\"name\":\"鼠標滾輪按下/拖動:\",\"des\":\"三指長按屏幕,出現鼠標中鍵按下提示後拖拽即可。三指離開屏幕鼠標中鍵擡起。\"}]}]}");
|
|
13810
13914
|
},
|
|
13811
13915
|
9819: function(e) {
|
|
13812
|
-
e.exports = JSON.parse("{\"level\":{\"INFO\":\"消息\",\"WARING\":\"警告\",\"ERROR\":\"错误\"},\"msg\":{\"CONNECT_WEBRTC\":\"视频连接中...\",\"ICE_FAILED\":\"当前网络环境较差,请关闭页面,稍等片刻重新进入应用。\",\"ICE_SUCCESS\":\"连接成功\",\"WEBRTC_HANGUP\":\"当前网络环境较差,请关闭页面,稍等片刻重新进入应用。\",\"CONNECT_WS_ERR\":\"连接服务器失败\",\"CONNECT_WS_ERR_1\":\"客户端已启动\",\"CONNECT_WS_CLOSE\":\"与服务器连接已关闭\",\"APP_LOGIN_ERR_1\":\"客户端未认证\",\"APP_LOGIN_ERR_2\":\"客户端重复登录\",\"CONNECT_APP_ERR\":\"连接应用服务器失败\",\"CONNECT_APP_ERR2\":\"连接应用服务器超时\",\"SIGNALING_APP_TIMEOUT\":\"连接超时。请检查网络或联系管理员。\",\"REMOTE_APP_FAILED\":\"启动云端应用失败。请联系管理员。\",\"REMOTE_APP_CLOSE\":\"云端应用已关闭,请重新进入应用。\",\"REFRESH\":\"重新连接中...\",\"COURSE_OVER\":\"应用到时\",\"COURSE_QUIT\":\"确认退出应用\",\"ORIENTATION\":\"横屏浏览效果更佳\",\"REQUEST_LOCK_MOUSE\":\"独占鼠标模式请点击锁定鼠标按钮。\",\"LOCK_MOUSE\":\"进入独占鼠标模式\",\"PARAM_ERROR\":\"应用参数错误\",\"LOAD_CONFIG_FAILED\":\"读取配置文件失败\",\"TOKEN_EXPIRED\":\"检测到 token 已过期,请重新进入。\",\"REQUEST_PLAY_VIDEO\":\"点击确认进入应用\",\"LOGIN_SUCESS\":\"登录成功\",\"LOGIN_ERROR_COURSE_NOTATSTART\":\"登录失败,应用未到时间\",\"LOGIN_ERROR_COURSE_NOTEXIST\":\"登录失败,应用不存在\",\"LOGIN_ERROR_COURSE_TIMEOUT\":\"登录失败,应用已到时\",\"LOGIN_ERROR_MEDIA_NOTREADY\":\"登录失败,应用未准备好,请稍后再试\",\"LOGIN_ERROR_SESSION_EXIST\":\"登录失败,已有客户端连接\",\"LOGIN_ERROR_VALIDUSER\":\"登录失败,用户认证失败\",\"LOGIN_ERROR_SAFEDOG_NOTFOUND\":\"登录失败,系统未找到加密狗\",\"LOGIN_ERROR_SAFEDOG_TIMEOUT\":\"登录失败,加密狗已过期\",\"LOGIN_ERROR_UNKNOWN\":\"未知登录结果\",\"LOGIN_ERROR_EMPTY\":\"登录结果为空\",\"APP_LOGIN_TIMOUT\":\"登录超时\",\"APP_LOGIN_MESSAGE_ERR\":\"登录返回错误消息\",\"CONNECT_TO_APP_SERVER_TIMEOUT\":\"连接应用服务器超时\",\"APP_START_STREAM_TIMEOUT\":\"启动流媒体超时\",\"LK_LOADING_TIMEOUT\":\"加载时间超过系统设定\",\"NO_OPERATION_TIMEOUT\":\"超过系统设定时间无操作,关闭连接。\",\"RENDER_SERVER_CONNECTED\":\"连接渲染服务器成功\",\"RENDER_SERVER_FAILED\":\"连接渲染服务器失败\",\"RENDER_SERVER_CLOSE\":\"与渲染服务器连接关闭\",\"RENDER_SERVER_ERROR\":\"与渲染服务器连接出错\",\"PROXY_SERVER_CONNECTED\":\"连接代理服务器成功\",\"PROXY_SERVER_FAILED\":\"连接代理服务器失败\",\"PROXY_SERVER_CLOSE\":\"与代理服务器连接关闭\",\"PROXY_SERVER_ERROR\":\"与代理服务器连接出错\",\"VERSION_CHECK_SUCCESS\":\"版本检测成功\",\"VERSION_CHECK_FAILED\":\"版本检测失败\",\"TASK_SUCCESS\":\"服务器端请求 Task 成功\",\"TASK_ERROR\":\"服务器端请求 Task 出错\",\"TASK_NOTFOUND\":\"服务器端未发现 Task\",\"TASK_SERVER_ERROR\":\"服务器端错误\",\"TASK_APP_WRONGPARAM\":\"应用参数错误,请检查应用实际启动路径和参数\",\"TASK_NO_GPU_RESOURCE\":\"服务器端 Task 获取成功,但是没有可分配的显卡\",\"START_SUCCESS\":\"启动流媒体成功\",\"START_FAILED\":\"启动流媒体出错\",\"START_STREAM_PROCESS_START_FAILED\":\"启动失败\",\"START_STREAM_PROCESS_START_TIMEOUT\":\"启动超时\",\"START_STREAM_NOT_STREAMING\":\"未串流\",\"START_STREAM_ENCODER_ERROR\":\"编码错误\",\"RTC_EVENT_PEERCONNECTION_CONNECTED\":\"RTC 连接成功\",\"RTC_EVENT_PEERCONNECTION_CLOSED\":\"RTC 连接关闭\",\"RTC_EVENT_PEERCONNECTION_ERROR\":\"RTC 连接出错\",\"VIDEO_LOADED\":\"视频流加载成功\",\"CONNECT_TO_ADMIN\":\"请联系管理员\",\"RTC_RETRY_CONNECTION\":\"点对点连接断开,重试中...\",\"LK_NOTIFY_CLIENT_LOGOUT_PLAYER_LOGOUT\":\"服务端主动退出\",\"LK_NOTIFY_CLIENT_LOGOUT_TASKOWNER_LOGOUT\":\"演示模式已结束\",\"LK_APP_PROCESS_NOTIFI_APP_QUIT\":\"云端应用断开,重新启动中\",\"WAIT_QUEUE_COUNT\":\"系统已启用排队功能,当前队列前有等待用户: \"}}");
|
|
13916
|
+
e.exports = JSON.parse("{\"level\":{\"INFO\":\"消息\",\"WARING\":\"警告\",\"ERROR\":\"错误\"},\"msg\":{\"CONNECT_WEBRTC\":\"视频连接中...\",\"ICE_FAILED\":\"当前网络环境较差,请关闭页面,稍等片刻重新进入应用。\",\"ICE_SUCCESS\":\"连接成功\",\"WEBRTC_HANGUP\":\"当前网络环境较差,请关闭页面,稍等片刻重新进入应用。\",\"CONNECT_WS_ERR\":\"连接服务器失败\",\"CONNECT_WS_ERR_1\":\"客户端已启动\",\"CONNECT_WS_CLOSE\":\"与服务器连接已关闭\",\"APP_LOGIN_ERR_1\":\"客户端未认证\",\"APP_LOGIN_ERR_2\":\"客户端重复登录\",\"CONNECT_APP_ERR\":\"连接应用服务器失败\",\"CONNECT_APP_ERR2\":\"连接应用服务器超时\",\"SIGNALING_APP_TIMEOUT\":\"连接超时。请检查网络或联系管理员。\",\"REMOTE_APP_FAILED\":\"启动云端应用失败。请联系管理员。\",\"REMOTE_APP_CLOSE\":\"云端应用已关闭,请重新进入应用。\",\"REFRESH\":\"重新连接中...\",\"COURSE_OVER\":\"应用到时\",\"COURSE_QUIT\":\"确认退出应用\",\"ORIENTATION\":\"横屏浏览效果更佳\",\"REQUEST_LOCK_MOUSE\":\"独占鼠标模式请点击锁定鼠标按钮。\",\"LOCK_MOUSE\":\"进入独占鼠标模式\",\"PARAM_ERROR\":\"应用参数错误\",\"LOAD_CONFIG_FAILED\":\"读取配置文件失败\",\"TOKEN_EXPIRED\":\"检测到 token 已过期,请重新进入。\",\"REQUEST_PLAY_VIDEO\":\"点击确认进入应用\",\"LOGIN_SUCESS\":\"登录成功\",\"LOGIN_ERROR_COURSE_NOTATSTART\":\"登录失败,应用未到时间\",\"LOGIN_ERROR_COURSE_NOTEXIST\":\"登录失败,应用不存在\",\"LOGIN_ERROR_COURSE_TIMEOUT\":\"登录失败,应用已到时\",\"LOGIN_ERROR_MEDIA_NOTREADY\":\"登录失败,应用未准备好,请稍后再试\",\"LOGIN_ERROR_SESSION_EXIST\":\"登录失败,已有客户端连接\",\"LOGIN_ERROR_VALIDUSER\":\"登录失败,用户认证失败\",\"LOGIN_ERROR_SAFEDOG_NOTFOUND\":\"登录失败,系统未找到加密狗\",\"LOGIN_ERROR_SAFEDOG_TIMEOUT\":\"登录失败,加密狗已过期\",\"LOGIN_ERROR_UNKNOWN\":\"未知登录结果\",\"LOGIN_ERROR_EMPTY\":\"登录结果为空\",\"APP_LOGIN_TIMOUT\":\"登录超时\",\"APP_LOGIN_MESSAGE_ERR\":\"登录返回错误消息\",\"CONNECT_TO_APP_SERVER_TIMEOUT\":\"连接应用服务器超时\",\"APP_START_STREAM_TIMEOUT\":\"启动流媒体超时\",\"LK_LOADING_TIMEOUT\":\"加载时间超过系统设定\",\"NO_OPERATION_TIMEOUT\":\"超过系统设定时间无操作,关闭连接。\",\"WEB_CLIENT_LOAD_SUCCESS\":\"网页客户端加载成功\",\"USER_CAPTURE_FRAME\":\"用户截取了一帧渲染画面\",\"TASK_CREATE_FAILED\":\"创建任务失败\",\"RENDER_SERVER_CONNECTED\":\"连接渲染服务器成功\",\"RENDER_SERVER_FAILED\":\"连接渲染服务器失败\",\"RENDER_SERVER_CLOSE\":\"与渲染服务器连接关闭\",\"RENDER_SERVER_ERROR\":\"与渲染服务器连接出错\",\"PROXY_SERVER_CONNECTED\":\"连接代理服务器成功\",\"PROXY_SERVER_FAILED\":\"连接代理服务器失败\",\"PROXY_SERVER_CLOSE\":\"与代理服务器连接关闭\",\"PROXY_SERVER_ERROR\":\"与代理服务器连接出错\",\"VERSION_CHECK_SUCCESS\":\"版本检测成功\",\"VERSION_CHECK_FAILED\":\"版本检测失败\",\"TASK_SUCCESS\":\"服务器端请求 Task 成功\",\"TASK_ERROR\":\"服务器端请求 Task 出错\",\"TASK_NOTFOUND\":\"服务器端未发现 Task\",\"TASK_SERVER_ERROR\":\"服务器端错误\",\"TASK_APP_WRONGPARAM\":\"应用参数错误,请检查应用实际启动路径和参数\",\"TASK_NO_GPU_RESOURCE\":\"服务器端 Task 获取成功,但是没有可分配的显卡\",\"START_SUCCESS\":\"启动流媒体成功\",\"START_FAILED\":\"启动流媒体出错\",\"START_STREAM_PROCESS_START_FAILED\":\"启动失败\",\"START_STREAM_PROCESS_START_TIMEOUT\":\"启动超时\",\"START_STREAM_NOT_STREAMING\":\"未串流\",\"START_STREAM_ENCODER_ERROR\":\"编码错误\",\"RTC_EVENT_PEERCONNECTION_CONNECTED\":\"RTC 连接成功\",\"RTC_EVENT_PEERCONNECTION_CLOSED\":\"RTC 连接关闭\",\"RTC_EVENT_PEERCONNECTION_ERROR\":\"RTC 连接出错\",\"VIDEO_LOADED\":\"视频流加载成功\",\"CONNECT_TO_ADMIN\":\"请联系管理员\",\"RTC_RETRY_CONNECTION\":\"点对点连接断开,重试中...\",\"LK_NOTIFY_CLIENT_LOGOUT_PLAYER_LOGOUT\":\"服务端主动退出\",\"LK_NOTIFY_CLIENT_LOGOUT_TASKOWNER_LOGOUT\":\"演示模式已结束\",\"LK_APP_PROCESS_NOTIFI_APP_QUIT\":\"云端应用断开,重新启动中\",\"STARTVRSTREAM_START_PROCESS_FAILED\":\"启动 VR 流媒体失败\",\"STARTVRSTREAM_START_DRIVER_RUNTIME_TIMEOUT\":\"启动 VR 流媒体驱动超时\",\"STARTVRSTREAM_START_DRIVER_RUNTIME_UDPPORT_ERROR\":\"启动 VR 流媒体 UDP 端口出错\",\"STARTVRSTREAM_START_DRIVER_RUNTIME_ENCODER_ERROR\":\"启动 VR 流媒体编码出错\",\"DATA_CHANNEL_CLOSE\":\"数据通道已关闭\",\"DATA_CHANNEL_ERROR\":\"数据通道出错\",\"WAIT_QUEUE_COUNT\":\"系统已启用排队功能,当前队列前有等待用户: \",\"GET_TASKINFO_FAIL\":\"获取Task信息失败\",\"SERVER_ADDRESS_NOT_SET\":\"服务器地址未设置\",\"AUTHCODE_VERIFICATION_FAILED\":\"sdk 授权校验失败. 请通过 new LarkSR({authCode: id}) 或 initSDKAuthCode 设置\"}}");
|
|
13813
13917
|
},
|
|
13814
13918
|
9966: function(e) {
|
|
13815
13919
|
e.exports = function(e, t) {
|
|
@@ -14271,6 +14375,15 @@ var validator = {
|
|
|
14271
14375
|
get noOperationTimeout() {
|
|
14272
14376
|
return this.getMessage("NO_OPERATION_TIMEOUT");
|
|
14273
14377
|
}
|
|
14378
|
+
get WEB_CLIENT_LOAD_SUCCESS() {
|
|
14379
|
+
return this.getMessage("WEB_CLIENT_LOAD_SUCCESS");
|
|
14380
|
+
}
|
|
14381
|
+
get USER_CAPTURE_FRAME() {
|
|
14382
|
+
return this.getMessage("USER_CAPTURE_FRAME");
|
|
14383
|
+
}
|
|
14384
|
+
get TASK_CREATE_FAILED() {
|
|
14385
|
+
return this.getMessage("TASK_CREATE_FAILED");
|
|
14386
|
+
}
|
|
14274
14387
|
get RENDER_SERVER_CONNECTED() {
|
|
14275
14388
|
return this.getMessage("RENDER_SERVER_CONNECTED");
|
|
14276
14389
|
}
|
|
@@ -14364,12 +14477,39 @@ var validator = {
|
|
|
14364
14477
|
get LK_APP_PROCESS_NOTIFI_APP_QUIT() {
|
|
14365
14478
|
return this.getMessage("LK_APP_PROCESS_NOTIFI_APP_QUIT");
|
|
14366
14479
|
}
|
|
14480
|
+
get STARTVRSTREAM_START_PROCESS_FAILED() {
|
|
14481
|
+
return this.getMessage("STARTVRSTREAM_START_PROCESS_FAILED");
|
|
14482
|
+
}
|
|
14483
|
+
get STARTVRSTREAM_START_DRIVER_RUNTIME_TIMEOUT() {
|
|
14484
|
+
return this.getMessage("STARTVRSTREAM_START_DRIVER_RUNTIME_TIMEOUT");
|
|
14485
|
+
}
|
|
14486
|
+
get STARTVRSTREAM_START_DRIVER_RUNTIME_UDPPORT_ERROR() {
|
|
14487
|
+
return this.getMessage("STARTVRSTREAM_START_DRIVER_RUNTIME_UDPPORT_ERROR");
|
|
14488
|
+
}
|
|
14489
|
+
get STARTVRSTREAM_START_DRIVER_RUNTIME_ENCODER_ERROR() {
|
|
14490
|
+
return this.getMessage("STARTVRSTREAM_START_DRIVER_RUNTIME_ENCODER_ERROR");
|
|
14491
|
+
}
|
|
14492
|
+
get DATA_CHANNEL_CLOSE() {
|
|
14493
|
+
return this.getMessage("DATA_CHANNEL_CLOSE");
|
|
14494
|
+
}
|
|
14495
|
+
get DATA_CHANNEL_ERROR() {
|
|
14496
|
+
return this.getMessage("DATA_CHANNEL_ERROR");
|
|
14497
|
+
}
|
|
14367
14498
|
get LK_LOADING_TIMEOUT() {
|
|
14368
14499
|
return this.getMessage("LK_LOADING_TIMEOUT");
|
|
14369
14500
|
}
|
|
14370
14501
|
get WAIT_QUEUE_COUNT() {
|
|
14371
14502
|
return this.getMessage("WAIT_QUEUE_COUNT");
|
|
14372
14503
|
}
|
|
14504
|
+
get GET_TASKINFO_FAIL() {
|
|
14505
|
+
return this.getMessage("GET_TASKINFO_FAIL");
|
|
14506
|
+
}
|
|
14507
|
+
get SERVER_ADDRESS_NOT_SET() {
|
|
14508
|
+
return this.getMessage("SERVER_ADDRESS_NOT_SET");
|
|
14509
|
+
}
|
|
14510
|
+
get AUTHCODE_VERIFICATION_FAILED() {
|
|
14511
|
+
return this.getMessage("AUTHCODE_VERIFICATION_FAILED");
|
|
14512
|
+
}
|
|
14373
14513
|
}(), p.mGestureIns = new class extends l {
|
|
14374
14514
|
constructor() {
|
|
14375
14515
|
super(...arguments), this.mType = "gestureIns";
|
|
@@ -14552,13 +14692,34 @@ var validator = {
|
|
|
14552
14692
|
get LOCK_POINTER_FAILED_SECURITY_ERROR() {
|
|
14553
14693
|
return this.getNotice("LOCK_POINTER_FAILED_SECURITY_ERROR");
|
|
14554
14694
|
}
|
|
14695
|
+
get OBTAIN_OPERATION_PERMISSION() {
|
|
14696
|
+
return this.getNotice("OBTAIN_OPERATION_PERMISSION");
|
|
14697
|
+
}
|
|
14698
|
+
get LOUSE_OPERATION_PERMISSION() {
|
|
14699
|
+
return this.getNotice("LOUSE_OPERATION_PERMISSION");
|
|
14700
|
+
}
|
|
14555
14701
|
}(), function(e) {
|
|
14556
14702
|
e[e.LK_WEB_CLIENT_LOAD_SUCCESS = 1] = "LK_WEB_CLIENT_LOAD_SUCCESS", e[e.LK_TASK_CREATE_SUCCESS = 10] = "LK_TASK_CREATE_SUCCESS", e[e.LK_TASK_CREATE_FAILED = 11] = "LK_TASK_CREATE_FAILED", e[e.LK_RESOURCE_NOT_ENOUGH = 12] = "LK_RESOURCE_NOT_ENOUGH", e[e.LK_TASK_SYNC_APP = 20] = "LK_TASK_SYNC_APP", e[e.LK_TASK_SYNC_APP_FAILED = 21] = "LK_TASK_SYNC_APP_FAILED", e[e.LK_RENDER_SERVER_CONNECTED = 100] = "LK_RENDER_SERVER_CONNECTED", e[e.LK_RENDER_SERVER_FAILED = 101] = "LK_RENDER_SERVER_FAILED", e[e.LK_RENDER_SERVER_CLOSE = 102] = "LK_RENDER_SERVER_CLOSE", e[e.LK_RENDER_SERVER_ERROR = 103] = "LK_RENDER_SERVER_ERROR", e[e.LK_PROXY_SERVER_CONNECTED = 200] = "LK_PROXY_SERVER_CONNECTED", e[e.LK_PROXY_SERVER_FAILED = 201] = "LK_PROXY_SERVER_FAILED", e[e.LK_PROXY_SERVER_CLOSE = 202] = "LK_PROXY_SERVER_CLOSE", e[e.LK_PROXY_SERVER_ERROR = 203] = "LK_PROXY_SERVER_ERROR", e[e.LK_VERSION_CHECK_SUCCESS = 300] = "LK_VERSION_CHECK_SUCCESS", e[e.LK_VERSION_CHECK_FAILED = 301] = "LK_VERSION_CHECK_FAILED", e[e.LK_TASK_SUCCESS = 400] = "LK_TASK_SUCCESS", e[e.LK_TASK_NOTFOUND = 401] = "LK_TASK_NOTFOUND", e[e.LK_TASK_SERVER_ERROR = 402] = "LK_TASK_SERVER_ERROR", e[e.LK_TASK_APP_WRONGPARAM = 403] = "LK_TASK_APP_WRONGPARAM", e[e.LK_TASK_NO_GPU_RESOURCE = 404] = "LK_TASK_NO_GPU_RESOURCE", e[e.LK_START_STREAM_SUCCESS = 500] = "LK_START_STREAM_SUCCESS", e[e.LK_START_STREAM_PROCESS_START_FAILED = 501] = "LK_START_STREAM_PROCESS_START_FAILED", e[e.LK_START_STREAM_PROCESS_START_TIMEOUT = 502] = "LK_START_STREAM_PROCESS_START_TIMEOUT", e[e.LK_START_STREAM_NOT_STREAMING = 503] = "LK_START_STREAM_NOT_STREAMING", e[e.LK_START_STREAM_ENCODER_ERROR = 504] = "LK_START_STREAM_ENCODER_ERROR", e[e.LK_RTC_EVENT_PEERCONNECTION_CONNECTED = 600] = "LK_RTC_EVENT_PEERCONNECTION_CONNECTED", e[e.LK_RTC_EVENT_PEERCONNECTION_CLOSED = 601] = "LK_RTC_EVENT_PEERCONNECTION_CLOSED", e[e.LK_RTC_EVENT_PEERCONNECTION_ERROR = 602] = "LK_RTC_EVENT_PEERCONNECTION_ERROR", e[e.LK_RTC_EVENT_PEERCONNECTION_CREATE_FAILED = 603] = "LK_RTC_EVENT_PEERCONNECTION_CREATE_FAILED", e[e.LK_RTC_EVENT_PEERCONNECTION_STATE = 610] = "LK_RTC_EVENT_PEERCONNECTION_STATE", e[e.LK_RTC_EVENT_PEERCONNECTION_RETRY = 611] = "LK_RTC_EVENT_PEERCONNECTION_RETRY", e[e.LK_VIDEO_LOADED = 700] = "LK_VIDEO_LOADED", e[e.LK_VIDEO_PLAY_FAILED = 701] = "LK_VIDEO_PLAY_FAILED", e[e.LK_GOT_REMOTE_STREAM = 710] = "LK_GOT_REMOTE_STREAM", e[e.LK_VIDEO_PLAY_SUCCSS = 711] = "LK_VIDEO_PLAY_SUCCSS", e[e.LK_NOTIFY_CLIENT_LOGOUT_PLAYER_LOGOUT = 800] = "LK_NOTIFY_CLIENT_LOGOUT_PLAYER_LOGOUT", e[e.LK_NOTIFY_CLIENT_LOGOUT_TASKOWNER_LOGOUT = 801] = "LK_NOTIFY_CLIENT_LOGOUT_TASKOWNER_LOGOUT", e[e.LK_APP_PROCESS_NOTIFI_APP_QUIT = 900] = "LK_APP_PROCESS_NOTIFI_APP_QUIT", e[e.LK_NO_OPERATION_TIMEOUT = 901] = "LK_NO_OPERATION_TIMEOUT", e[e.LK_LOADING_TIMEOUT = 902] = "LK_LOADING_TIMEOUT", e[e.LK_APP_RESIZE = 910] = "LK_APP_RESIZE", e[e.LK_APP_MOUSE_MODE = 911] = "LK_APP_MOUSE_MODE", e[e.LK_APP_PLAER_LIST = 912] = "LK_APP_PLAER_LIST", e[e.LK_APP_REQUEST_TEXT = 913] = "LK_APP_REQUEST_TEXT", e[e.LK_APP_CURSOR_STYLE = 914] = "LK_APP_CURSOR_STYLE", e[e.LK_USER_REQUEST_QUIT = 920] = "LK_USER_REQUEST_QUIT", e[e.LK_UI_RESIZE = 930] = "LK_UI_RESIZE", e[e.LK_STARTVRSTREAM_SUCCESS = 1e3] = "LK_STARTVRSTREAM_SUCCESS", e[e.LK_STARTVRSTREAM_START_PROCESS_FAILED = 1001] = "LK_STARTVRSTREAM_START_PROCESS_FAILED", e[e.LK_STARTVRSTREAM_START_DRIVER_RUNTIME_TIMEOUT = 1002] = "LK_STARTVRSTREAM_START_DRIVER_RUNTIME_TIMEOUT", e[e.LK_STARTVRSTREAM_START_DRIVER_RUNTIME_UDPPORT_ERROR = 1003] = "LK_STARTVRSTREAM_START_DRIVER_RUNTIME_UDPPORT_ERROR", e[e.LK_STARTVRSTREAM_START_DRIVER_RUNTIME_ENCODER_ERROR = 1004] = "LK_STARTVRSTREAM_START_DRIVER_RUNTIME_ENCODER_ERROR", e[e.LK_WEBCLIENT_NOTIFY_ALERT = 1100] = "LK_WEBCLIENT_NOTIFY_ALERT", e[e.LK_WEBCLIENT_NOTIFY_CONFIRM = 1101] = "LK_WEBCLIENT_NOTIFY_CONFIRM", e[e.LK_WEBCLIENT_TOAST_MSG = 1102] = "LK_WEBCLIENT_TOAST_MSG", e[e.LK_USER_CAPTURE_FRAME = 2e3] = "LK_USER_CAPTURE_FRAME", e[e.LK_USER_CAPTURE_FRAME_WITH_EXTRA_DATA = 2001] = "LK_USER_CAPTURE_FRAME_WITH_EXTRA_DATA", e[e.LK_REQUEST_CAPTURE_FRAME = 3e3] = "LK_REQUEST_CAPTURE_FRAME", e[e.LK_REQUEST_CAPTURE_FRAME_WITH_EXTRA_DATA = 3001] = "LK_REQUEST_CAPTURE_FRAME_WITH_EXTRA_DATA", e[e.LK_IFRAME_POSTER_OPERATE_MOUSE_MOVE = 1e4] = "LK_IFRAME_POSTER_OPERATE_MOUSE_MOVE", e[e.LK_IFRAME_POSTER_OPERATE_MOUSE_DOWN = 10001] = "LK_IFRAME_POSTER_OPERATE_MOUSE_DOWN", e[e.LK_IFRAME_POSTER_OPERATE_MOUSE_UP = 10002] = "LK_IFRAME_POSTER_OPERATE_MOUSE_UP", e[e.LK_IFRAME_POSTER_OPERATE_MOUSE_WHEEL = 10003] = "LK_IFRAME_POSTER_OPERATE_MOUSE_WHEEL", e[e.LK_IFRAME_POSTER_OPERATE_KEY_DOWN = 10010] = "LK_IFRAME_POSTER_OPERATE_KEY_DOWN", e[e.LK_IFRAME_POSTER_OPERATE_KEY_UP = 10011] = "LK_IFRAME_POSTER_OPERATE_KEY_UP", e[e.LK_IFRAME_POSTER_OPERATE_TOUCH_DOWN = 10020] = "LK_IFRAME_POSTER_OPERATE_TOUCH_DOWN", e[e.LK_IFRAME_POSTER_OPERATE_TOUCH_MOVE = 10021] = "LK_IFRAME_POSTER_OPERATE_TOUCH_MOVE", e[e.LK_IFRAME_POSTER_OPERATE_TOUCH_UP = 10022] = "LK_IFRAME_POSTER_OPERATE_TOUCH_UP", e[e.LK_IFRAME_POSTER_OPERATE_GAMEPAD_BUTTON_DOWN = 10030] = "LK_IFRAME_POSTER_OPERATE_GAMEPAD_BUTTON_DOWN", e[e.LK_IFRAME_POSTER_OPERATE_GAMEPAD_BUTTON_UP = 10031] = "LK_IFRAME_POSTER_OPERATE_GAMEPAD_BUTTON_UP", e[e.LK_IFRAME_POSTER_OPERATE_GAMEPAD_TRIGGER_VALUE = 10032] = "LK_IFRAME_POSTER_OPERATE_GAMEPAD_TRIGGER_VALUE", e[e.LK_IFRAME_POSTER_OPERATE_GAMEPAD_JOYSTICK_STATES = 10033] = "LK_IFRAME_POSTER_OPERATE_GAMEPAD_JOYSTICK_STATES", e[e.LK_IFRAME_POSTER_OPENAUDIO_INPUT = 10040] = "LK_IFRAME_POSTER_OPENAUDIO_INPUT", e[e.LK_IFRAME_POSTER_CLOSE_AUDIO_INPUT = 10041] = "LK_IFRAME_POSTER_CLOSE_AUDIO_INPUT", e[e.LK_IFRAME_POSTER_FUNC_MOUSE_MODE = 10100] = "LK_IFRAME_POSTER_FUNC_MOUSE_MODE", e[e.LK_IFRAME_POSTER_FUNC_SCALE_MODE = 10101] = "LK_IFRAME_POSTER_FUNC_SCALE_MODE", e[e.LK_IFRAME_POSTER_FUNC_RESTART_CLOUD_APP = 10102] = "LK_IFRAME_POSTER_FUNC_RESTART_CLOUD_APP", e[e.LK_IFRAME_POSTER_FUNC_WX_JS_BRIDGE_READY = 10103] = "LK_IFRAME_POSTER_FUNC_WX_JS_BRIDGE_READY", e[e.LK_IFRAME_POSTER_FUNC_REQUEST_PLAY_VIDEO = 10104] = "LK_IFRAME_POSTER_FUNC_REQUEST_PLAY_VIDEO", e[e.LK_IFRAME_POSTER_UI_CONTROLLER_BAR = 10200] = "LK_IFRAME_POSTER_UI_CONTROLLER_BAR", e[e.LK_IFRAME_POSTER_UI_PLAYER_LIST = 10201] = "LK_IFRAME_POSTER_UI_PLAYER_LIST", e[e.LK_IFRAME_POSTER_UI_PLAYER_SHARE_URL = 10202] = "LK_IFRAME_POSTER_UI_PLAYER_SHARE_URL", e[e.LK_IFRAME_POSTER_UI_MOBILE_CONTROL_BALL = 10203] = "LK_IFRAME_POSTER_UI_MOBILE_CONTROL_BALL", e[e.LK_IFRMAE_POSTER_UI_MOBILE_JOYSTICK = 10204] = "LK_IFRMAE_POSTER_UI_MOBILE_JOYSTICK", e[e.LK_IFRAME_POSTER_UI_MOBILE_VIRTUAL_KEYBOARD = 10205] = "LK_IFRAME_POSTER_UI_MOBILE_VIRTUAL_KEYBOARD", e[e.LK_IFRAME_POSTER_UI_MOBILE_VIRTUAL_MOUSE = 10206] = "LK_IFRAME_POSTER_UI_MOBILE_VIRTUAL_MOUSE", e[e.LK_IFRAME_POSTER_UI_MOBILE_MENU = 10207] = "LK_IFRAME_POSTER_UI_MOBILE_MENU", e[e.LK_IFRAME_POSTER_UI_MOBILE_FORCE_LANDSCAPE = 10208] = "LK_IFRAME_POSTER_UI_MOBILE_FORCE_LANDSCAPE", e[e.LK_IFRAME_POSTER_UI_MOBILE_TOUCH_POINT = 10209] = "LK_IFRAME_POSTER_UI_MOBILE_TOUCH_POINT", e[e.LK_IFRAME_POSTER_UI_TOAST_LEVEL = 10210] = "LK_IFRAME_POSTER_UI_TOAST_LEVEL", e[e.LK_IFRAME_POSTER_UI_ALERT = 10211] = "LK_IFRAME_POSTER_UI_ALERT", e[e.LK_IFRAME_POSTER_UI_CONFIRM = 10212] = "LK_IFRAME_POSTER_UI_CONFIRM", e[e.LK_DATA_CHANNEL_ESTABLISHED = 2e4] = "LK_DATA_CHANNEL_ESTABLISHED", e[e.LK_DATA_CHANNEL_RETYING = 20001] = "LK_DATA_CHANNEL_RETYING", e[e.LK_DATA_CHANNEL_CLOSE = 20002] = "LK_DATA_CHANNEL_CLOSE", e[e.LK_DATA_CHANNEL_ERROR = 20003] = "LK_DATA_CHANNEL_ERROR", e[e.LK_DATA_CHANNEL_BINARY_MESSAGE = 20004] = "LK_DATA_CHANNEL_BINARY_MESSAGE", e[e.LK_DATA_CHANNEL_TEXT_MESSAGE = 20005] = "LK_DATA_CHANNEL_TEXT_MESSAGE", e[e.LK_RE_CONNECT_DATA_CHANNEL = 20100] = "LK_RE_CONNECT_DATA_CHANNEL", e[e.LK_CLOSE_DATA_CHANNEL = 20101] = "LK_CLOSE_DATA_CHANNEL", e[e.LK_DATA_CHANNEL_SEND_TEXT = 20102] = "LK_DATA_CHANNEL_SEND_TEXT", e[e.LK_DATA_CHANNEL_SEND_BINARY = 20103] = "LK_DATA_CHANNEL_SEND_BINARY", e[e.LK_DATA_CHANNEL_RENDERSERVER_OPEN = 20200] = "LK_DATA_CHANNEL_RENDERSERVER_OPEN", e[e.LK_DATA_CHANNEL_RENDERSERVER_CLOSE = 20201] = "LK_DATA_CHANNEL_RENDERSERVER_CLOSE", e[e.LK_DATA_CHANNEL_RENDERSERVER_BINARY_MESSAGE = 20202] = "LK_DATA_CHANNEL_RENDERSERVER_BINARY_MESSAGE", e[e.LK_DATA_CHANNEL_RENDERSERVER_TEXT_MESSAGE = 20203] = "LK_DATA_CHANNEL_RENDERSERVER_TEXT_MESSAGE", e[e.LK_DATA_CHANNEL_RENDERSERVER_SEND_TEXT = 20300] = "LK_DATA_CHANNEL_RENDERSERVER_SEND_TEXT", e[e.LK_DATA_CHANNEL_RENDERSERVER_SEND_BINARY = 20301] = "LK_DATA_CHANNEL_RENDERSERVER_SEND_BINARY";
|
|
14557
14703
|
}(m ||= {});
|
|
14558
14704
|
class g {
|
|
14705
|
+
static GetLogErrorEventMessageByType(e) {
|
|
14706
|
+
let t = this.GetEventMessageByType(e);
|
|
14707
|
+
if (t) return t;
|
|
14708
|
+
switch (e) {
|
|
14709
|
+
case m.LK_TASK_CREATE_FAILED: return p.message.TASK_CREATE_FAILED;
|
|
14710
|
+
case m.LK_APP_PROCESS_NOTIFI_APP_QUIT: return p.message.LK_APP_PROCESS_NOTIFI_APP_QUIT;
|
|
14711
|
+
case m.LK_STARTVRSTREAM_START_PROCESS_FAILED: return p.message.STARTVRSTREAM_START_PROCESS_FAILED;
|
|
14712
|
+
case m.LK_STARTVRSTREAM_START_DRIVER_RUNTIME_TIMEOUT: return p.message.STARTVRSTREAM_START_DRIVER_RUNTIME_TIMEOUT;
|
|
14713
|
+
case m.LK_STARTVRSTREAM_START_DRIVER_RUNTIME_UDPPORT_ERROR: return p.message.STARTVRSTREAM_START_DRIVER_RUNTIME_UDPPORT_ERROR;
|
|
14714
|
+
case m.LK_STARTVRSTREAM_START_DRIVER_RUNTIME_ENCODER_ERROR: return p.message.STARTVRSTREAM_START_DRIVER_RUNTIME_ENCODER_ERROR;
|
|
14715
|
+
case m.LK_DATA_CHANNEL_CLOSE: return p.message.DATA_CHANNEL_CLOSE;
|
|
14716
|
+
case m.LK_DATA_CHANNEL_ERROR: return p.message.DATA_CHANNEL_ERROR;
|
|
14717
|
+
default: return "";
|
|
14718
|
+
}
|
|
14719
|
+
}
|
|
14559
14720
|
static GetEventMessageByType(e) {
|
|
14560
14721
|
switch (e) {
|
|
14561
|
-
case m.LK_WEB_CLIENT_LOAD_SUCCESS: return
|
|
14722
|
+
case m.LK_WEB_CLIENT_LOAD_SUCCESS: return p.message.WEB_CLIENT_LOAD_SUCCESS;
|
|
14562
14723
|
case m.LK_RENDER_SERVER_CONNECTED: return p.message.RENDER_SERVER_CONNECTED;
|
|
14563
14724
|
case m.LK_RENDER_SERVER_FAILED: return p.message.RENDER_SERVER_FAILED;
|
|
14564
14725
|
case m.LK_RENDER_SERVER_CLOSE: return p.message.RENDER_SERVER_CLOSE;
|
|
@@ -14583,7 +14744,7 @@ var validator = {
|
|
|
14583
14744
|
case m.LK_START_STREAM_NOT_STREAMING: return p.message.startStreamNotStreaming;
|
|
14584
14745
|
case m.LK_START_STREAM_ENCODER_ERROR: return p.message.startStreamEncodeError;
|
|
14585
14746
|
case m.LK_VIDEO_LOADED: return p.message.VIDEO_LOADED;
|
|
14586
|
-
case m.LK_USER_CAPTURE_FRAME: return
|
|
14747
|
+
case m.LK_USER_CAPTURE_FRAME: return p.message.USER_CAPTURE_FRAME;
|
|
14587
14748
|
default: return "";
|
|
14588
14749
|
}
|
|
14589
14750
|
}
|
|
@@ -15048,7 +15209,7 @@ var validator = {
|
|
|
15048
15209
|
return !!(r && r.length > 0);
|
|
15049
15210
|
}
|
|
15050
15211
|
static setAudioBitrate(e, t) {
|
|
15051
|
-
return e.replace("useinbandfec=1", `useinbandfec=1; maxaveragebitrate=${t}; stereo=1; sprop-stereo=1 ; cbr=1`);
|
|
15212
|
+
return e.indexOf("maxaveragebitrate") === -1 ? e.replace("useinbandfec=1", `useinbandfec=1; maxaveragebitrate=${t}; stereo=1; sprop-stereo=1 ; cbr=1`) : e;
|
|
15052
15213
|
}
|
|
15053
15214
|
static setBitRate(e, t, n, r) {
|
|
15054
15215
|
return [
|
|
@@ -15116,14 +15277,15 @@ var validator = {
|
|
|
15116
15277
|
})), c) {
|
|
15117
15278
|
let t = RegExp("a=rtpmap:" + c + i, a);
|
|
15118
15279
|
e = e.replace(t, ((e) => (o.info("remove rtpmap", e), "")));
|
|
15280
|
+
let n = RegExp("a=rtcp-fb:" + c + i, a);
|
|
15281
|
+
e = e.replace(n, ((e) => (o.info("remove rtx rtcp-fb", e), "")));
|
|
15119
15282
|
}
|
|
15120
15283
|
let l = RegExp("a=fmtp:.*" + t + i, a);
|
|
15121
15284
|
e = e.replace(l, ((e) => (o.info("remove fmtp ", e), "")));
|
|
15122
15285
|
}
|
|
15123
15286
|
return e = e.replace(/m=video 9 UDP\/TLS\/RTP\/SAVPF.*/g, ((e) => {
|
|
15124
|
-
|
|
15125
|
-
|
|
15126
|
-
return e;
|
|
15287
|
+
let t = e.split(" "), n = t.slice(0, 3).join(" "), i = t.slice(3), a = new Set([...r, ...s]);
|
|
15288
|
+
return n + " " + i.filter(((e) => !a.has(e))).join(" ");
|
|
15127
15289
|
}));
|
|
15128
15290
|
}
|
|
15129
15291
|
static sdpGooAttrLine(...e) {
|
|
@@ -16735,7 +16897,7 @@ var validator = {
|
|
|
16735
16897
|
serverStatics: this.serverStatics
|
|
16736
16898
|
};
|
|
16737
16899
|
if (t.forEach(((t) => {
|
|
16738
|
-
if (t.type != "inbound-rtp" || t.isRemote || t.mediaType != "video" && !t.id.toLowerCase().includes("video") || (n.timestamp = t.timestamp, n.bytesReceived = t.bytesReceived, n.framesDecoded = t.framesDecoded, n.packetsLost = t.packetsLost, n.bytesReceivedStart = e.aggregatedStats && e.aggregatedStats.bytesReceivedStart ? e.aggregatedStats.bytesReceivedStart : t.bytesReceived, n.framesDecodedStart = e.aggregatedStats && e.aggregatedStats.framesDecodedStart ? e.aggregatedStats.framesDecodedStart : t.framesDecoded, n.timestampStart = e.aggregatedStats && e.aggregatedStats.timestampStart ? e.aggregatedStats.timestampStart : t.timestamp, t.totalDecodeTime && t.framesDecoded && (n.avgDecodeDelay = t.totalDecodeTime / t.framesDecoded * 1e3), t.totalProcessingDelay && t.framesDecoded && (n.avgProcessDelay = t.totalProcessingDelay / t.framesDecoded * 1e3), e.aggregatedStats && e.aggregatedStats.timestamp && (e.aggregatedStats.bytesReceived && (n.bitrate = 8 * (n.bytesReceived - e.aggregatedStats.bytesReceived) / (n.timestamp - e.aggregatedStats.timestamp), n.bitrate = Math.round(n.bitrate), n.lowBitrate = e.aggregatedStats.lowBitrate && e.aggregatedStats.lowBitrate < n.bitrate ? e.aggregatedStats.lowBitrate : n.bitrate, n.highBitrate = e.aggregatedStats.highBitrate && e.aggregatedStats.highBitrate > n.bitrate ? e.aggregatedStats.highBitrate : n.bitrate), e.aggregatedStats.bytesReceivedStart && (n.avgBitrate = 8 * (n.bytesReceived - e.aggregatedStats.bytesReceivedStart) / (n.timestamp - e.aggregatedStats.timestampStart), n.avgBitrate = Math.round(n.avgBitrate)), e.aggregatedStats.framesDecoded && (n.framerate = (n.framesDecoded - e.aggregatedStats.framesDecoded) / ((n.timestamp - e.aggregatedStats.timestamp) / 1e3), n.framerate = parseFloat(n.framerate.toFixed(2)), n.lowFramerate = e.aggregatedStats.lowFramerate && e.aggregatedStats.lowFramerate < n.framerate ? e.aggregatedStats.lowFramerate : n.framerate, n.highFramerate = e.aggregatedStats.highFramerate && e.aggregatedStats.highFramerate > n.framerate ? e.aggregatedStats.highFramerate : n.framerate), e.aggregatedStats.framesDecodedStart && (n.avgframerate = (n.framesDecoded - e.aggregatedStats.framesDecodedStart) / ((n.timestamp - e.aggregatedStats.timestampStart) / 1e3), n.avgframerate = Math.round(n.avgframerate)))), t.hasOwnProperty("frameWidth") && t.hasOwnProperty("frameHeight") && (n.framesDropped = t.framesDropped, n.framesReceived = t.framesReceived, n.framesDroppedPercentage = t.framesDropped / t.framesReceived * 100, n.frameHeight = t.frameHeight, n.frameWidth = t.frameWidth, n.frameHeightStart = e.aggregatedStats && e.aggregatedStats.frameHeightStart ? e.aggregatedStats.frameHeightStart : t.frameHeight, n.frameWidthStart = e.aggregatedStats && e.aggregatedStats.frameWidthStart ? e.aggregatedStats.frameWidthStart : t.frameWidth), t.id && t.id.indexOf("RTCInboundRTPVideoStream") > -1 && t.hasOwnProperty("packetsLost")) {
|
|
16900
|
+
if (t.type != "inbound-rtp" || t.isRemote || t.kind != "video" && t.mediaType != "video" && !t.id.toLowerCase().includes("video") || (n.timestamp = t.timestamp, n.bytesReceived = t.bytesReceived, n.framesDecoded = t.framesDecoded, n.packetsLost = t.packetsLost, n.bytesReceivedStart = e.aggregatedStats && e.aggregatedStats.bytesReceivedStart ? e.aggregatedStats.bytesReceivedStart : t.bytesReceived, n.framesDecodedStart = e.aggregatedStats && e.aggregatedStats.framesDecodedStart ? e.aggregatedStats.framesDecodedStart : t.framesDecoded, n.timestampStart = e.aggregatedStats && e.aggregatedStats.timestampStart ? e.aggregatedStats.timestampStart : t.timestamp, t.totalDecodeTime && t.framesDecoded && (n.avgDecodeDelay = t.totalDecodeTime / t.framesDecoded * 1e3), t.totalProcessingDelay && t.framesDecoded && (n.avgProcessDelay = t.totalProcessingDelay / t.framesDecoded * 1e3), o.info("video stat", n.avgDecodeDelay, n.avgProcessDelay, t.framesReceived, t.framesDecoded), e.aggregatedStats && e.aggregatedStats.timestamp && (e.aggregatedStats.bytesReceived && (n.bitrate = 8 * (n.bytesReceived - e.aggregatedStats.bytesReceived) / (n.timestamp - e.aggregatedStats.timestamp), n.bitrate = Math.round(n.bitrate), n.lowBitrate = e.aggregatedStats.lowBitrate && e.aggregatedStats.lowBitrate < n.bitrate ? e.aggregatedStats.lowBitrate : n.bitrate, n.highBitrate = e.aggregatedStats.highBitrate && e.aggregatedStats.highBitrate > n.bitrate ? e.aggregatedStats.highBitrate : n.bitrate), e.aggregatedStats.bytesReceivedStart && (n.avgBitrate = 8 * (n.bytesReceived - e.aggregatedStats.bytesReceivedStart) / (n.timestamp - e.aggregatedStats.timestampStart), n.avgBitrate = Math.round(n.avgBitrate)), e.aggregatedStats.framesDecoded && (n.framerate = (n.framesDecoded - e.aggregatedStats.framesDecoded) / ((n.timestamp - e.aggregatedStats.timestamp) / 1e3), n.framerate = parseFloat(n.framerate.toFixed(2)), n.lowFramerate = e.aggregatedStats.lowFramerate && e.aggregatedStats.lowFramerate < n.framerate ? e.aggregatedStats.lowFramerate : n.framerate, n.highFramerate = e.aggregatedStats.highFramerate && e.aggregatedStats.highFramerate > n.framerate ? e.aggregatedStats.highFramerate : n.framerate), e.aggregatedStats.framesDecodedStart && (n.avgframerate = (n.framesDecoded - e.aggregatedStats.framesDecodedStart) / ((n.timestamp - e.aggregatedStats.timestampStart) / 1e3), n.avgframerate = Math.round(n.avgframerate)))), t.hasOwnProperty("frameWidth") && t.hasOwnProperty("frameHeight") && (n.framesDropped = t.framesDropped, n.framesReceived = t.framesReceived, n.framesDroppedPercentage = t.framesDropped / t.framesReceived * 100, n.frameHeight = t.frameHeight, n.frameWidth = t.frameWidth, n.frameHeightStart = e.aggregatedStats && e.aggregatedStats.frameHeightStart ? e.aggregatedStats.frameHeightStart : t.frameHeight, n.frameWidthStart = e.aggregatedStats && e.aggregatedStats.frameWidthStart ? e.aggregatedStats.frameWidthStart : t.frameWidth), t.id && t.id.indexOf("RTCInboundRTPVideoStream") > -1 && t.hasOwnProperty("packetsLost")) {
|
|
16739
16901
|
let e = t.packetsReceived - this.lastPacktetsReceived, r = t.packetsLost - this.lastPacktetsLost, i = r / (r + e) * 100;
|
|
16740
16902
|
isNaN(i) || (n.packetsLostPerc = i), this.lastPacktetsLost = t.packetsLost, this.lastPacktetsReceived = t.packetsReceived;
|
|
16741
16903
|
}
|
|
@@ -16762,7 +16924,7 @@ var validator = {
|
|
|
16762
16924
|
decodeDelay: n.avgDecodeDelay,
|
|
16763
16925
|
totalProcessDelay: n.avgProcessDelay
|
|
16764
16926
|
} });
|
|
16765
|
-
this.sendInput(t), o.info("video stat", t, n.avgDecodeDelay, n.avgProcessDelay);
|
|
16927
|
+
this.sendInput(t), o.info("video stat webrtc", t, n.avgDecodeDelay, n.avgProcessDelay, n.framerate);
|
|
16766
16928
|
}
|
|
16767
16929
|
this.$emit(F.NET_STATE, n), this.larksr.$emit(m.LK_RTC_EVENT_PEERCONNECTION_STATE, E.deepCopy(n), "UPDATE PEERCONNECTION STATE");
|
|
16768
16930
|
}
|
|
@@ -16859,17 +17021,44 @@ var validator = {
|
|
|
16859
17021
|
} else O.openUrl && (o.info("got openUrl", O.openUrl), O.openUrl.url && this.$emit(F.OPEN_URL, O.openUrl.url));
|
|
16860
17022
|
}
|
|
16861
17023
|
onCreateOfferSuccess(e) {
|
|
16862
|
-
|
|
16863
|
-
|
|
16864
|
-
|
|
16865
|
-
|
|
16866
|
-
|
|
16867
|
-
|
|
16868
|
-
|
|
16869
|
-
|
|
17024
|
+
var t;
|
|
17025
|
+
let n = e;
|
|
17026
|
+
o.info("创建 Off 成功\n" + n.sdp);
|
|
17027
|
+
let r = n.sdp;
|
|
17028
|
+
if (this.pc === null || r == null) return;
|
|
17029
|
+
this.larksr.isPixelStreaming ? (r = r.replace("useinbandfec=1", "useinbandfec=1;stereo=1;sprop-maxcapturerate=48000"), r = r.replace(/a=extmap-allow-mixed.*[.\n\r]*/g, ((e) => (o.info("remove a=extmap-allow-mixed", e), "")))) : (this.larksr.params.preferDecoder !== "auto" && C.checkSupport() !== -2 && (this.larksr.params.preferDecoder === "vp8" ? D.hasVp8(r) ? (r = D.removeVp9(r), r = D.removeH264(r), r = D.removeAV1(r)) : o.err("要求使用VP8解码器但该浏览器未发现") : this.larksr.params.preferDecoder === "vp9" ? D.hasVp9(r) ? (r = D.removeVp8(r), r = D.removeH264(r), r = D.removeAV1(r)) : o.err("要求使用VP9解码器但该浏览器未发现") : this.larksr.params.preferDecoder === "h264" ? D.hasH264(r) ? (r = D.removeVp8(r), r = D.removeVp9(r), r = D.removeAV1(r)) : o.err("要求使用H264解码器但该浏览器未发现") : this.larksr.params.preferDecoder === "av1" || this.larksr.params.preferDecoder === "av1x" ? (D.hasAV1X(r) && (r = D.removeVp8(r), r = D.removeVp9(r), r = D.removeH264(r), r = D.removeH265(r), r = D.removeHEVC(r)), D.hasAV1(r) && (r = D.removeVp8(r), r = D.removeVp9(r), r = D.removeH264(r), r = D.removeH265(r), r = D.removeHEVC(r))) : this.larksr.params.preferDecoder === "hevc" ? D.hasHEVC(r) ? (r = D.removeVp8(r), r = D.removeVp9(r), r = D.removeH264(r), r = D.removeAV1(r), r = D.removeH265(r), r = D.removeSVAC(r)) : o.err("要求使用hevc解码器但该浏览器未发现") : this.larksr.params.preferDecoder === "h265" ? D.hasH265(r) ? (r = D.removeVp8(r), r = D.removeVp9(r), r = D.removeH264(r), r = D.removeAV1(r), r = D.removeHEVC(r), r = D.removeSVAC(r)) : o.err("要求使用h265解码器但该浏览器未发现") : this.larksr.params.preferDecoder === "svac" && (D.hasSVAC(r) ? (r = D.removeVp8(r), r = D.removeVp9(r), r = D.removeH264(r), r = D.removeAV1(r), r = D.removeH265(r), r = D.removeHEVC(r)) : o.err("要求使用svac解码器但该浏览器未发现"))), r = r.replace(/a=extmap-allow-mixed.*[.\n\r]*/g, ((e) => (o.info("remove a=extmap-allow-mixed", e), ""))), this.config.codeRate && this.config.codeRate > 1e3 && this.sdpCreateSuccess && o.warn("recreate sdp.", this.audioBinding, this.videoBinding), this.larksr.params.audioCodeRate && (r = D.setAudioBitrate(r, 1e3 * this.larksr.params.audioCodeRate)));
|
|
17030
|
+
let i = {
|
|
17031
|
+
type: n.type,
|
|
17032
|
+
sdp: r
|
|
16870
17033
|
};
|
|
16871
|
-
o.info("发送 offer sdp\n" +
|
|
16872
|
-
|
|
17034
|
+
if (o.info("发送 offer sdp\n" + i.sdp), i.sdp) {
|
|
17035
|
+
let e = i.sdp.split("\r\n"), t = "";
|
|
17036
|
+
for (let n = 0; n < e.length; n++) {
|
|
17037
|
+
let r = e[n];
|
|
17038
|
+
if (r.startsWith("m=")) {
|
|
17039
|
+
t = r;
|
|
17040
|
+
let e = r.split(" ");
|
|
17041
|
+
if (e.length >= 4) {
|
|
17042
|
+
let n = e.slice(3);
|
|
17043
|
+
for (let e of n) /^\d+$/.test(e) && (RegExp(`^a=rtpmap:${e}\\s`, "m").test(i.sdp || "") || o.err("SDP 校验失败: m-line \"" + t + "\" 中 PT " + e + " 缺少对应 a=rtpmap:"));
|
|
17044
|
+
}
|
|
17045
|
+
}
|
|
17046
|
+
let a = r.match(/^a=fmtp:(\d+)\s/);
|
|
17047
|
+
if (a) {
|
|
17048
|
+
let e = a[1];
|
|
17049
|
+
RegExp(`^a=rtpmap:${e}\\s`, "m").test(i.sdp || "") || o.warn("SDP 存在 fmtp:" + e + " 但缺少对应 a=rtpmap:" + e + " (可能已被移除)");
|
|
17050
|
+
}
|
|
17051
|
+
}
|
|
17052
|
+
let n = i.sdp.match(/^a=rtcp-fb:(\d+)/gm);
|
|
17053
|
+
if (n) for (let e of n) {
|
|
17054
|
+
let t = e.match(/^a=rtcp-fb:(\d+)/)?.[1];
|
|
17055
|
+
t && (RegExp(`^a=rtpmap:${t}\\s`, "m").test(i.sdp || "") || o.warn("SDP 存在 a=rtcp-fb:" + t + " 但缺少对应 a=rtpmap:" + t));
|
|
17056
|
+
}
|
|
17057
|
+
let r = i.sdp.match(/^a=fmtp:111 .*/m);
|
|
17058
|
+
r && o.info("音频 fmtp:111 行: " + r[0]);
|
|
17059
|
+
}
|
|
17060
|
+
this.pc.setLocalDescription(i).then((() => {
|
|
17061
|
+
o.info("设置本地 SDP 成功"), this.sdpCreateSuccess = !0, this.$emit(F.RTC_SDP, i);
|
|
16873
17062
|
})).catch(((e) => {
|
|
16874
17063
|
o.err("设置本地SDP失败: " + e.toString()), this.sdpCreateSuccess = !1, this.$emit(F.ERROR, "Failed to set session description: " + e.toString());
|
|
16875
17064
|
}));
|
|
@@ -17171,38 +17360,69 @@ var validator = {
|
|
|
17171
17360
|
return ++this._voiceId;
|
|
17172
17361
|
}
|
|
17173
17362
|
constructor({ bufferSize: e = lt.bufferSize, sampleRate: t = lt.sampleRate, sampleBits: n = lt.sampleBits } = lt) {
|
|
17174
|
-
super(), this._state = ct.READY, this.ctx = new (window.AudioContext || window.webkitAudioContext)(), this.sampleRate = lt.sampleRate, this.sampleBits = lt.sampleBits, this.source = null, this.stream = null, this.buffer = [], this.bufferSize = 0, this._voiceId = 0;
|
|
17175
|
-
|
|
17176
|
-
|
|
17177
|
-
|
|
17178
|
-
|
|
17179
|
-
|
|
17180
|
-
|
|
17181
|
-
|
|
17182
|
-
|
|
17183
|
-
|
|
17184
|
-
|
|
17185
|
-
this.stream = t, this.source = n;
|
|
17186
|
-
let r = 0;
|
|
17187
|
-
this.recorder.onaudioprocess = (e) => {
|
|
17188
|
-
let t = e.inputBuffer.getChannelData(0), n = this.ctx.sampleRate, i = this.sampleRate < n, a = i ? this.sampleRate : n;
|
|
17189
|
-
i && (t = this.compress(t, n, a));
|
|
17190
|
-
let o = this.encodeToPCM(t, this.sampleBits);
|
|
17191
|
-
this.emit({
|
|
17192
|
-
type: ut.DATA,
|
|
17193
|
-
voiceId: this.voiceId,
|
|
17194
|
-
sliceId: r++,
|
|
17195
|
-
data: new Uint8Array(o)
|
|
17196
|
-
});
|
|
17197
|
-
}, n.connect(this.recorder), this.recorder.connect(this.ctx.destination), this._state = ct.RECORDING, this._voiceId++, e(this._voiceId);
|
|
17198
|
-
})).catch(((e) => {
|
|
17199
|
-
t(e);
|
|
17200
|
-
}));
|
|
17201
|
-
}));
|
|
17363
|
+
super(), this._state = ct.READY, this.ctx = new (window.AudioContext || window.webkitAudioContext)(), this.sampleRate = lt.sampleRate, this.sampleBits = lt.sampleBits, this.recorder = null, this.legacyRecorder = null, this.workletNode = null, this.source = null, this.stream = null, this.buffer = [], this.bufferSize = 0, this.pendingSamples = [], this.pendingSampleLength = 0, this.sliceId = 0, this._voiceId = 0, this.bufferSize = e, this.sampleRate = t, this.sampleBits = n;
|
|
17364
|
+
}
|
|
17365
|
+
async start() {
|
|
17366
|
+
await this.ctx.resume();
|
|
17367
|
+
let e = await navigator.mediaDevices.getUserMedia({
|
|
17368
|
+
audio: !0,
|
|
17369
|
+
video: !1
|
|
17370
|
+
}), t = this.ctx.createMediaStreamSource(e);
|
|
17371
|
+
this.stream = e, this.source = t, this.pendingSamples = [], this.pendingSampleLength = 0, this.sliceId = 0;
|
|
17372
|
+
let n = await this.createAudioProcessor();
|
|
17373
|
+
return this.recorder = n, t.connect(n), n.connect(this.ctx.destination), this._voiceId++, this._state = ct.RECORDING, this._voiceId;
|
|
17202
17374
|
}
|
|
17203
17375
|
pause() {
|
|
17204
|
-
var e, t;
|
|
17205
|
-
(e = this.stream) == null || e.getAudioTracks()[0].stop(), this.recorder.disconnect(), (
|
|
17376
|
+
var e, t, n, r;
|
|
17377
|
+
(e = this.stream) == null || e.getAudioTracks()[0].stop(), this.legacyRecorder && (this.legacyRecorder.onaudioprocess = null), (t = this.workletNode) == null || t.port.close(), (n = this.recorder) == null || n.disconnect(), (r = this.source) == null || r.disconnect(), this.ctx.suspend(), this.recorder = null, this.legacyRecorder = null, this.workletNode = null, this.pendingSamples = [], this.pendingSampleLength = 0, this._state = ct.READY;
|
|
17378
|
+
}
|
|
17379
|
+
async createAudioProcessor() {
|
|
17380
|
+
let e = window.AudioWorkletNode;
|
|
17381
|
+
if (this.ctx.audioWorklet && e) try {
|
|
17382
|
+
let t = URL.createObjectURL(new Blob(["\n class LarkSrPcmCaptureProcessor extends AudioWorkletProcessor {\n process(inputs, outputs) {\n const input = inputs[0];\n const channel = input && input[0];\n if (channel) {\n const samples = channel.slice();\n this.port.postMessage(samples.buffer, [samples.buffer]);\n }\n\n const output = outputs[0];\n if (output) {\n output.forEach((channel) => channel.fill(0));\n }\n return true;\n }\n }\n registerProcessor('larksr-pcm-capture', LarkSrPcmCaptureProcessor);\n "], { type: "application/javascript" }));
|
|
17383
|
+
try {
|
|
17384
|
+
await this.ctx.audioWorklet.addModule(t);
|
|
17385
|
+
} finally {
|
|
17386
|
+
URL.revokeObjectURL(t);
|
|
17387
|
+
}
|
|
17388
|
+
let n = new e(this.ctx, "larksr-pcm-capture", {
|
|
17389
|
+
numberOfInputs: 1,
|
|
17390
|
+
numberOfOutputs: 1,
|
|
17391
|
+
channelCount: 1,
|
|
17392
|
+
channelCountMode: "explicit",
|
|
17393
|
+
outputChannelCount: [1]
|
|
17394
|
+
});
|
|
17395
|
+
return n.port.onmessage = (e) => {
|
|
17396
|
+
e.data instanceof ArrayBuffer && this.appendAudioSamples(new Float32Array(e.data));
|
|
17397
|
+
}, this.workletNode = n, n;
|
|
17398
|
+
} catch (e) {
|
|
17399
|
+
o.warn("AudioWorklet is unavailable, falling back to ScriptProcessorNode", e);
|
|
17400
|
+
}
|
|
17401
|
+
let t = this.ctx.createScriptProcessor || this.ctx.createJavaScriptNode;
|
|
17402
|
+
if (!t) throw Error("Audio processing is not implemented in this environment");
|
|
17403
|
+
let n = t.call(this.ctx, this.bufferSize, 1, 1);
|
|
17404
|
+
return n.onaudioprocess = (e) => {
|
|
17405
|
+
this.appendAudioSamples(e.inputBuffer.getChannelData(0));
|
|
17406
|
+
}, this.legacyRecorder = n, n;
|
|
17407
|
+
}
|
|
17408
|
+
appendAudioSamples(e) {
|
|
17409
|
+
if (this._state === ct.RECORDING) for (this.pendingSamples.push(e.slice()), this.pendingSampleLength += e.length; this.pendingSampleLength >= this.bufferSize;) {
|
|
17410
|
+
let e = new Float32Array(this.bufferSize), t = 0;
|
|
17411
|
+
for (; t < e.length;) {
|
|
17412
|
+
let n = this.pendingSamples[0], r = Math.min(e.length - t, n.length);
|
|
17413
|
+
e.set(n.subarray(0, r), t), t += r, this.pendingSampleLength -= r, r === n.length ? this.pendingSamples.shift() : this.pendingSamples[0] = n.subarray(r);
|
|
17414
|
+
}
|
|
17415
|
+
this.processAudioChunk(e);
|
|
17416
|
+
}
|
|
17417
|
+
}
|
|
17418
|
+
processAudioChunk(e) {
|
|
17419
|
+
let t = this.ctx.sampleRate, n = this.sampleRate < t, r = n ? this.sampleRate : t, i = n ? this.compress(e, t, r) : e, a = this.encodeToPCM(i, this.sampleBits);
|
|
17420
|
+
this.emit({
|
|
17421
|
+
type: ut.DATA,
|
|
17422
|
+
voiceId: this.voiceId,
|
|
17423
|
+
sliceId: this.sliceId++,
|
|
17424
|
+
data: new Uint8Array(a)
|
|
17425
|
+
});
|
|
17206
17426
|
}
|
|
17207
17427
|
clear() {
|
|
17208
17428
|
this.buffer = [], this.bufferSize = 0;
|
|
@@ -17956,9 +18176,10 @@ var validator = {
|
|
|
17956
18176
|
o.info("sendReStartApplication"), this.sendInput(c.CloudLark.ClientInput.create({ appControl: { restart: !0 } }), !0);
|
|
17957
18177
|
}
|
|
17958
18178
|
sendApplicationSize(e, t) {
|
|
17959
|
-
o.info("sendApplicationSize", e, t), this.sendInput(c.CloudLark.ClientInput.create({ appControl: { resize: {
|
|
18179
|
+
o.info("sendApplicationSize", e, t, window.devicePixelRatio), this.sendInput(c.CloudLark.ClientInput.create({ appControl: { resize: {
|
|
17960
18180
|
width: e,
|
|
17961
|
-
height: t
|
|
18181
|
+
height: t,
|
|
18182
|
+
devicePixelRatio: window.devicePixelRatio
|
|
17962
18183
|
} } }), !0);
|
|
17963
18184
|
}
|
|
17964
18185
|
startAerialview(e, t = 100, n, r) {
|
|
@@ -18105,7 +18326,10 @@ var validator = {
|
|
|
18105
18326
|
height: this.larksr.screenState.syncClientViewport.height,
|
|
18106
18327
|
fps: this.larksr.params.frameRate,
|
|
18107
18328
|
bitrateKbps: this.larksr.params.codeRate,
|
|
18108
|
-
useWebcodec: e && this.larksr.params.useWebCodec
|
|
18329
|
+
useWebcodec: e && this.larksr.params.useWebCodec,
|
|
18330
|
+
maxWidth: window.screen.width,
|
|
18331
|
+
maxHeight: window.screen.height,
|
|
18332
|
+
devicePixelRatio: window.devicePixelRatio
|
|
18109
18333
|
}, this.larksr.isPixelStreaming));
|
|
18110
18334
|
}
|
|
18111
18335
|
}
|
|
@@ -18573,7 +18797,7 @@ var validator = {
|
|
|
18573
18797
|
})(vt ||= {});
|
|
18574
18798
|
class yt {
|
|
18575
18799
|
constructor() {
|
|
18576
|
-
this.appServer = "", this.appPort = "", this.renderSSLServerPort = "", this.appliType = vt.SHARED, this.wsProxy = !1, this.preferPubOutIp = "", this.taskid = "", this.appliName = "", this.width = x.OriginW, this.height = x.OriginH, this.scaleMode = b.CONTAIN_APP, this.logLevel = "warn", this.noOperationTimeout = 0, this.waterMark = !1, this.rttLimit = 60, this.packetLostLimit = 20, this.rttLimitInterval = 20, this.codeRate = x.CodeRate, this.audioCodeRate = x.AudioCodeRate, this.frameRate = x.FrameRate, this.network = "public", this.language = "", this.initCursorMode = 0, this.bgColor = "", this.fullScreenMode = 0, this.mobileFullScreenMode = 0, this.playerMode = 0, this.userType = 1, this.nickname = "", this.authCode = "", this.debugTask = !1, this.debugWebServer = "", this.loadingTimeout = 300, this.shareUrl = !1, this.mobileForceLandscape = !0, this.mobileVirtualJoystick = !0, this.mouseZoomDirection = 0, this.showPlayerList = !0, this.preferDecoder = "h264", this.touchOperateMode = "mouse", this.appliId = "", this.syncLocalToCloudClipboard = !0, this.enableRttIcon = !0, this.enableSoundRequire = !0, this.toastLevel = 0, this.wsId = "", this.groupId = "", this.textInputEventPrompt = !0, this.audioInput = !1, this.audioInputAutoStart = !1, this.videoInput = !1, this.videoInputAutoStart = !1, this.liveStreaming = !1, this.useSeparateMediaSharePeer = !0, this.mobileKeyboardType = 0, this.initResolutionType = 0, this.useWebCodec = !1, this.mobileWebMenuType = 0, this.showWebMenu = 1, this.forceResolution = !1, this.ignoreCloudDesktopResolution = !0, this.ignoreScreenOrientation = !0, this.imeFirstNotice = 1;
|
|
18800
|
+
this.appServer = "", this.appPort = "", this.renderSSLServerPort = "", this.appliType = vt.SHARED, this.wsProxy = !1, this.preferPubOutIp = "", this.taskid = "", this.appliName = "", this.width = x.OriginW, this.height = x.OriginH, this.scaleMode = b.CONTAIN_APP, this.logLevel = "warn", this.noOperationTimeout = 0, this.waterMark = !1, this.rttLimit = 60, this.packetLostLimit = 20, this.rttLimitInterval = 20, this.codeRate = x.CodeRate, this.audioCodeRate = x.AudioCodeRate, this.frameRate = x.FrameRate, this.network = "public", this.language = "", this.initCursorMode = 0, this.bgColor = "", this.fullScreenMode = 0, this.mobileFullScreenMode = 0, this.playerMode = 0, this.userType = 1, this.nickname = "", this.authCode = "", this.debugTask = !1, this.debugWebServer = "", this.loadingTimeout = 300, this.shareUrl = !1, this.mobileForceLandscape = !0, this.mobileVirtualJoystick = !0, this.mouseZoomDirection = 0, this.showPlayerList = !0, this.preferDecoder = "h264", this.touchOperateMode = "mouse", this.appliId = "", this.syncLocalToCloudClipboard = !0, this.enableRttIcon = !0, this.enableSoundRequire = !0, this.toastLevel = 0, this.wsId = "", this.groupId = "", this.textInputEventPrompt = !0, this.audioInput = !1, this.audioInputAutoStart = !1, this.videoInput = !1, this.videoInputAutoStart = !1, this.liveStreaming = !1, this.useSeparateMediaSharePeer = !0, this.mobileKeyboardType = 0, this.initResolutionType = 0, this.useWebCodec = !1, this.mobileWebMenuType = 0, this.showWebMenu = 1, this.showWebCloseBtn = 0, this.forceResolution = !1, this.ignoreCloudDesktopResolution = !0, this.ignoreScreenOrientation = !0, this.imeFirstNotice = 1, this.taskCloseType = 0;
|
|
18577
18801
|
}
|
|
18578
18802
|
get taskId() {
|
|
18579
18803
|
return this.taskid;
|
|
@@ -18637,7 +18861,7 @@ var validator = {
|
|
|
18637
18861
|
let t = new yt();
|
|
18638
18862
|
t.appServer = e.renderServerIp, t.appPort = e.renderServerPort + "", t.renderSSLServerPort = e.renderSSLServerPort ? e.renderSSLServerPort + "" : "", t.taskid = e.taskId, t.scaleMode = B.getScaleMode(e.initWinSize), t.network = B.getNetwork(parseInt(e.network, 10)), t.preferPubOutIp = e.preferPublicIp, t.noOperationTimeout = B.getIntOption(e.noOperationTimeout, 0), t.rttLimit = B.getIntOption(e.rttLimit, 60), t.rttLimitInterval = B.getIntOption(e.rttLimitInterval, 20), t.wsProxy = B.getNumberBoolOption(e.wsProxy), t.initCursorMode = e.initCursorMode, t.bgColor = B.getBgColor(e.bgColor), t.fullScreenMode = e.fullScreenMode, t.mobileFullScreenMode = e.mobileFullScreenMode, t.playerMode = B.getIntOption(e.playerMode + "", 0), t.userType = B.getIntOption(e.userType + "", 1), e.nickName && (t.nickname = B.getStringOption(e.nickName)), e.nickname && (t.nickname = B.getStringOption(e.nickname)), t.authCode = B.getStringOption(e.authCode, ""), t.mobileForceLandscape = B.getNumberBoolOption(e.mobileForceLandscape), t.mobileVirtualJoystick = B.getNumberBoolOption(e.mobileVirtualJoystick), t.mouseZoomDirection = e.mouseZoomDirection, t.showPlayerList = B.getNumberBoolOption(e.playerListToggle);
|
|
18639
18863
|
let n = B.getStringOption(e.touchOperateMode, "mouse");
|
|
18640
|
-
if (t.touchOperateMode = n === "touch" || n === "touchScreen" ? "touchScreen" : "mouse", t.appliId = e.appliId, t.language = e.language, t.appliType = e.appliType, t.appliName = decodeURI(e.appliName), t.wsId = e.wsId ? e.wsId : "", t.groupId = e.groupId ? e.groupId : "", t.initResolutionType = B.getIntOption(e.initResolutionType, 0), t.useWebCodec = B.getNumberBoolOption(e.useWebCodec), t.preferDecoder = B.getStringOption(e.preferDecoder, "h264"), t.mobileWebMenuType = B.getIntOption(e.mobileWebMenuType, 0), t.showWebMenu = B.getIntOption(e.showWebMenu, 1), t.shareUrl = B.getBoolOption(e.shareUrl), t.textInputEventPrompt = B.getNumberBoolOption(e.textInputEventPrompt, !0), t.audioInput = B.getNumberBoolOption(e.audioInput, !1), t.audioInputAutoStart !== null && t.audioInputAutoStart !== void 0) {
|
|
18864
|
+
if (t.touchOperateMode = n === "touch" || n === "touchScreen" ? "touchScreen" : "mouse", t.appliId = e.appliId, t.language = e.language, t.appliType = e.appliType, t.appliName = decodeURI(e.appliName), t.wsId = e.wsId ? e.wsId : "", t.groupId = e.groupId ? e.groupId : "", t.initResolutionType = B.getIntOption(e.initResolutionType, 0), t.useWebCodec = B.getNumberBoolOption(e.useWebCodec), t.preferDecoder = B.getStringOption(e.preferDecoder, "h264"), t.mobileWebMenuType = B.getIntOption(e.mobileWebMenuType, 0), t.showWebMenu = B.getIntOption(e.showWebMenu, 1), t.showWebCloseBtn = B.getIntOption(e.showWebCloseBtn, 0), t.shareUrl = B.getBoolOption(e.shareUrl), t.textInputEventPrompt = B.getNumberBoolOption(e.textInputEventPrompt, !0), t.audioInput = B.getNumberBoolOption(e.audioInput, !1), t.audioInputAutoStart !== null && t.audioInputAutoStart !== void 0) {
|
|
18641
18865
|
let n = B.getNumberBoolOption(e.audioInputAutoStart, !1);
|
|
18642
18866
|
t.audioInputAutoStart = t.audioInput && n;
|
|
18643
18867
|
}
|
|
@@ -21630,21 +21854,21 @@ var validator = {
|
|
|
21630
21854
|
en(e, "svelte-1we6aa5", "@charset \"UTF-8\";.pxy-render.pxy-render-release.svelte-1we6aa5.svelte-1we6aa5{margin:0;padding:0}.pxy-render.pxy-render-release.svelte-1we6aa5 video.svelte-1we6aa5{transition:none}.pxy-render.pxy-render-release.svelte-1we6aa5 .showVideo.svelte-1we6aa5{position:relative;object-fit:fill;width:100%;min-height:100%}.pxy-render.pxy-render-release.svelte-1we6aa5 .hiddenVideo.svelte-1we6aa5{position:absolute;z-index:-9999;top:-9999px;left:-9999px;object-fit:fill}.pxy-render.pxy-render-release.svelte-1we6aa5 .hiddenRenderCanvas.svelte-1we6aa5{position:absolute;z-index:-9999;top:-9999px;left:-9999px}.pxy-render.pxy-render-release.svelte-1we6aa5 .showRenderCanvas.svelte-1we6aa5{position:relative;object-fit:fill}.pxy-render.pxy-render-release.svelte-1we6aa5 .audio.svelte-1we6aa5{position:absolute;z-index:-9999;top:-9999px;left:-9999px}");
|
|
21631
21855
|
}
|
|
21632
21856
|
function ar(e) {
|
|
21633
|
-
let t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D;
|
|
21857
|
+
let t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D, O;
|
|
21634
21858
|
return {
|
|
21635
21859
|
c() {
|
|
21636
|
-
t = q("div"), n = q("video"),
|
|
21860
|
+
t = q("div"), n = q("video"), l = J(), u = q("canvas"), h = J(), g = q("canvas"), x = J(), S = q("audio"), Y(n, "class", r = Xt(e[2] ? "hiddenVideo" : "showVideo") + " svelte-1we6aa5"), Y(n, "width", i = e[0].container.width + "px"), Y(n, "height", a = e[0].container.height + "px"), n.autoplay = e[1], n.playsInline = !0, Y(n, "disablepictureinpicture", !0), Y(n, "webkit-playsinline", !0), Y(n, "preload", "auto"), Y(n, "x5-video-player-type", "h5"), Y(n, "x5-video-player-fullscreen", "true"), Y(n, "x5-video-orientation", "portrait"), Y(u, "class", d = Xt(e[2] && e[3] ? "showRenderCanvas" : "hiddenRenderCanvas") + " svelte-1we6aa5"), Y(u, "style", f = "width:" + e[0].container.width + "px; height:" + e[0].container.height + "px"), Y(u, "width", p = e[10](e[0]) + "px"), Y(u, "height", m = e[11](e[0]) + "px"), Y(g, "class", _ = Xt(e[2] && !e[3] ? "showRenderCanvas" : "hiddenRenderCanvas") + " svelte-1we6aa5"), Y(g, "style", v = "width:" + e[0].container.width + "px; height:" + e[0].container.height + "px"), Y(g, "width", y = e[10](e[0]) + "px"), Y(g, "height", b = e[11](e[0]) + "px"), Y(S, "class", "audio svelte-1we6aa5"), S.controls = !1, S.autoplay = !0, Y(t, "class", "pxy-render pxy-render-release svelte-1we6aa5"), Y(t, "width", T = e[0].container.width + "px"), Y(t, "height", E = e[0].container.height + "px");
|
|
21637
21861
|
},
|
|
21638
21862
|
m(r, i) {
|
|
21639
|
-
G(r, t, i), W(t, n), e[30](n), W(t,
|
|
21863
|
+
G(r, t, i), W(t, n), e[30](n), W(t, l), W(t, u), e[31](u), W(t, h), W(t, g), e[32](g), W(t, x), W(t, S), e[33](S), D ||= (O = [on(n, "loadedmetadata", e[8]), on(S, "loadedmetadata", e[9])], !0);
|
|
21640
21864
|
},
|
|
21641
21865
|
p(e, o) {
|
|
21642
|
-
4 & o[0] && r !== (r = Xt(e[2] ? "hiddenVideo" : "showVideo") + " svelte-1we6aa5") && Y(n, "class", r), 1 & o[0] && i !== (i = e[0].container.width + "px") && Y(n, "width", i), 1 & o[0] && a !== (a = e[0].container.height + "px") && Y(n, "height", a), 2 & o[0] && (n.autoplay = e[1]), 12 & o[0] &&
|
|
21866
|
+
4 & o[0] && r !== (r = Xt(e[2] ? "hiddenVideo" : "showVideo") + " svelte-1we6aa5") && Y(n, "class", r), 1 & o[0] && i !== (i = e[0].container.width + "px") && Y(n, "width", i), 1 & o[0] && a !== (a = e[0].container.height + "px") && Y(n, "height", a), 2 & o[0] && (n.autoplay = e[1]), 12 & o[0] && d !== (d = Xt(e[2] && e[3] ? "showRenderCanvas" : "hiddenRenderCanvas") + " svelte-1we6aa5") && Y(u, "class", d), 1 & o[0] && f !== (f = "width:" + e[0].container.width + "px; height:" + e[0].container.height + "px") && Y(u, "style", f), 1 & o[0] && p !== (p = e[10](e[0]) + "px") && Y(u, "width", p), 1 & o[0] && m !== (m = e[11](e[0]) + "px") && Y(u, "height", m), 12 & o[0] && _ !== (_ = Xt(e[2] && !e[3] ? "showRenderCanvas" : "hiddenRenderCanvas") + " svelte-1we6aa5") && Y(g, "class", _), 1 & o[0] && v !== (v = "width:" + e[0].container.width + "px; height:" + e[0].container.height + "px") && Y(g, "style", v), 1 & o[0] && y !== (y = e[10](e[0]) + "px") && Y(g, "width", y), 1 & o[0] && b !== (b = e[11](e[0]) + "px") && Y(g, "height", b), 1 & o[0] && T !== (T = e[0].container.width + "px") && Y(t, "width", T), 1 & o[0] && E !== (E = e[0].container.height + "px") && Y(t, "height", E);
|
|
21643
21867
|
},
|
|
21644
21868
|
i: Vt,
|
|
21645
21869
|
o: Vt,
|
|
21646
21870
|
d(n) {
|
|
21647
|
-
n && K(t), e[30](null), e[31](null), e[32](null), e[33](null),
|
|
21871
|
+
n && K(t), e[30](null), e[31](null), e[32](null), e[33](null), D = !1, Wt(O);
|
|
21648
21872
|
}
|
|
21649
21873
|
};
|
|
21650
21874
|
}
|
|
@@ -23106,7 +23330,7 @@ var validator = {
|
|
|
23106
23330
|
})), this._lockPointer = new Bt(document.documentElement), this._lockPointer.on(2, ((e) => {
|
|
23107
23331
|
o.warn("lock point not support on this platform switch to unlock mode"), this.initCursorMode = 2, this.$emitInfo(p.ui.LOCK_POINTER_FAILED);
|
|
23108
23332
|
})), this._lockPointer.on(3, ((e) => {
|
|
23109
|
-
o.warn("lock point not support on this platform switch to unlock mode. please check https."), this
|
|
23333
|
+
o.warn("lock point not support on this platform switch to unlock mode. please check https."), this.$emitInfo(p.ui.LOCK_POINTER_FAILED_SECURITY_ERROR);
|
|
23110
23334
|
})), e.handleRootElementSize != null && e.handleRootElementSize != 1 || function() {
|
|
23111
23335
|
let e = document.getElementsByTagName("html")[0];
|
|
23112
23336
|
e && e.style && (e.style.margin = "0", e.style.padding = "0", e.style.overflow = "hidden", e.style.width = "100%", e.style.height = "100%");
|
|
@@ -23151,8 +23375,8 @@ var validator = {
|
|
|
23151
23375
|
this._config.serverAddress = t.origin, this._view.$set({ serverAddress: this._config.serverAddress }), await this.connect(Object.assign(Object.assign({}, e), t.params));
|
|
23152
23376
|
}
|
|
23153
23377
|
async connect(e) {
|
|
23154
|
-
if (!this._config.authCode) throw o.err(
|
|
23155
|
-
if (!this._config.serverAddress && !this._config.proxyBasePath) throw Error(
|
|
23378
|
+
if (!this._config.authCode) throw o.err(p.message.AUTHCODE_VERIFICATION_FAILED), Error(p.message.AUTHCODE_VERIFICATION_FAILED);
|
|
23379
|
+
if (!this._config.serverAddress && !this._config.proxyBasePath) throw Error(p.message.SERVER_ADDRESS_NOT_SET);
|
|
23156
23380
|
try {
|
|
23157
23381
|
let t = await V.GetStartInfo(V.GetUrl(this._config), Object.assign({ sdkId: this._config.authCode }, e));
|
|
23158
23382
|
this.waitQueue && this._view.loadingStateMsg && this._view.$set({ loadingStateMsg: "" }), this.setAppliParams(bt(t)), this.emit({
|
|
@@ -23487,7 +23711,7 @@ var validator = {
|
|
|
23487
23711
|
}
|
|
23488
23712
|
$emit(e, t = "", n = "") {
|
|
23489
23713
|
for (let t of wt) if (t == e) {
|
|
23490
|
-
V.LogError(e,
|
|
23714
|
+
V.LogError(e, g.GetLogErrorEventMessageByType(e) + ". ErrCode=" + e, "appliId=" + this.params.appliId + "&taskId=" + this.params.taskid, this.config);
|
|
23491
23715
|
break;
|
|
23492
23716
|
}
|
|
23493
23717
|
this.emit(this.createEvent(e, t, n)), this.postMsg(e, t, n);
|
|
@@ -23656,12 +23880,12 @@ var validator = {
|
|
|
23656
23880
|
let t = B.getNumberBoolOption(e.videoInputAutoStart, !1), n = this._config.videoInputAutoStart == null ? t : this._config.videoInputAutoStart;
|
|
23657
23881
|
this._params.videoInputAutoStart = this._params.videoInput && n;
|
|
23658
23882
|
}
|
|
23659
|
-
e.liveStreaming !== null && e.liveStreaming !== void 0 && (this._params.liveStreaming = B.getNumberBoolOption(e.liveStreaming, !1)), e.mobileKeyboardType !== null && e.mobileKeyboardType !== void 0 && (this._params.mobileKeyboardType = e.mobileKeyboardType == null ? 0 : e.mobileKeyboardType), e.imeFirstNotice !== null && e.imeFirstNotice !== void 0 && (this._params.imeFirstNotice = e.imeFirstNotice == null ? 1 : e.imeFirstNotice), this.startProcess();
|
|
23883
|
+
e.liveStreaming !== null && e.liveStreaming !== void 0 && (this._params.liveStreaming = B.getNumberBoolOption(e.liveStreaming, !1)), e.mobileKeyboardType !== null && e.mobileKeyboardType !== void 0 && (this._params.mobileKeyboardType = e.mobileKeyboardType == null ? 0 : e.mobileKeyboardType), e.imeFirstNotice !== null && e.imeFirstNotice !== void 0 && (this._params.imeFirstNotice = e.imeFirstNotice == null ? 1 : e.imeFirstNotice), e.taskCloseType !== null && e.taskCloseType !== void 0 && (this._params.taskCloseType = e.taskCloseType == null ? 0 : e.taskCloseType), this.startProcess();
|
|
23660
23884
|
} else o.info("task 同步中,重新获取", e.status), this._view.$set({ syncApp: !0 }), window.setTimeout((() => {
|
|
23661
23885
|
this.taskProcess();
|
|
23662
23886
|
}), 1500);
|
|
23663
23887
|
} catch (e) {
|
|
23664
|
-
this._view.$set({ syncApp: !1 }), this.$emitError(
|
|
23888
|
+
this._view.$set({ syncApp: !1 }), this.$emitError(p.message.GET_TASKINFO_FAIL + JSON.stringify(e));
|
|
23665
23889
|
}
|
|
23666
23890
|
}
|
|
23667
23891
|
startProcess() {
|
|
@@ -23755,7 +23979,7 @@ var validator = {
|
|
|
23755
23979
|
};
|
|
23756
23980
|
if (t.isCurrent) {
|
|
23757
23981
|
if (this.userType != t.userType) {
|
|
23758
|
-
let e = t.userType == mi.Player ?
|
|
23982
|
+
let e = t.userType == mi.Player ? p.ui.OBTAIN_OPERATION_PERMISSION : p.ui.LOUSE_OPERATION_PERMISSION;
|
|
23759
23983
|
this.$emitInfo(e), this.lockPointer.isLockPointer && t.userType != mi.Player && this.lockPointer.exitPointerLock();
|
|
23760
23984
|
}
|
|
23761
23985
|
this.params.userType = t.userType, this._uid = t.userId, this._isTaskOwner = t.isTaskOwner, this._op.resetAppMouseLockState(), this._view.$set({ appParams: this._params }), this.screenState.resize(), o.info("upate current player ", t, this.userType, this.params.userType);
|
|
@@ -23876,10 +24100,12 @@ var validator = {
|
|
|
23876
24100
|
useWebCodec: B.getNumberBoolOption(E.queryString("useWebCodec"), !1),
|
|
23877
24101
|
mobileWebMenuType: B.getIntOption(E.queryString("mobileWebMenuType"), 0),
|
|
23878
24102
|
showWebMenu: B.getIntOption(E.queryString("showWebMenu"), 1),
|
|
24103
|
+
showWebCloseBtn: B.getIntOption(E.queryString("showWebCloseBtn"), 0),
|
|
23879
24104
|
forceResolution: B.getBoolOption(E.queryString("forceResolution"), !1),
|
|
23880
24105
|
ignoreCloudDesktopResolution: B.getBoolOption(E.queryString("ignoreCloudDesktopResolution"), !0),
|
|
23881
24106
|
ignoreScreenOrientation: B.getBoolOption(E.queryString("ignoreScreenOrientation"), !0),
|
|
23882
|
-
imeFirstNotice: B.getIntOption(E.queryString("imeFirstNotice"), 0)
|
|
24107
|
+
imeFirstNotice: B.getIntOption(E.queryString("imeFirstNotice"), 0),
|
|
24108
|
+
taskCloseType: B.getIntOption(E.queryString("taskCloseType"), 0)
|
|
23883
24109
|
};
|
|
23884
24110
|
},
|
|
23885
24111
|
AppliParamsUtils: B,
|
|
@@ -23992,7 +24218,7 @@ var LoadStream = class {
|
|
|
23992
24218
|
init(e) {
|
|
23993
24219
|
try {
|
|
23994
24220
|
let t = new CommandManager(createLarkSRTransport(e));
|
|
23995
|
-
return this._gameApi = new GameAPI(t), console.log(
|
|
24221
|
+
return this._gameApi = new GameAPI(t), console.log(`插件初始化成功 [web3dlink@${version}]`), this._gameApi;
|
|
23996
24222
|
} catch (e) {
|
|
23997
24223
|
throw console.error("插件初始化失败", e), e;
|
|
23998
24224
|
}
|
|
@@ -24039,6 +24265,6 @@ function getLarkSR() {
|
|
|
24039
24265
|
}
|
|
24040
24266
|
var web3dlink_default = loadStream;
|
|
24041
24267
|
//#endregion
|
|
24042
|
-
export { CommandManager, GameAPI, ZsStreamDestroy, ZsStreamMount, closeGameApi, createAndInitLarkSR, createLarkSRTransport, createZsStreamTransport, web3dlink_default as default, getLarkSR };
|
|
24268
|
+
export { CommandManager, GameAPI, ZsStreamDestroy, ZsStreamMount, closeGameApi, createAndInitLarkSR, createLarkSRTransport, createZsStreamTransport, web3dlink_default as default, getLarkSR, version };
|
|
24043
24269
|
|
|
24044
24270
|
//# sourceMappingURL=web3dlink.js.map
|