!xGCydtJPWedDaDHfzm:matrix.org

jellyfin-dev-client

196 Members
Development discussion of Jellyfin client projects.  See the community for more rooms: +jellyfin:matrix.org33 Servers

Load older messages


Timestamp Message
21 Jan 2020
22:25:05@justaman:matrix.orgJustAManthough I personally want an auto-chooser, so I would work on that :)
22:25:08@cromefire_:matrix.orgcromefire_
In reply to @justaman:matrix.org
because emscripten now cannot do both at the same time
Then invoke it twice...
22:25:19@justaman:matrix.orgJustAManexactly
22:25:22@justaman:matrix.orgJustAManthis is my plan
22:25:33@mrtimscampi:matrix.orgmrtimscampiNah, just load a different one depending in support
22:25:38@justaman:matrix.orgJustAManhowever it's kinda pointless now as it doesn't work in old browsers :)
22:25:53@justaman:matrix.orgJustAManand in new ones wasm "just works"
22:26:13@justaman:matrix.orgJustAManso I now have to figure why it silently fails - probably that promise never fires or something
22:26:41@mrtimscampi:matrix.orgmrtimscampiWe should change the condition for suboctopus before the new release
22:26:53@justaman:matrix.orgJustAManwhat do you mean by "condition"?
22:26:55@mrtimscampi:matrix.orgmrtimscampiIf only to force libjass on TVs
22:27:14@justaman:matrix.orgJustAManoh
22:27:25@justaman:matrix.orgJustAManI think we can enable octopus only when wasm is supported
22:27:29@mrtimscampi:matrix.orgmrtimscampi So if you look at my PR to remove libjass, there's a condition for fallback
22:27:35@justaman:matrix.orgJustAManis that what you're suggesting?
22:27:44@mrtimscampi:matrix.orgmrtimscampiYep, exactly :)
22:27:45@cromefire_:matrix.orgcromefire_
if (typeof WebAssembly !== "undefined") {
    loadWasm();
} else {
    loadAsmJs();
}
22:27:53@justaman:matrix.orgJustAManhrm
22:28:03@mrtimscampi:matrix.orgmrtimscampiPretty much
22:28:11@justaman:matrix.orgJustAManI like this SO better tho: https://stackoverflow.com/questions/47879864/how-can-i-check-if-a-browser-supports-webassembly
22:28:39@justaman:matrix.orgJustAManit checks for slightly more things before claiming wasm support
22:28:42@cromefire_:matrix.orgcromefire_Well it's basically the same
22:29:15@cromefire_:matrix.orgcromefire_ Why wold a browser with no webassembly have WebAssembly?
22:29:51@mrtimscampi:matrix.orgmrtimscampi I'm talking broadly here :p The condition should obviously make sure everything is there
22:30:25@mrtimscampi:matrix.orgmrtimscampiSo, from memory, at least Wasm, Promises and Service Workers
22:30:28@cromefire_:matrix.orgcromefire_He proposes that solution if the environmet is not "controlled"
22:31:27@cromefire_:matrix.orgcromefire_But as we know that jellyfin doesn't define WebAssembly as global object it's fine
22:32:41@justaman:matrix.orgJustAMananyway
22:33:08@justaman:matrix.orgJustAManI'm not declaring this battle lost yet
22:33:55@justaman:matrix.orgJustAManFiguring weird stuff is my favorite kind of thing to do

There are no newer messages yet.


Back to Room List