VideoProxy class

Manages the initialization and configuration of the local video proxy server, HLS playlist parser, download manager, and URL matcher for video streaming and caching.

Constructors

VideoProxy()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

downloadManager ↔ DownloadManager
Download manager instance for handling video segment downloads.
getter/setter pair
hlsPlaylistParser ↔ HlsPlaylistParser
HLS playlist parser instance for parsing HLS playlists.
getter/setter pair
httpClientBuilderImpl ↔ HttpClientBuilder
HTTP client builder for creating HTTP clients.
getter/setter pair
urlMatcherImpl ↔ UrlMatcher
URL matcher implementation for filtering and matching video URLs.
getter/setter pair

Static Methods

init({String? ip, int? port, int maxMemoryCacheSize = 100, int maxStorageCacheSize = 1024, String cacheDir = '', bool logPrint = false, int segmentSize = 2, int maxConcurrentDownloads = 4, UrlMatcher? urlMatcher, HttpClientBuilder? httpClientBuilder}) → Future<void>
Initializes the video proxy server and related components.
isRunning() → Future<bool>
Checks whether the proxy server is currently reachable.
restart() → Future<void>
Restarts the local proxy server and recreates the download manager.