Description: I'm attempting to use GeckoView in conjunction with react-native-webrtc, but I am encountering duplicate class issues with the WebRTC libraries. Below are the details of the conflicts:
Duplicate class org.webrtc.AddIceObserver found in:
- geckoview-106.0.20221102214123.aar -> jetified-geckoview-106.0.20221102214123-runtime (org.mozilla.geckoview:geckoview:106.0.20221102214123)
- webrtc-124.0.0.aar -> jetified-webrtc-124.0.0-runtime (org.jitsi:webrtc:124.0.0)
Duplicate class org.webrtc.AndroidVideoDecoder found in:
- geckoview-106.0.20221102214123.aar -> jetified-geckoview-106.0.20221102214123-runtime (org.mozilla.geckoview:geckoview:106.0.20221102214123)
- webrtc-124.0.0.aar -> jetified-webrtc-124.0.0-runtime (org.jitsi:webrtc:124.0.0)
Duplicate class org.webrtc.AndroidVideoDecoder$1 found in:
- geckoview-106.0.20221102214123.aar -> jetified-geckoview-106.0.20221102214123-runtime (org.mozilla.geckoview:geckoview:106.0.20221102214123)
- webrtc-124.0.0.aar -> jetified-webrtc-124.0.0-runtime (org.jitsi:webrtc:124.0.0)
Duplicate class org.webrtc.AndroidVideoDecoder$DecodedTextureMetadata found in:
- geckoview-106.0.20221102214123.aar -> jetified-geckoview-106.0.20221102214123-runtime (org.mozilla.geckoview:geckoview:106.0.20221102214123)
- webrtc-124.0.0.aar -> jetified-webrtc-124.0.0-runtime (org.jitsi:webrtc:124.0.0)
This seems to be a conflict between the WebRTC implementations used by GeckoView and Jitsi’s WebRTC library. I am seeking guidance on how to resolve this conflict.
Steps to Reproduce:
Integrate GeckoView and React Native WebRTC into a project.
Build the project.
The build fails with the above duplicate class errors.
Expected Behavior: The build should succeed without class conflicts between GeckoView and the WebRTC libraries.
Description: I'm attempting to use GeckoView in conjunction with
react-native-webrtc
, but I am encountering duplicate class issues with the WebRTC libraries. Below are the details of the conflicts:This seems to be a conflict between the WebRTC implementations used by GeckoView and Jitsi’s WebRTC library. I am seeking guidance on how to resolve this conflict.
Steps to Reproduce:
Expected Behavior: The build should succeed without class conflicts between GeckoView and the WebRTC libraries.
Environment:
106.0.20221102214123
124.0.0 (from org.jitsi:webrtc)