通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VideoBackgroundReplacementEffect interface

包含所选替换视频背景效果的属性

扩展

属性

effectName

替换视频背景效果的效果名称

key

用于自定义背景唯一标识的键

继承属性

backgroundImageUrl

背景图像的 URL

effectInitTimeThresholdInMs

触发 'timeForEffectsWarningReached' 事件之前的等待时间(以 MS 为单位)。 默认值 - 20000

fpsWarningThreshold

触发“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