pull/1298/head
gedoor 3 years ago
parent 3defae6c3c
commit 942a27e07e
  1. 3
      app/src/main/java/io/legado/app/help/exoplayer/ExoPlayerHelper.kt

@ -18,8 +18,7 @@ object ExoPlayerHelper {
fun createMediaSource(
uri: Uri,
defaultRequestProperties: Map<String, String>,
overrideExtension: String? = null
defaultRequestProperties: Map<String, String>
): MediaSource {
val mediaItem = MediaItem.fromUri(uri)
val mediaSourceFactory = ProgressiveMediaSource.Factory(

Loading…
Cancel
Save