C# Class ADBaseLibrary.AdobeHDS.FragmentProcessor

Afficher le fichier Open project: maxpiva/AnimeOfflineDownloader Class Usage Examples

Méthodes publiques

Méthode Description
CloseFile ( ) : Task
DoNextFragment ( ) : Task
FragmentProcessor ( CookieCollection cookies, NameValueCollection headers, string uagent, int timeout, string referer, IWebProxy proxy, int threads, int retries, string outputfile ) : System
GetNextTag ( Stream stream ) : Task
InitFile ( ) : Task
Start ( string baseurl, string guid, Manifest manifest, Media media, CancellationToken token, IProgress progress ) : Task

Private Methods

Méthode Description
CallAkamaiDecryptionService ( List ts ) : void
GetStream ( string url ) : Task
ProcessFragment ( Stream s, int fragment ) : Task
ProcessTag ( Tag tag ) : Task
ProcessTags ( List tags ) : Task
QueueTags ( List ts, int fragment ) : Task
ThreadProcessor ( CancellationToken token, IProgress progress ) : Task
WriteTag ( Tag tag ) : Task

Method Details

CloseFile() public méthode

public CloseFile ( ) : Task
Résultat Task

DoNextFragment() public méthode

public DoNextFragment ( ) : Task
Résultat Task

FragmentProcessor() public méthode

public FragmentProcessor ( CookieCollection cookies, NameValueCollection headers, string uagent, int timeout, string referer, IWebProxy proxy, int threads, int retries, string outputfile ) : System
cookies System.Net.CookieCollection
headers System.Collections.Specialized.NameValueCollection
uagent string
timeout int
referer string
proxy IWebProxy
threads int
retries int
outputfile string
Résultat System

GetNextTag() public méthode

public GetNextTag ( Stream stream ) : Task
stream Stream
Résultat Task

InitFile() public méthode

public InitFile ( ) : Task
Résultat Task

Start() public méthode

public Start ( string baseurl, string guid, Manifest manifest, Media media, CancellationToken token, IProgress progress ) : Task
baseurl string
guid string
manifest Manifest
media Media
token System.Threading.CancellationToken
progress IProgress
Résultat Task