From b7d1cabf720d6934d77d18e934a62ff6d5fc309e Mon Sep 17 00:00:00 2001 From: Seyed Mostafa Hasani Date: Tue, 13 Aug 2024 11:28:31 +0330 Subject: [PATCH] refactor(android): migrate DefaultDashChunkSource to Kotlin (#4078) * refactor(android): migrate DefaultDashChunkSource to Kotlin --- .../media3/exoplayer/dash/DefaultDashChunkSource.java | 10 ---------- .../media3/exoplayer/dash/DefaultDashChunkSource.kt | 7 +++++++ 2 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 android/src/main/java/androidx/media3/exoplayer/dash/DefaultDashChunkSource.java create mode 100644 android/src/main/java/androidx/media3/exoplayer/dash/DefaultDashChunkSource.kt diff --git a/android/src/main/java/androidx/media3/exoplayer/dash/DefaultDashChunkSource.java b/android/src/main/java/androidx/media3/exoplayer/dash/DefaultDashChunkSource.java deleted file mode 100644 index 95026f07..00000000 --- a/android/src/main/java/androidx/media3/exoplayer/dash/DefaultDashChunkSource.java +++ /dev/null @@ -1,10 +0,0 @@ -package androidx.media3.exoplayer.dash; - -import androidx.media3.datasource.DataSource; - -public class DefaultDashChunkSource { - public static final class Factory { - public Factory(DataSource.Factory mediaDataSourceFactory) { - } - } -} diff --git a/android/src/main/java/androidx/media3/exoplayer/dash/DefaultDashChunkSource.kt b/android/src/main/java/androidx/media3/exoplayer/dash/DefaultDashChunkSource.kt new file mode 100644 index 00000000..54dce847 --- /dev/null +++ b/android/src/main/java/androidx/media3/exoplayer/dash/DefaultDashChunkSource.kt @@ -0,0 +1,7 @@ +package androidx.media3.exoplayer.dash + +import androidx.media3.datasource.DataSource + +class DefaultDashChunkSource { + class Factory(private val mediaDataSourceFactory: DataSource.Factory) +}