unavi-xyz / unavi

⬜ Open-source VR social platform.
https://unavi.xyz
Mozilla Public License 2.0
84 stars 19 forks source link

WebTransport #839

Closed kayhhh closed 10 months ago

kayhhh commented 10 months ago

Adds WebTransport networking for both native and web using xwt. Also gets the web build working, had to disable scripting but that should hopefully be a solved problem soon.

This only adds the bare minimum of opening a WebTransport connection with the server, not the actual game logic that will use it. Web support has not actually been tested as I'm not sure how to get the browser's WebTransport to accept the local self signed https certs as valid (or if its possible), but everything compiles to wasm and the rest of the app seems to run fine in browser.

Also also did some refactoring with the crate structure - I split up the server into multiple crates, and removed the unavi-native crate (we now just use the unavi-app bin as the native build).