miroslavpejic85 / mirotalksfu

🏆 WebRTC - SFU - Simple, Secure, Scalable Real-Time Video Conferences Up to 8k, compatible with all browsers and platforms.
https://sfu.mirotalk.com
GNU Affero General Public License v3.0
2.1k stars 333 forks source link

Change Camera background #165

Open haseebkhalid907 opened 2 weeks ago

haseebkhalid907 commented 2 weeks ago

Feature request

Rec_2024-09-19-11_36_58.webm

Pros

I am currently working on a feature in my project to change the camera's background during a video call session. The issue I'm facing is that the virtual background only changes for the user who has selected it and does not broadcast to other participants in the call.

Branch: start-main

Steps I've taken so far:

Successfully implemented the feature to change the camera's background. The background change is visible locally to the user who selects it. Issue:

The virtual background does not broadcast to other participants during the call. Only the user who has selected the background can see the change. I would greatly appreciate any guidance or suggestions on how to resolve this issue. Thank you in advance for your help!

Additional context

No response

miroslavpejic85 commented 2 weeks ago

To archive this, feel free to check out our post here, where We explain how to create real-time virtual backgrounds using BodyPix and a webcam in HTML and JavaScript.

Instead of traditional virtual backgrounds, which can lead to higher resource consumption on devices without dedicated hardware, causing lag or decreased performance, we offer a unique Privacy Mode feature. This allows you to create a circular privacy overlay around your face, concealing your background and focusing solely on you. This enhances your video conferencing experience while maintaining your privacy with 0 resource consumption!

mirotalk-sfu-privacy-mode

I'm currently developing this feature as part of my ongoing project.

Also, I haven't come across any public forks of the project in accordance with the AGPLv3 license.

Best regards!