Skip to content
New issue

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

feat: add web-core 2.x upgrade guide #383

Merged
merged 2 commits into from
Jul 31, 2024
Merged

feat: add web-core 2.x upgrade guide #383

merged 2 commits into from
Jul 31, 2024

Conversation

palashgo
Copy link
Contributor

No description provided.

Copy link

cloudflare-workers-and-pages bot commented Jul 31, 2024

Deploying dyte-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 17801bb
Status: ✅  Deploy successful!
Preview URL: https://7773e66a.dyte-docs.pages.dev
Branch Preview URL: https://feat-web-2-x.dyte-docs.pages.dev

View logs

const videoBackgroundTransformer = await DyteVideoBackgroundTransformer.init();
const videoBackgroundTransformer = await DyteVideoBackgroundTransformer.init({
meeting,
segmentationConfig: {
Copy link
Contributor

@ravindra-dyte ravindra-dyte Jul 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to mention that segmentationConfig is optional and Users don't have to pass it unless they want any changes in model.

},
});

meeting.self.setVideoMiddlewareGlobalConfig({ disablePerFrameCanvasRendering: true });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setVideoMiddlewareGlobalConfig function needs to be awaited.

@palashgo palashgo merged commit e8490be into main Jul 31, 2024
2 checks passed
@palashgo palashgo deleted the feat/web-2.x branch July 31, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants