VideoBackgroundReplacementEffect interface
選択した置換ビデオ背景効果の属性が含まれます
- Extends
プロパティ
| effect |
ビデオの背景効果を置き換える効果の名前 |
| key | カスタム背景を一意に識別するためのキー |
継承されたプロパティ
| background |
背景画像のURL |
| effect |
'timeForEffectsWarningReached' イベントを発生させる前に待機する時間 (MS 単位)。 デフォルト値 - 20000 |
| fps |
「fpsWarningThresholdReached」イベントを発生させる前の最小 fps しきい値。 デフォルト値 - 5 |
プロパティの詳細
effectName
ビデオの背景効果を置き換える効果の名前
effectName: "replacement"
プロパティ値
"replacement"
key
カスタム背景を一意に識別するためのキー
key?: string
プロパティ値
string
継承されたプロパティの詳細
backgroundImageUrl
背景画像のURL
backgroundImageUrl: string
プロパティ値
string
継承元 BackgroundReplacementConfig.backgroundImageUrl
effectInitTimeThresholdInMs
'timeForEffectsWarningReached' イベントを発生させる前に待機する時間 (MS 単位)。 デフォルト値 - 20000
effectInitTimeThresholdInMs?: number
プロパティ値
number
継承元 BackgroundReplacementConfig.effectInitTimeThresholdInMs
fpsWarningThreshold
「fpsWarningThresholdReached」イベントを発生させる前の最小 fps しきい値。 デフォルト値 - 5
fpsWarningThreshold?: number
プロパティ値
number
継承元 BackgroundReplacementConfig.fpsWarningThreshold