We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Versions Next JS : 13.5.5 React : 18.2.0
import React, { Fragment } from "react"; import { createVonageMediaProcessor } from "@vonage/ml-transformers"; import bg1 from "../../../public/images/videocall/bg3.jpg"; // image is locallay imported const config = { transformerType: "VirtualBackground", backgroundAssetUri: bg1, }; class NonEMDRPatient extends React.Component { async componentDidMount() { const processor = await createVonageMediaProcessor(config); this.setState({ processor: processor, }); } applyBackground = async(assetUri) => { let { processor } = this.state; config.backgroundAssetUri = assetUri; await processor.setBackgroundOptions(config); }; handleRadioChange = (e) => { let { publisherObj } = this.state; this.setState({ bgRadio: e.target.value }, () => { this.applyBackground(bg1); } } }
Here is a screen shot of error
The text was updated successfully, but these errors were encountered:
@luqmanvonage @remi-deltombe-vonage please help on above
Sorry, something went wrong.
No branches or pull requests
Versions
Next JS : 13.5.5
React : 18.2.0
Here is a screen shot of error
The text was updated successfully, but these errors were encountered: