Duplicate classes error about webrtc

Hi everyone.

In my android application I use jitsi library and also a unity project (also imported as library). The error occurs because both jitsi and unity use webrtc library. I tried to exclude webrtc from jitsi but that resulted in jitsi activity not being able to start. My question is if I can use those libraries together even though they both use webrtc.

Thank you for your time.

Unfortunately not. You’ll need to pick one WebRTC build.

Can I make jitsi use the unity webrtc build through an .aar file?

I don’t know. You’d need the WebRTC versions to match at least on the major number. And even then, things may fail.