這個類別用於指定 Video Stitcher 直播串流要求的屬性。
| 建構函式 | |
|---|---|
constructor
|
|
| 屬性 | |
|---|---|
ad
|
您可以在串流請求中覆寫一組有限的廣告代碼參數。
沿用自「
|
api
|
串流要求 API 金鑰。
沿用自「
|
auth
|
串流要求授權權杖。
沿用自「
|
custom
|
自訂資產金鑰,用於判斷要播放哪個串流。
沿用自「
|
enable
|
允許在要求中加入隨機數。
沿用自「
|
format
|
要要求的串流格式。
沿用自「
|
live
|
在 Video Stitcher 中設定直播時使用的活動 ID。 |
network
|
串流要求聯播網代碼。
沿用自「
|
o
|
用於 Video Stitcher 的 OAuth 權杖。 |
omid
|
設定物件,用於將驗證供應商對應至 OMID 存取模式。
沿用自「
|
project
|
Video Stitcher 的專案編號。 |
region
|
用於 Video Stitcher 的區域。 |
stream
|
用於透過串流播放活動監控器排解串流問題的 ID。
沿用自「
|
video
|
工作階段選項會為這項 Video Stitcher 串流要求設定 Video Stitcher 專屬參數。
|
建構函式
constructor
new VideoStitcherLiveStreamRequest(): VideoStitcherLiveStreamRequest
屬性
adTagParameters
adTagParameters: {
[key: string]: string;
}
dai-ot 和 dai-ov 參數設定串流變體偏好設定。詳情請參閱
覆寫串流變體參數。
apiKey
apiKey: string
authToken
authToken: string
customAssetKey
customAssetKey: string
enableNonce
enableNonce: boolean
false 值。
格式
format:
StreamFormat
hls(預設)dash
liveStreamEventId
liveStreamEventId: string
networkCode
networkCode: string
oAuthToken
oAuthToken: string
omidAccessModeRules
omidAccessModeRules: {
[key: string]: OmidAccessMode;
}
projectNumber
projectNumber: string
region
region: string
streamActivityMonitorId
streamActivityMonitorId: string
videoStitcherSessionOptions
videoStitcherSessionOptions: {
[key: string]: unknown;
}