Files
fluxer-desktop-patched/fluxer_desktop/native/webrtc-sender/vendor/webrtc-sys/libwebrtc/README.md
T
brenden 682afacd30 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.
2026-07-01 18:22:43 -04:00

1.0 KiB

This directory can contain a checkout of WebRTC. The build scripts here will install dependencies, checkout the version that LiveKit currently uses, apply some patches to it, and build it. For example to do a Linux debug build on x64:

$ ./build-linux.sh --arch x64 --profile release

After running this, linux-x64-debug/lib/libwebrtc.a should exist. This can be rerun to rebuild it, but will complain about patches not applying as they have already been applied.

If something goes wrong it may be helpful to consult the WebRTC native development documentation.

Building LiveKit Rust SDK with custom WebRTC checkout

Add the following environment variable to /.config/config.toml, to specify use of a custom WebRTC build:

[env]
LK_CUSTOM_WEBRTC = { value = "webrtc-sys/libwebrtc/linux-x64-release", relative = true }

Note that linux-x64-debug should be replaced with the artifact directory appropriate for your configuration.