Support for using livekit-ffi with shadowed WebRTC library (livekit.org.webrtc.* package)
Hi team,
I need to use the livekit-ffi library, but for compatibility reasons, I require it to work with a shadowed version of the WebRTC library that uses the package name livekit.org.webrtc.* instead of the standard org.webrtc.*.
Could anyone advise on how to make livekit-ffi compatible with this modified package structure? Any guidance on adapting or configuring livekit-ffi to recognize the livekit.org.webrtc.* namespace would be greatly appreciated.
Thank you in advance for any help or suggestions!
We need the same for our application. Did you figure it out?
I can shade libwebrtc.jar, but updating the jni symbols used by the build process is having issues.
Bumping for the LK team. This is preventing us from using LK.
To achieve this, we compiled the WebRTC library after applying the necessary namespace changes directly in its source code. Once we had the WebRTC library built with our custom namespaces, we proceeded to compile livekit-ffi, linking it against our modified WebRTC library. This process allowed us to resolve the namespace conflicts and successfully integrate the libraries as needed.