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

jitsi meet android sdk conflict with new exoplayer from media3 #15481

Open
nightfury96 opened this issue Jan 13, 2025 · 1 comment
Open

jitsi meet android sdk conflict with new exoplayer from media3 #15481

nightfury96 opened this issue Jan 13, 2025 · 1 comment
Labels
feature-request Issue which suggest an idea, enhancement or feature to implement

Comments

@nightfury96
Copy link

What problem are you trying to solve?

when i add jitsi meet SDK lib in android, inside there is react-native-video lib https://github.com/jitsi/react-native-video/
it's old and uses old Exoplayer (com.google.android.exoplayer2) https://github.com/google/ExoPlayer that is deprecated. if in any Android projects, the developer wants to use newer exoplayer version with androidx.media3 (recommended by google https://github.com/androidx/media ) the project conflictswith libs and causes crash when using media3 exoplayer in any fragment or activity.
i detect jitsi react-native-video officially used https://github.com/TheWidlarzGroup/react-native-video from this repo
this repo of react-native-video from TheWidlarzGroup updated libs and used latest media3 version of exoplayer

What solution would you like to see?

i think if you update react-native-video lib to use androidx.media3 version of Exoplayer, any Android developers can use Exoplayer media3 with jitsi inside their projects and they will safely run and works together

Is there an alternative?

maybe the developer can try to downgrade exoplayer to deprecated version with many rollback and changes (not safe and good)

@nightfury96 nightfury96 added the feature-request Issue which suggest an idea, enhancement or feature to implement label Jan 13, 2025
@nightfury96
Copy link
Author

inside react-native-video lib, there is a custom exo_player_control_view.xml that uses old exoplayer com.google.android.exoplayer2.ui.DefaultTimeBar
for a temporary fix, I create exo_player_control_view.xml inside my project with just a LinearLayout and use app:use_controller="false" inside
androidx.media3.ui.PlayerView tag of view in my project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Issue which suggest an idea, enhancement or feature to implement
Projects
None yet
Development

No branches or pull requests

1 participant