TTVideoEngineUrlSource class

Inheritance

Constructors

TTVideoEngineUrlSource({List<String>? urls, String? cacheKey, String? vid, List<String>? urlExpiredTimes, bool? isHDRSource})
TTVideoEngineUrlSource.fromJson(Map<String, dynamic> json)
factory
TTVideoEngineUrlSource.initWithURL(String? url, String? cacheKey)
factory
TTVideoEngineUrlSource.initWithURLS(List<String>? urls, String? cacheKey)

Properties

cacheKey String?
getter/setter pair
codecStrategy TTVideoEngineCodecStrategy
getter/setter pairinherited
enableFallbackRefresh bool
getter/setter pairinherited
encodeType TTVideoEngineEncodeType
getter/setter pair
getUniqueId String?
no setteroverride
getVid String?
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isHDRSource bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceType TTVideoEngineSourceType
no setteroverride
urlExpiredTimes List<String>?
getter/setter pair
urls List<String>?
getter/setter pair
vid String?
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJsonToMediaSource(Map<String, dynamic> json) TTVideoEngineMediaSource