Add native self-hosted instance connection to fluxer_desktop
Trimmed monorepo checkout (fluxer_desktop + packages/voice_engine_v2 + tools/ci) with a "Connect to a Different Server" menu item and popout that lets the desktop app switch to any self-hosted Fluxer instance, plus fixes for well-known discovery on single-domain self-hosted deployments and a false-positive ERR_ABORTED on same-origin client redirects during the switch. Defaults to chat.fluxr.chat and uses an isolated userData directory from the official build.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# webrtc-sys
|
||||
|
||||
This crate provides wrapper over the WebRTC API for use from Rust.
|
||||
We use the crate [cxx.rs](https://cxx.rs/) to simplify our bindings.
|
||||
|
||||
## Wrappers
|
||||
|
||||
Most of our wrappers use the cxx.rs types compatible with Rust.
|
||||
As most of our wrappers are stateless, we allow multiple instances of a specific wrapper to point to the same underlying webrtc pointer. (e.g: multiple livekit::MediaStreamTrack pointing to the same webrtc::MediaStreamTrackInterface).
|
||||
|
||||
Threadsafe methods use the const keyword so we can easily call them from the Rust side without worrying about the mutability of the object. (This is similar on how Cell/UnsafeCell works but implemented on the C++ side: interior mutability).
|
||||
|
||||
## Code
|
||||
|
||||
We also use this C++ code to provide other needed utilities/features on the Rust side (e.g: tiny bindings to libyuv).
|
||||
|
||||
Reference in New Issue
Block a user