mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
Let exoplayer wake mode to WAKE_MODE_NETWORK
This commit is contained in:
parent
dda7953ffe
commit
1c6b8024b9
2 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue