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

[FEATURE]upgrade depandences ExoPlayer to 2.16.0 #882

Closed
LeiQiao opened this issue Jan 12, 2022 · 7 comments
Closed

[FEATURE]upgrade depandences ExoPlayer to 2.16.0 #882

LeiQiao opened this issue Jan 12, 2022 · 7 comments
Assignees
Labels
enhancement New feature or request new issue New issue which has not been checked yet

Comments

@LeiQiao
Copy link

LeiQiao commented Jan 12, 2022

current version using ExoPlayer 2.15.1, its unable to play mp4 file which is recorded by Weixin, cause of ExoPlayer throw an "ArrayIndexOutOfBoundsException" error.

the new version of ExoPlayer 2.16.0 has fixed it:

ExoPlayer 2.16.0 :
MP4: Avoid throwing ArrayIndexOutOfBoundsException when parsing invalid colr boxes produced by some device cameras (#9332).

@LeiQiao LeiQiao added enhancement New feature or request new issue New issue which has not been checked yet labels Jan 12, 2022
@shiyiya
Copy link

shiyiya commented Jan 12, 2022

  • Maintainers wanted #702
    1. upgrade exoPlayerVersion 2.16.1
    1. replace SimpleExoPlayer to ExoPlayer android/src/main/.../BetterPlayer.kt

@devyueyue
Copy link

Hi, did you have this problem?

await OrientationHelper.setPreferredOrientations([
DeviceOrientation.portraitUp,
]);
await OrientationHelper.forceOrientation(DeviceOrientation.portraitUp);

Set the app fixed vertical screen. After clicking the rotate horizontal and vertical screen on the video page and exiting the full screen, all pages will follow the gravity sensing of the mobile phone to rotate the horizontal and vertical screen continuously. How do you set this?

flutter sdk: 2.8.1
better_player: ^0.0.81

@shiyiya
Copy link

shiyiya commented Jan 12, 2022

set option afterflullscreen

@bdlukaa
Copy link

bdlukaa commented Jan 13, 2022

A bunch of issues were fixed on the newest versions: https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md

This would be highly appreacited!

@shiyiya
Copy link

shiyiya commented Jan 14, 2022

u can try . only android

@LeiQiao
Copy link
Author

LeiQiao commented Jan 14, 2022

u can try . only android

u guys are awesome!!! totally works!! thx~

ps:
I have to add the following code to build.gradle of your project, otherwise AS will reports error

kotlinOptions {
jvmTarget = '1.8'
}

@jhomlala
Copy link
Owner

Fixed in latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new issue New issue which has not been checked yet
Projects
None yet
Development

No branches or pull requests

5 participants