Input Provider
An interface that provides an InputStream from a given position.
This is used for Streamable.Source.Raw to provide the stream data.
Functions
Link copied to clipboard
abstract suspend fun provide(position: Long, length: Long): <Error class: unknown class><InputStream, Long>
Provides an InputStream from a given position.
Link copied to clipboard
fun Streamable.InputProvider.toSource(id: String, isVideo: Boolean = false, isLive: Boolean = false): Streamable.Source.Raw