Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict between flutter_webrtc and jitsi_meet_flutter_sdk plugins #43

Closed
Vinayak006 opened this issue Feb 10, 2024 · 1 comment
Closed

Comments

@Vinayak006
Copy link

Description:

I'm encountering a conflict between the flutter_webrtc and jitsi_meet_flutter_sdk plugins in my Flutter project. Both plugins seem to have dependencies that are causing conflicts, specifically with classes like org.webrtc.voiceengine.WebRtcAudioUtils.

Steps to Reproduce:

  • Add both flutter_webrtc and jitsi_meet_flutter_sdk plugins to a Flutter project.
  • Attempt to build the project.

Environment:

Flutter version: 3.16.3
Operating System: android

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class org.webrtc.AddIceObserver found in modules jetified-android-114.5735.08.1-runtime (io.github.webrtc-sdk:android:114.5735.08.1) and jetified-webrtc-111.0.1-runtime (org.jitsi:webrtc:111.0.1)
Duplicate class org.webrtc.AndroidVideoDecoder found in modules jetified-android-114.5735.08.1-runtime (io.github.webrtc-sdk:android:114.5735.08.1) and jetified-webrtc-111.0.1-runtime (org.jitsi:webrtc:111.0.1)

@saghul
Copy link
Member

saghul commented Feb 11, 2024

Unfortunately that is not something we can fix.

Both packages depend on org.webrtc and each needs a different build.

@saghul saghul closed this as not planned Won't fix, can't repro, duplicate, stale Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants