BaiduMediaRequestType enum

type User-Agent 分片格式 输出视频分辨率 备注
M3U8_AUTO_480 xpanvideo;$appName;$appVersion;$sysName;$sysVersion;ts 视频ts 480p 通用hls协议
M3U8_AUTO_720 xpanvideo;$appName;$appVersion;$sysName;$sysVersion;ts 视频ts 720p 通用hls协议
M3U8_AUTO_1080 xpanvideo;$appName;$appVersion;$sysName;$sysVersion;ts 视频ts 1080p 通用hls协议,输出分辨率会根据原视频分辨率自动调整到最大
M3U8_FLV_264_480 xpanvideo;$appName;$appVersion;$sysName;$sysVersion;flv 视频flv 480p 私有协议,需播放器额外特殊支持,或使用网盘播放器
M3U8_MP3_128 xpanaudio;$appName;$appVersion;$sysName;$sysVersion;mp3 音频mp3 私有协议,需播放器额外支持,或使用网盘播放器
M3U8_HLS_MP3_128 xpanaudio;$appName;$appVersion;$sysName;$sysVersion;ts 音频ts 通用hls协议
Inheritance

Constructors

BaiduMediaRequestType()
const

Values

M3U8_AUTO_480 → const BaiduMediaRequestType

M3U8_AUTO_480

M3U8_AUTO_720 → const BaiduMediaRequestType

M3U8_AUTO_720

M3U8_AUTO_1080 → const BaiduMediaRequestType

M3U8_AUTO_1080

M3U8_FLV_264_480 → const BaiduMediaRequestType

M3U8_FLV_264_480

M3U8_MP3_128 → const BaiduMediaRequestType

M3U8_MP3_128

M3U8_HLS_MP3_128 → const BaiduMediaRequestType

M3U8_HLS_MP3_128

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<BaiduMediaRequestType>
A constant List of the values in this enum, in order of their declaration.