Update ExoPlayer Version to 2.9.3

In order to support the feature to skip silence audio ExoPlayer must be
updated. Lateste avaiable Version is 2.9.3
This commit is contained in:
falko 2019-01-05 14:20:26 +01:00
parent 73ce903a49
commit 33603f8edd
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ project.ext {
rxJavaRulesVersion = "1.3.3.0" rxJavaRulesVersion = "1.3.3.0"
triangleLabelViewVersion = "1.1.2" triangleLabelViewVersion = "1.1.2"
exoPlayerVersion = "2.7.3" exoPlayerVersion = "2.9.3"
audioPlayerVersion = "v1.0.17" audioPlayerVersion = "v1.0.17"
castCompanionLibVer = "2.9.1" castCompanionLibVer = "2.9.1"

View File

@ -43,7 +43,7 @@ public class ExoPlayerWrapper implements IPlayer {
} }
private SimpleExoPlayer createPlayer() { private SimpleExoPlayer createPlayer() {
SimpleExoPlayer p = ExoPlayerFactory.newSimpleInstance(new DefaultRenderersFactory(mContext), SimpleExoPlayer p = ExoPlayerFactory.newSimpleInstance(mContext, new DefaultRenderersFactory(mContext),
new DefaultTrackSelector(), new DefaultLoadControl()); new DefaultTrackSelector(), new DefaultLoadControl());
p.setSeekParameters(SeekParameters.PREVIOUS_SYNC); p.setSeekParameters(SeekParameters.PREVIOUS_SYNC);
p.addListener(new Player.EventListener() { p.addListener(new Player.EventListener() {