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:
+60
@@ -0,0 +1,60 @@
|
||||
[package]
|
||||
name = "libwebrtc"
|
||||
version = "0.3.35"
|
||||
edition.workspace = true
|
||||
homepage = "https://livekit.io"
|
||||
license.workspace = true
|
||||
description = "Livekit safe bindings to libwebrtc"
|
||||
repository.workspace = true
|
||||
|
||||
[features]
|
||||
default = [ "glib-main-loop" ]
|
||||
# On Wayland, libwebrtc uses GDBus to communicate with the XDG Desktop Portal.
|
||||
# GDBus requires a GLib event loop to be running. If you already have a GLib
|
||||
# event loop running in your application, for example if you are using the
|
||||
# GTK or GStreamer Rust bindings, disable this feature.
|
||||
glib-main-loop = [ "dep:glib" ]
|
||||
|
||||
[dependencies]
|
||||
log = { workspace = true }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
|
||||
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies]
|
||||
glib = { version = "0.21.3", optional = true }
|
||||
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
jni = "0.21"
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
webrtc-sys = { workspace = true }
|
||||
livekit-runtime = { workspace = true }
|
||||
lazy_static = { workspace = true }
|
||||
parking_lot = { workspace = true }
|
||||
tokio = { workspace = true, default-features = false, features = ["sync", "macros"] }
|
||||
cxx = "1.0"
|
||||
rtrb = "0.3.3"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen = "0.2"
|
||||
js-sys = "0.3"
|
||||
wasm-bindgen-futures = "0.4"
|
||||
web-sys = { version = "0.3", features = [
|
||||
"MessageEvent",
|
||||
"RtcPeerConnection",
|
||||
"RtcSignalingState",
|
||||
"RtcSdpType",
|
||||
"RtcSessionDescriptionInit",
|
||||
"RtcPeerConnectionIceEvent",
|
||||
"RtcIceCandidate",
|
||||
"RtcDataChannel",
|
||||
"RtcDataChannelEvent",
|
||||
"RtcDataChannelState",
|
||||
"EventTarget",
|
||||
"WebGlRenderingContext",
|
||||
"WebGlTexture",
|
||||
] }
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = { workspace = true }
|
||||
Reference in New Issue
Block a user