fork/rust-sdks
git clone https://git.julia.blue/fork/rust-sdks
880f0a9
main
files
| patches/ | |
| .gclient | 182 B |
| .gitignore | 85 B |
| README.md | 1.0 KiB |
| boringssl_prefix_symbols.txt | 116.4 KiB |
| build_android.sh | 3.9 KiB |
| build_ios.sh | 4.0 KiB |
| build_linux.sh | 3.7 KiB |
| build_macos.sh | 3.7 KiB |
| build_windows.cmd | 2.9 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.