Skip to content

Commit

Permalink
Downgrade exoplayer to 2.17.1 due to google/ExoPlayer#10381
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulWoitaschek committed Jul 4, 2022
1 parent ebbe616 commit ef46ea7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Expand Up @@ -79,7 +79,7 @@ materialDialog-input = { module = "com.afollestad.material-dialogs:input", versi
dagger-core = { module = "com.google.dagger:dagger", version.ref = "dagger" }
dagger-compiler = { module = "com.google.dagger:dagger-compiler", version.ref = "dagger" }

exoPlayer-core = "com.google.android.exoplayer:exoplayer-core:2.18.0"
exoPlayer-core = "com.google.android.exoplayer:exoplayer-core:2.17.1"
benchmark = { module = "androidx.benchmark:benchmark-junit4", version.ref = "benchmark" }

compose-ui-ui = { module = "androidx.compose.ui:ui", version.ref = "compose-ui" }
Expand Down
Expand Up @@ -49,7 +49,7 @@ object PlaybackServiceModule {
mediaSourceFactory: MediaSource.Factory,
): ExoPlayer {
val audioAttributes = AudioAttributes.Builder()
.setContentType(C.AUDIO_CONTENT_TYPE_SPEECH)
.setContentType(C.CONTENT_TYPE_SPEECH)
.setUsage(C.USAGE_MEDIA)
.build()
return ExoPlayer.Builder(context, onlyAudioRenderersFactory, mediaSourceFactory)
Expand Down

0 comments on commit ef46ea7

Please sign in to comment.