@supraio/client-daemon-js 0.0.0-jvmaster.324 → 0.0.0-jvmaster.327
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/daemon.html +1 -1
- package/daemon.js +4 -4
- package/daemon.js.map +2 -2
- package/package.json +1 -1
- package/screen.html +1 -1
- package/screen.js +6 -6
- package/screen.js.map +2 -2
- package/sdk.js +10 -10
- package/sdk.js.map +2 -2
- package/supra-client-daemon.js +1036 -1038
- package/supra-client-daemon.js.map +1 -1
- package/supra-client-daemon.wasm +0 -0
- package/supra-client-screen.js +6111 -6130
- package/supra-client-screen.js.map +1 -1
- package/supra-client-screen.wasm +0 -0
package/sdk.js
CHANGED
|
@@ -18081,7 +18081,7 @@ async function initGoEnvironment() {
|
|
|
18081
18081
|
}
|
|
18082
18082
|
|
|
18083
18083
|
// daemon/plain.ts
|
|
18084
|
-
var DAEMON_JS_URL = "supra-client-daemon.js?v=0.0.0-jvmaster.
|
|
18084
|
+
var DAEMON_JS_URL = "supra-client-daemon.js?v=0.0.0-jvmaster.327";
|
|
18085
18085
|
async function startPlainDaemon() {
|
|
18086
18086
|
const fs = await initBrowserFS();
|
|
18087
18087
|
window.fs = fs;
|
|
@@ -18092,7 +18092,7 @@ async function startPlainDaemon() {
|
|
|
18092
18092
|
}
|
|
18093
18093
|
|
|
18094
18094
|
// daemon/wasm.ts
|
|
18095
|
-
var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=0.0.0-jvmaster.
|
|
18095
|
+
var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=0.0.0-jvmaster.327";
|
|
18096
18096
|
async function startWasmDaemon() {
|
|
18097
18097
|
await initGoEnvironment();
|
|
18098
18098
|
await startGoDaemon();
|
|
@@ -18161,7 +18161,7 @@ function getGoArgv2(binFile, options) {
|
|
|
18161
18161
|
}
|
|
18162
18162
|
|
|
18163
18163
|
// screen/plain.ts
|
|
18164
|
-
var SCREEN_JS_URL = "supra-client-screen.js?v=0.0.0-jvmaster.
|
|
18164
|
+
var SCREEN_JS_URL = "supra-client-screen.js?v=0.0.0-jvmaster.327";
|
|
18165
18165
|
async function startPlainScreen(options) {
|
|
18166
18166
|
options = options != null ? options : parseQueryOptions();
|
|
18167
18167
|
initNaCLDecoder();
|
|
@@ -18176,7 +18176,7 @@ async function startPlainScreen(options) {
|
|
|
18176
18176
|
// screen/h264decoder.ts
|
|
18177
18177
|
async function initH264Decoder() {
|
|
18178
18178
|
window.h264Decoder = await createH264Decoder();
|
|
18179
|
-
console.log("ASDF initH264Decoder done, window.h264Decoder: " + window.h264Decoder);
|
|
18179
|
+
console.log("ASDF[TS] initH264Decoder done, window.h264Decoder: " + window.h264Decoder);
|
|
18180
18180
|
}
|
|
18181
18181
|
async function createH264Decoder() {
|
|
18182
18182
|
const { H264Decoder: H264Decoder2 } = (init_dist(), __toCommonJS(dist_exports));
|
|
@@ -18188,10 +18188,10 @@ async function createH264Decoder() {
|
|
|
18188
18188
|
}
|
|
18189
18189
|
|
|
18190
18190
|
// screen/wasm.ts
|
|
18191
|
-
var SCREEN_WASM_URL = "supra-client-screen.wasm?v=0.0.0-jvmaster.
|
|
18191
|
+
var SCREEN_WASM_URL = "supra-client-screen.wasm?v=0.0.0-jvmaster.327";
|
|
18192
18192
|
async function startWasmScreen(options) {
|
|
18193
18193
|
options = options != null ? options : parseQueryOptions();
|
|
18194
|
-
console.log("ASDF startWasmScreen, options: " + options);
|
|
18194
|
+
console.log("ASDF[TS] startWasmScreen, options: " + options);
|
|
18195
18195
|
await initH264Decoder();
|
|
18196
18196
|
await initGoEnvironment();
|
|
18197
18197
|
await startGoScreen(options);
|
|
@@ -18208,19 +18208,19 @@ async function startGoScreen(options) {
|
|
|
18208
18208
|
// sdk.ts
|
|
18209
18209
|
async function startDaemon(options) {
|
|
18210
18210
|
if (shouldUsePlainJS(options)) {
|
|
18211
|
-
console.log("ASDF startDaemon: starting plain daemon");
|
|
18211
|
+
console.log("ASDF[TS] startDaemon: starting plain daemon");
|
|
18212
18212
|
startPlainDaemon();
|
|
18213
18213
|
} else {
|
|
18214
|
-
console.log("ASDF startDaemon: starting wasm daemon");
|
|
18214
|
+
console.log("ASDF[TS] startDaemon: starting wasm daemon");
|
|
18215
18215
|
startWasmDaemon();
|
|
18216
18216
|
}
|
|
18217
18217
|
}
|
|
18218
18218
|
async function startScreen(options) {
|
|
18219
18219
|
if (shouldUsePlainJS(options)) {
|
|
18220
|
-
console.log("ASDF startScreen: starting plain screen");
|
|
18220
|
+
console.log("ASDF[TS] startScreen: starting plain screen");
|
|
18221
18221
|
await startPlainScreen(options);
|
|
18222
18222
|
} else {
|
|
18223
|
-
console.log("ASDF startScreen: starting wasm screen");
|
|
18223
|
+
console.log("ASDF[TS] startScreen: starting wasm screen");
|
|
18224
18224
|
await startWasmScreen(options);
|
|
18225
18225
|
}
|
|
18226
18226
|
}
|