flutter_alilistplayer library

Classes

AliMediaInfo
Represents media metadata from Alibaba Cloud SDK. 阿里云 SDK 返回的媒体信息模型。
AliPlayerGlobalSettings
GlobalSetting 特定功能
AliPlayerView
AliTrackInfo
Represents a media track (audio, video, or subtitle) info. 媒体轨道(音视频或字幕)信息模型。
AlphaRenderMode
AlphaRenderMode
AVPConfig
AVPConfig设置
AVPFilterInfo
AVPMediaInfo
AVPThumbnailInfo
AVPTrackInfo
BaseVideoSource
视频源基础抽象类 定义了视频源的基本结构和接口
DownloadEvent
下载事件回调
EventChanneldef
FlutterAliListPlayer
FlutterAliplayer
FlutterAvpdef
GlobalEnv
设置环境Env
InfoCode
infoCode
LogLevel
Log 日志级别
MirrorMode
*@brief Mirroring mode/
PixelNumber
PlayerType
PlayState
播放器状态
PreloadConfig
预加载配置类 用于配置媒体预加载的相关参数
RotateMode
*@brief Rotate mode/
ScaleMode
SeekMode
UrlSource
URL预加载任务类 用于处理基于直接URL的视频源预加载
VidAuth
VID+Auth视频源类 用于处理基于VID和PlayAuth的视频源
VidSourceConfig
VID源配置类 用于配置VID类型的视频源参数
VidSts
VID+STS视频源类 用于处理基于VID和STS凭证的视频源

Enums

AliPlayerAudioSesstionType
播放器音频设置选择
AliPlayerViewTypeForAndroid
Android 渲染 View 类型
AVPIpResolveType
IP 解析类型
AVPOption
AVPPropertyKey
获取信息播放器的key
DocTypeForIOS
iOS 沙盒目录类型
EncryptionType
encryptionType
EncryptType
encryptType
SupportFeatureType
是否支持的功能的类型
TrackType
TrackInfo 获取current Type
VideoSourceType
视频源类型枚举 定义了支持的视频源类型:URL、VID+Auth、VID+STS

Typedefs

AliPlayerViewCreatedCallback = void Function(int viewId)
OnCompletion = void Function(String playerId)
OnError = void Function(int errorCode, String? errorExtra, String? errorMsg, String playerId)
OnEventReportParams = void Function(Map params, String playerId)
OnInfo = void Function(int? infoCode, int? extraValue, String? extraMsg, String playerId)
OnLoadingBegin = void Function(String playerId)
OnLoadingEnd = void Function(String playerId)
OnLoadingProgress = void Function(int percent, double? netSpeed, String playerId)
OnLogInfoCallback = void Function(int level, String strlog)
OnPipStatusChanged = void Function(bool playing, String playerId)
OnPrepared = void Function(String playerId)
OnRenderingStart = void Function(String playerId)
OnSeekComplete = void Function(String playerId)
OnSeekLiveCompletion = void Function(int playTime, String playerId)
OnSeiData = void Function(int type, Uint8List uuid, Uint8List data, String playerId)
OnSnapShot = void Function(String path, String playerId)
OnStateChanged = void Function(int newState, String playerId)
OnStreamSwitchedFail = void Function(String url, int errorCode, String errorMsg)
OnStreamSwitchedSuccess = void Function(String url)
OnSubtitleExtAdded = void Function(int trackIndex, String url, String playerId)
OnSubtitleHeader = void Function(int trackIndex, String head, String playerId)
OnSubtitleHide = void Function(int trackIndex, int subtitleID, String playerId)
OnSubtitleShow = void Function(int trackIndex, int subtitleID, String subtitle, String playerId)
OnSubTrackReady = void Function(String playerId)
OnThumbnailGetFail = void Function(String playerId)
OnThumbnailGetSuccess = void Function(Uint8List bitmap, Int64List range, String playerId)
OnThumbnailPreparedFail = void Function(String playerId)
OnThumbnailPreparedSuccess = void Function(String playerId)
OnTimeShiftUpdater = void Function(int currentTime, int shiftStartTime, int shiftEndTime, String playerId)
OnTrackChanged = void Function(dynamic value, String playerId)
OnTrackReady = void Function(String playerId)
OnVideoRendered = void Function(int? timeMs, int? pts, String playerId)
OnVideoSizeChanged = void Function(int width, int height, int? rotation, String playerId)
OnWillStartPip = void Function(bool pipStatus, String playerId)
OnWillStopPip = void Function(bool pipStatus, String playerId)