這個類別用於指定 VOD 串流要求的屬性。
| 建構函式 | |
|---|---|
constructor
|
|
| 屬性 | |
|---|---|
ad
|
您可以在串流請求中覆寫一組有限的廣告代碼參數。
|
api
|
串流要求 API 金鑰。 |
auth
|
串流要求授權權杖。 |
content
|
發布者內容的專屬 ID,來自內容管理系統 (CMS)。
|
enable
|
在要求中新增 Nonce。 |
format
|
要要求的串流格式。 |
network
|
串流要求聯播網代碼。 |
omid
|
設定物件,用於將驗證供應商對應至 OMID 存取模式。
|
stream
|
使用串流播放活動監控器排解串流播放問題時所需的 ID。 |
video
|
影片內容來源的 ID。 |
建構函式
constructor
new VODStreamRequest(): VODStreamRequest
屬性
adTagParameters
adTagParameters: {
[key: string]: string;
}
dai-ot 和 dai-ov 參數設定串流變體偏好設定。詳情請參閱 覆寫串流參數。
apiKey
apiKey: string
authToken
authToken: string
contentSourceId
contentSourceId: string
enableNonce
enableNonce: boolean
false 值。
格式
format:
StreamFormat
hls:預設dash
networkCode
networkCode: string
omidAccessModeRules
omidAccessModeRules: {
[key: string]: OmidAccessMode;
}
streamActivityMonitorId
streamActivityMonitorId: string
videoId
videoId: string