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

feat(android): ExoPlayer for Android #1691

Draft
wants to merge 43 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
61a2b50
feat!: FramePositionUpdater & TimerPositionUpdater
Gustl22 Oct 7, 2023
c0c40c2
Use ExoPlayer for Android
Gustl22 Apr 10, 2023
9393ef7
feat: new package audioplayers_android_exo
Gustl22 Oct 6, 2023
a718e78
revert changes in audioplayers_android
Gustl22 Oct 6, 2023
f4bcb3e
Link audioplayers exo
Gustl22 Oct 6, 2023
a51d52e
Basic functionality
Gustl22 Aug 29, 2023
441b518
remove exception for android < 0.5s
Gustl22 Oct 7, 2023
a266be2
adapt to timer updater
Gustl22 Oct 17, 2023
84fcb27
Try to use plugin override
Gustl22 Oct 18, 2023
db197c1
Merge remote-tracking branch 'upstream/main' into gustl22/349-configu…
Gustl22 Oct 18, 2023
edc2fa9
fix line length
Gustl22 Oct 18, 2023
00fd8a9
test with timer position updater, remove `hasPositionEvent`
Gustl22 Oct 20, 2023
98beba0
Update Test description
Gustl22 Oct 21, 2023
bd38fa5
Merge branch 'gustl22/349-configurable-position-updates' into gustl22…
Gustl22 Oct 21, 2023
e40ee05
Merge branch 'main' into gustl22/exoplayer
Gustl22 Nov 4, 2023
4268a3f
Update package dependencies
Gustl22 Nov 4, 2023
13bb543
remove handler
Gustl22 Nov 4, 2023
50de5e8
Enable multidex
Gustl22 Nov 4, 2023
6ff9488
Migrate to Media3
Gustl22 Nov 4, 2023
eb3cd78
Recreate Android folder
Gustl22 Nov 4, 2023
04f41c4
Update some values
Gustl22 Nov 5, 2023
4f0a982
enable multidex, update dependencies
Gustl22 Nov 5, 2023
be4656b
remove com.android.library
Gustl22 Nov 5, 2023
e9ff3ee
some changes
Gustl22 Nov 5, 2023
c8317b1
remove overhead code
Gustl22 Nov 5, 2023
dad3e47
Make playback work
Gustl22 Nov 5, 2023
8791a25
error message
Gustl22 Nov 5, 2023
de99adb
Player to PlayerWrapper
Gustl22 Nov 5, 2023
2317fb3
BytesSource
Gustl22 Nov 5, 2023
fccc802
Fix crash
Gustl22 Nov 5, 2023
a641cbe
Fix BytesSource
Gustl22 Nov 5, 2023
e018d5c
Format
Gustl22 Nov 5, 2023
9443ef8
Format
Gustl22 Nov 5, 2023
07358c0
Format
Gustl22 Nov 5, 2023
70fbd64
Attempt to set balance
Gustl22 Nov 5, 2023
d45dfdd
reapply channelmixingmatrix
Gustl22 Nov 6, 2023
b734922
rework audio channel processing
Gustl22 Nov 6, 2023
97f0377
Apply changes from audioplayers_android
Gustl22 Feb 8, 2024
808c023
Merge remote-tracking branch 'upstream/main' into gustl22/exoplayer
Gustl22 Feb 8, 2024
ea51103
Create custom AdaptiveChannelMixingAudioProcessor
Gustl22 Feb 8, 2024
6ffe41b
Merge branch 'main' into gustl22/exoplayer
Gustl22 Feb 12, 2025
121dc2e
apply changes
Gustl22 Feb 12, 2025
87bb355
update some files
Gustl22 Feb 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Enable multidex
Gustl22 committed Nov 4, 2023
commit 50de5e817197b1686266b8fcda45c74395e8ea88
2 changes: 2 additions & 0 deletions packages/audioplayers/example/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -49,6 +49,7 @@ android {
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled true
}

buildTypes {
@@ -63,5 +64,6 @@ flutter {
}

dependencies {
implementation 'androidx.multidex:multidex:2.0.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// Generated file.
//
// If you wish to remove Flutter's multidex support, delete this entire file.
//
// Modifications to this file should be done in a copy under a different name
// as this file may be regenerated.

package io.flutter.app;

import android.app.Application;
import android.content.Context;
import androidx.annotation.CallSuper;
import androidx.multidex.MultiDex;

/**
* Extension of {@link android.app.Application}, adding multidex support.
*/
public class FlutterMultiDexApplication extends Application {
@Override
@CallSuper
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
}