At least one param is required. blur: true supersedes imageData or fileUrl params
blur blur user's native background. Using blur: true will trigger a user-facing pop-up confirmation dialog in the client to let the user allow or deny the action. The function will either be executed if allowed, or the app will receive an error with code 10017 if denied. Best practice is to show the corresponding error message.
imageData limited to 15MB after encoding
fileUrl URL of the virtual background image. Ignored if blur is true
At least one param is required.
blur: true
supersedesimageData
orfileUrl
paramsblur
blur user's native background. Usingblur: true
will trigger a user-facing pop-up confirmation dialog in the client to let the user allow or deny the action. The function will either be executed if allowed, or the app will receive an error with code10017
if denied. Best practice is to show the corresponding error message.imageData
limited to 15MB after encodingfileUrl
URL of the virtual background image. Ignored ifblur
is trueSee
https://developer.mozilla.org/en-US/docs/Web/API/ImageData|imageData