PlayInfoListItem class

Constructors

PlayInfoListItem({required List<String> urls, required String cacheKey, required TTVideoEngineEncodeType codecType, required TTVideoEngineResolutionType resolution, List<String>? urlExpiredTimes, String? fileType, String? format, int? width, int? height, int? bitrate, String? playAuth})
PlayInfoListItem.fromJson(Map<String, dynamic> json)
factory

Properties

bitrate int?
video bitrate, required for ABR and seamless switch
final
cacheKey String
video cache key
final
codecType TTVideoEngineEncodeType
video codec type, h264, h265, h266
final
fileType String?
video file type, video, audio
final
format String?
video format, mp4, hls, dash, required for ABR and seamless switch
final
hashCode int
The hash code for this object.
no setterinherited
height int?
video height, required for ABR
final
playAuth String?
encrypted key, required for play private encrypted video
final
resolution TTVideoEngineResolutionType
resolution type
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urlExpiredTimes List<String>?
video url expired times
final
urls List<String>
video urls
final
width int?
video width, required for ABR
final

Methods

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

Operators

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