Added Exoplayer to new method
This commit is contained in:
parent
3d1646c205
commit
a9d9a5ac42
|
@ -631,6 +631,9 @@ public class LocalPSMP extends PlaybackServiceMediaPlayer {
|
|||
} else if (mediaPlayer instanceof AudioPlayer) {
|
||||
AudioPlayer ap = (AudioPlayer) mediaPlayer;
|
||||
ap.setOnErrorListener((mediaPlayer, i, i1) -> true);
|
||||
} else if (mediaPlayer instanceof ExoPlayerWrapper) {
|
||||
ExoPlayerWrapper ap = (ExoPlayerWrapper) mediaPlayer;
|
||||
ap.setOnErrorListener((mediaPlayer, i, i1) -> true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue