|
@@ -5,7 +5,7 @@ import android.os.Build
|
|
|
import androidx.annotation.RequiresApi
|
|
import androidx.annotation.RequiresApi
|
|
|
|
|
|
|
|
@RequiresApi(Build.VERSION_CODES.M)
|
|
@RequiresApi(Build.VERSION_CODES.M)
|
|
|
-class StreamMediaDataSource(var bytes: ByteArray) : MediaDataSource() {
|
|
|
|
|
|
|
+class StreamMediaDataSource(val bytes: ByteArray) : MediaDataSource() {
|
|
|
|
|
|
|
|
override fun close() {
|
|
override fun close() {
|
|
|
}
|
|
}
|
|
@@ -31,4 +31,4 @@ class StreamMediaDataSource(var bytes: ByteArray) : MediaDataSource() {
|
|
|
return bytes.size.toLong()
|
|
return bytes.size.toLong()
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-}
|
|
|
|
|
|
|
+}
|