VesperDownloadSource.fromSource constructor
VesperDownloadSource.fromSource({
- required VesperPlayerSource source,
- VesperDownloadContentFormat? contentFormat,
- String? manifestUri,
Implementation
factory VesperDownloadSource.fromSource({
required VesperPlayerSource source,
VesperDownloadContentFormat? contentFormat,
String? manifestUri,
}) {
return VesperDownloadSource(
source: source,
contentFormat: contentFormat ?? _inferContentFormat(source.protocol),
manifestUri: manifestUri,
);
}