flutter_video_caching library

Classes

CencType
CustomMimeType
DownloadManager
Manages the lifecycle and orchestration of download isolates. This class is responsible for initializing, tracking, and disposing download isolates, as well as delegating download tasks.
DownloadTask
Represents a single download task, including its metadata, status, and progress.
DrmInitData
Format
Representation of a media format.
HlsMasterPlaylist
HlsMediaPlaylist
HlsPlaylist
HlsPlaylistParser
HlsSegment
Represents a single HLS segment with its key, URL, and download status.
HlsTrackMetadataEntry
HttpClientBuilder
An abstract class that defines a builder for creating HttpClient instances.
HttpClientDefault
A default implementation of the HttpClientBuilder abstract class.
LibUtil
LocalProxyServer
A local HTTP proxy server implementation. Listens on a specified IP and port, accepts incoming socket connections, parses HTTP requests, and delegates video caching logic.
LruCacheSingleton
A singleton class that manages both in-memory and disk-based LRU caches.
Metadata
MimeTypes
Rendition
SchemeData
Segment
UrlMatcher
An abstract class that defines a set of methods for matching and identifying specific types of media-related URIs.
UrlMatcherDefault
This file provides a default implementation of the UrlMatcher abstract class, offering concrete logic to identify and process various types of media-related URIs.
UrlParserM3U8
M3U8 URL parser implementation. Handles caching, downloading, and parsing of HLS (M3U8) video streams. Implements the UrlParser interface for HLS video files.
UrlParserMp4
MP4 URL parser implementation. Handles caching, downloading, and parsing of MP4 video files.
Util
Variant
VariantInfo
VideoCaching
Provides video caching and parsing utilities for different video formats. Supports parsing, caching, and pre-caching of video resources (e.g., MP4, HLS/M3U8).
VideoProxy
Manages the initialization and configuration of the local video proxy server, HLS playlist parser, download manager, and URL matcher for video streaming and caching.

Enums

DownloadStatus
Defines the possible statuses for a download task. This enum is used to track and manage the state of a download process throughout its lifecycle, from initialization to completion or failure.

Extensions

UrlExt on String
Extension methods for String to provide URL manipulation and hashing utilities.

Exceptions / Errors

ParserException