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

Set virtual background through jitsi meet external API #15104

Open
Razor1700 opened this issue Sep 9, 2024 · 0 comments
Open

Set virtual background through jitsi meet external API #15104

Razor1700 opened this issue Sep 9, 2024 · 0 comments
Labels
feature-request Issue which suggest an idea, enhancement or feature to implement

Comments

@Razor1700
Copy link
Contributor

What problem are you trying to solve?

I got an application including jitsi meet external API to handle video call feature. Before joining a call, the user can setup his devices similar to what meet.jit.si behavior. From there, the api does not provide any endpoint to change the user virtual background so I cannot give the user that ability. During the call, I got a blur background checkbox to allow the user to quickly blur its background if wanted but same issue here.

What solution would you like to see?

If possible, I want to get a parameter to apply the background directly at the start of the iframe using configOverwrite and an endpoint to apply an equivalent of at least these 2 const from VirtualBackgrounds.tsx :

`const enableBlur = useCallback(async () => {
onOptionsChange({
backgroundEffectEnabled: true,
backgroundType: VIRTUAL_BACKGROUND_TYPE.BLUR,
blurValue: 25,
selectedThumbnail: 'blur'
});
logger.info('"Blur" option set for virtual background preview!');

}, []);`

`const enableSlideBlur = useCallback(async () => {
onOptionsChange({
backgroundEffectEnabled: true,
backgroundType: VIRTUAL_BACKGROUND_TYPE.BLUR,
blurValue: 8,
selectedThumbnail: 'slight-blur'
});
logger.info('"Slight-blur" option set for virtual background preview!');

}, []);`

Is there an alternative?

I considered to use the default jitsi feature of the iframe but some features doesn't fit what we are looking for. I also considered to use the jitsi meet external api but I don't have enough time to recreate an equivalent of what the iframe is doing so it's why I'm using iframe api.

@Razor1700 Razor1700 added the feature-request Issue which suggest an idea, enhancement or feature to implement label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Issue which suggest an idea, enhancement or feature to implement
Projects
None yet
Development

No branches or pull requests

1 participant