-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[av][Android] Bump com.google.android.exoplayer:exoplayer
from 2.9.2
to 2.13.3
#16123
Conversation
from
2.9.2 to
2.13.3'com.google.android.exoplayer:exoplayer
from 2.9.2
to 2.13.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. i think android client test error is from expo go, maybe you will update in this pr or another pr.
I've not checked but looking at the release notes for ExoPlayer this possibly resolves a few open av issues (#16139 and maybe #16439). Is there any reason not to go for a more recent ExoPlayer version (latest is currently 2.17.0, about 10 months more recent than 2.13.3), this PR already makes pretty much all of the required API changes from the last few years so it's not much more work. A few changes would be required:
There are also usages of a few deprecated methods that could be cleaned up. |
Hey @mnightingale, I tried to perform as small version bump as possible to minimise the scope of possible regressions 📉. If everything goes well with this version bump, we'll be bumping again to reach the most up-to-date version 💪 |
…on `2.13.3` - Bump `com.google.android.exoplayer:exoplayer` and `com.google.android.exoplayer:exoplayer-okhttp` from `2.9.2` to `2.13.3` - Remove unused `com.android.support:support-annotations` dependecy - Remove unused `supportLibVersion` variable from gradle - Remove `jcenter` repository from `expoview` project
…view` - `com.yqritc:android-scalablevideoview` is only available on `jcenter` repository and we're removing it, so I've copy-pasted classes that we rely on in `expo-av`
- Replace `ExtractorMediaSource.EventListener` with `MediaSourceEventListener` - Replace `SimpleExoPlayer.VideoListener` with `VideoListener` - Replace `AdaptiveMediaSourceEventListener` with `MediaSourceEventListener` - Refactor `mSimpleExoPlayer` construction - Adapt creating `MediaSource` - Cleanup the codebase
06996e6
to
ebe3a97
Compare
Remove `jcenter` from `bare-expo` and `bare-sandbox` apps
Hello bbarthec!! I've been trying to test your solution, I tried to build by linking the dependencies of my repo to your branch on github, but that didn't work. Now I see that you merged it, could you give me the instructions to get it running on my repo? This is the repo I've been trying to test it on: dantxal/ExpoAvIssue. This is the issue I talked about, for reference: #16323 Thanks for the good work you've been doing on expo! EDIT: This is the error I am getting when linking to your commit:
|
@dantxal, this problem you're reporting is very generic and I have no way to help you with it 😞 |
I've just published |
@bbarthec You're right, it didn't solve my problem. Thank you for the quick response btw! 😄 To anyone else trying to run
|
Please consider implementing #16455 to expo-av 11 as well |
So far, expo-av 11 is working fine for me on Android. What still is so extremely annoying is the massive pauseAsync delay on iOS and the framedrops caused by it (from 60 to 20). Android does not have this issues. |
@bbarthec @Kudo Thanks for all the awesome work! I've been working on a fatal error I've been getting on my project and realized that the Issue with repro: #18937 |
Why
Resolves ENG-2858
Continues #16122
How
https://github.com/yqritc/Android-ScalableVideoView
by copying the parts into theexpo-av
codebase as it's only available onjcenter()
exoplayer
to the smallest version available on google maven.Test Plan
I've succeeded in compiling
bare-expo
and running thencl
#video
screen with both remote and local videos playing nicely.TODO
Expo Go
works