setupStream

fun setupStream(context: Context, name: String, folder: String?, extension: String, tryResume: Boolean): VideoDownloadManager.StreamData(source)


fun setupStream(baseFile: <Error class: unknown class>, name: String, folder: String?, extension: String, tryResume: Boolean): VideoDownloadManager.StreamData(source)

Sets up the appropriate file and creates a data stream from the file. Used for initializing downloads.