rust-sdks icon indicating copy to clipboard operation
rust-sdks copied to clipboard

Building LiveKit Rust SDK with custom WebRTC checkout

Open George-Gi opened this issue 1 year ago • 0 comments

I am modifying some files in the webRTC project and despite I execute again the build_linux.sh script, my changes do not take place. I noticed that the generated libwebrtc.a has my changes under the webrtc-sys/libwebrtc/linux-x64-release/lib/ folder, however when i build the rust sdk it doesn't link against my modified library. I tried also the suggested solution in the Readme to add the environment variable

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

but when I do this I get errors of missing headers. I don't understand why does this happen, even if the libwebrtc.a was built successfully.

George-Gi avatar Dec 19 '24 16:12 George-Gi