fixed bug related to audio offload mode
This commit is contained in:
parent
bc1b758510
commit
824893cbfc
|
@ -76,6 +76,7 @@ class ExoPlayerWrapper internal constructor(private val context: Context) {
|
|||
val audioOffloadPreferences = AudioOffloadPreferences.Builder()
|
||||
.setAudioOffloadMode(AudioOffloadPreferences.AUDIO_OFFLOAD_MODE_ENABLED) // Add additional options as needed
|
||||
.setIsGaplessSupportRequired(true)
|
||||
.setIsSpeedChangeSupportRequired(true)
|
||||
.build()
|
||||
exoPlayer = ExoPlayer.Builder(context, DefaultRenderersFactory(context))
|
||||
.setTrackSelector(trackSelector)
|
||||
|
|
Loading…
Reference in New Issue