Let exoplayer wake mode to WAKE_MODE_NETWORK

This commit is contained in:
CappielloAntonio 2021-08-10 13:49:33 +02:00
parent dda7953ffe
commit 1c6b8024b9
2 changed files with 2 additions and 1 deletions

View file

@ -110,6 +110,7 @@ public class MultiPlayer implements Playback {
.setMediaSourceFactory(new DefaultMediaSourceFactory(cacheDataSourceFactory))
.setAudioAttributes(audioAttributes, true)
.setHandleAudioBecomingNoisy(true)
.setWakeMode(C.WAKE_MODE_NETWORK)
.build();
exoPlayer.addListener(eventListener);