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

Added ExoPlayer #2655

Merged
merged 19 commits into from Jul 22, 2018
Merged

Added ExoPlayer #2655

merged 19 commits into from Jul 22, 2018

Conversation

ByteHamster
Copy link
Member

@ByteHamster ByteHamster commented Apr 21, 2018

Should fix a lot of crashes when trying opus or other formats

ToDo:

Closes #2631

@@ -6,34 +6,24 @@
import java.io.IOException;

public interface IPlayer {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these not needed anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intellij told me they are unused. Additionally, every class that implemented them was just throwing RuntimeExceptions in those methods (see diff). So I just removed them (ExoPlayer does not seem to support those things anyway)

@ghost
Copy link

ghost commented May 4, 2018

I hope Exoplayer gets added because it has been such a blessing to other open source apps and it is essential that Antennapod have bugfree playback with full streaming support of the new Opus format.

@ghost
Copy link

ghost commented Jul 12, 2018

Glad this is finally being merged. Exoplayer will improve playback across the board for this great client!

@mfietz mfietz merged commit 9646cc8 into AntennaPod:develop Jul 22, 2018
@ghost
Copy link

ghost commented Aug 25, 2018

@ByteHamster Exoplayer 2.8.4 is out.

@ghost
Copy link

ghost commented Sep 28, 2018

@ByteHamster
Copy link
Member Author

@RIOTOUS We will release 2.7.3 first because that version was already tested. Otherwise the release would need even more time

@@ -107,7 +108,6 @@
private static final String PREF_RIGHT_VOLUME = "prefRightVolume";

// Experimental
public static final String PREF_SONIC = "prefSonic";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realize this has already been merged, but I just wanted to say that the sonic player test still depends on this.
https://github.com/AntennaPod/AntennaPod/blob/develop/app/src/androidTest/java/de/test/antennapod/ui/PlaybackSonicTest.java#L62

That being said, I just started looking into this codebase this evening and as of right now all tests are still failing for me, so I'm not sure whether I should make a PR for that. 😅

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm currently working on fixing the tests in #2870 ;)

@keunes
Copy link
Member

keunes commented Nov 20, 2018

@ByteHamster, with this PR merged, is ExoPlayer now the default, actually? (asking because of #2783 (comment))

@ByteHamster
Copy link
Member Author

@keunes No, it's not the default player. Before making it the default player, we need to fix the player settings menu first: Downmixing and independent L/R volume control do not work. After that, I prefer to wait some time to find out if anyone has issues with the player before changing the default.

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

Successfully merging this pull request may close these issues.

crash when trying to play back opus podcast
4 participants