ima. StreamInfo
class static
建構函式
StreamInfo
new StreamInfo()
從 SDK 傳送至播放器的串流相關資訊。
屬性
format
static
影片格式:hls 或 dash。 在 ima.StreamFormat 中定義。
資訊清單
static
字串
串流的網址。
streamId
static
字串
串流的專屬 ID。
streamType
static
影片類型:直播或點播。 定義於 ima.StreamType。
字幕
static
(T 的陣列或無效數組)
如有字幕,請提供字幕。否則無效。
方法
createStreamInfo
static
createStreamInfo() 會傳回 ima.StreamInfo