setupStream

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


fun setupStream(    baseFile: SafeFile,     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.