PlayerAsmsUtils class

Base helper class for ASMS parsing.

Constructors

PlayerAsmsUtils()

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 Methods

getDataFromUrl(String url, [Map<String, String?>? headers]) Future<String?>
Request data from given uri along with headers. May return null if resource is not available or on error.
isDataSourceAsms(String url) bool
Check if given url is HLS / DASH-type data source.
isDataSourceDash(String url) bool
Check if given url is DASH-type data source.
isDataSourceHls(String url) bool
Check if given url is HLS-type data source.
parse(String data, String masterPlaylistUrl) Future<PlayerKidDataHolder>
Parse playlist based on type of stream.