@supraio/client-daemon-js 0.0.0-jvmaster.371 → 0.0.0-jvmaster.374
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 +2 -4
- package/daemon.js.map +2 -2
- package/package.json +1 -1
- package/screen.html +1 -1
- package/screen.js +2 -6
- package/screen.js.map +2 -2
- package/sdk.js +4 -10
- package/sdk.js.map +2 -2
- package/supra-client-daemon.js +191 -66
- package/supra-client-daemon.js.map +1 -1
- package/supra-client-daemon.wasm +0 -0
- package/supra-client-screen.js +2677 -187
- 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.374";
|
|
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.374";
|
|
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.374";
|
|
18165
18165
|
async function startPlainScreen(options) {
|
|
18166
18166
|
options = options != null ? options : parseQueryOptions();
|
|
18167
18167
|
initNaCLDecoder();
|
|
@@ -18176,7 +18176,6 @@ async function startPlainScreen(options) {
|
|
|
18176
18176
|
// screen/h264decoder.ts
|
|
18177
18177
|
async function initH264Decoder() {
|
|
18178
18178
|
window.h264Decoder = await createH264Decoder();
|
|
18179
|
-
console.log("ASDF[TS] initH264Decoder done, window.h264Decoder: " + window.h264Decoder);
|
|
18180
18179
|
}
|
|
18181
18180
|
async function createH264Decoder() {
|
|
18182
18181
|
const { H264Decoder: H264Decoder2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
|
@@ -18187,10 +18186,9 @@ async function createH264Decoder() {
|
|
|
18187
18186
|
}
|
|
18188
18187
|
|
|
18189
18188
|
// screen/wasm.ts
|
|
18190
|
-
var SCREEN_WASM_URL = "supra-client-screen.wasm?v=0.0.0-jvmaster.
|
|
18189
|
+
var SCREEN_WASM_URL = "supra-client-screen.wasm?v=0.0.0-jvmaster.374";
|
|
18191
18190
|
async function startWasmScreen(options) {
|
|
18192
18191
|
options = options != null ? options : parseQueryOptions();
|
|
18193
|
-
console.log("ASDF[TS] startWasmScreen, options: " + options);
|
|
18194
18192
|
await initH264Decoder();
|
|
18195
18193
|
await initGoEnvironment();
|
|
18196
18194
|
await startGoScreen(options);
|
|
@@ -18207,19 +18205,15 @@ async function startGoScreen(options) {
|
|
|
18207
18205
|
// sdk.ts
|
|
18208
18206
|
async function startDaemon(options) {
|
|
18209
18207
|
if (shouldUsePlainJS(options)) {
|
|
18210
|
-
console.log("ASDF[TS] startDaemon: starting plain daemon");
|
|
18211
18208
|
startPlainDaemon();
|
|
18212
18209
|
} else {
|
|
18213
|
-
console.log("ASDF[TS] startDaemon: starting wasm daemon");
|
|
18214
18210
|
startWasmDaemon();
|
|
18215
18211
|
}
|
|
18216
18212
|
}
|
|
18217
18213
|
async function startScreen(options) {
|
|
18218
18214
|
if (shouldUsePlainJS(options)) {
|
|
18219
|
-
console.log("ASDF[TS] startScreen: starting plain screen");
|
|
18220
18215
|
await startPlainScreen(options);
|
|
18221
18216
|
} else {
|
|
18222
|
-
console.log("ASDF[TS] startScreen: starting wasm screen");
|
|
18223
18217
|
await startWasmScreen(options);
|
|
18224
18218
|
}
|
|
18225
18219
|
}
|