/// <summary> /// Converts most fitting streams for the specified video ID. /// </summary> public async Task ConvertStreamsAsync( VideoId videoId, ConversionOptions options, IProgress <double>?progress = null, CancellationToken cancellationToken = default) { var streamManifest = await _client.GetManifestAsync(videoId); var streamInfos = GetBestMediaStreamInfos(streamManifest, options.Format).ToArray(); await ConvertStreamsAsync( streamInfos, options, progress, cancellationToken ); }