類別:StreamInfo

建構函式

StreamInfo

new StreamInfo()

從 SDK 傳送至播放器的串流相關資訊。

屬性

format

static

ima.StreamFormat

影片格式:hls 或 dash。 在 ima.StreamFormat 中定義。

資訊清單

static

字串

串流的網址。

streamId

static

字串

串流的專屬 ID。

streamType

static

ima.StreamType

影片類型:直播或點播。 定義於 ima.StreamType。

字幕

static

(T 的陣列或無效數組)

如有字幕,請提供字幕。否則無效。

方法

createStreamInfo

static

createStreamInfo() 會傳回 ima.StreamInfo

傳回

ima.StreamInfo