setupStream

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


fun setupStream(baseFile: SafeFile, name: String, folder: String?, extension: String, tryResume: Boolean): VideoDownloadManager.StreamData

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