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( fun createMediaSource(
uri: Uri, uri: Uri,
defaultRequestProperties: Map<String, String>, defaultRequestProperties: Map<String, String>
overrideExtension: String? = null
): MediaSource { ): MediaSource {
val mediaItem = MediaItem.fromUri(uri) val mediaItem = MediaItem.fromUri(uri)
val mediaSourceFactory = ProgressiveMediaSource.Factory( val mediaSourceFactory = ProgressiveMediaSource.Factory(

Loading…
Cancel
Save