From 1582ec07a2f8208eef00db3d1c854e3759fc79c9 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sun, 16 Mar 2025 19:06:48 +0100 Subject: [PATCH] [mirotalksfu] - #194 Add Transparent Virtual background --- app/src/Server.js | 2 +- package.json | 2 +- public/images/transparentBg.png | Bin 0 -> 477 bytes public/js/Brand.js | 2 +- public/js/Room.js | 36 ++++++++++++++++++++++-------- public/js/RoomClient.js | 31 +++++++++++++++++++++----- public/js/VirtualBackground.js | 38 +++++++++++++++++++++++++++++++- 7 files changed, 92 insertions(+), 19 deletions(-) create mode 100644 public/images/transparentBg.png diff --git a/app/src/Server.js b/app/src/Server.js index f6f346b1..96ce6356 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -58,7 +58,7 @@ dev dependencies: { * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.7.80 + * @version 1.7.81 * */ diff --git a/package.json b/package.json index 704698ac..97c664f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalksfu", - "version": "1.7.80", + "version": "1.7.81", "description": "WebRTC SFU browser-based video calls", "main": "Server.js", "scripts": { diff --git a/public/images/transparentBg.png b/public/images/transparentBg.png new file mode 100644 index 0000000000000000000000000000000000000000..972f809b7cb6426b3ddd03dbe9163a156a889496 GIT binary patch literal 477 zcmeAS@N?(olHy`uVBq!ia0vp^0YDtc!3-peCSSAyQkelhA+A9B-@kuS_P|AFL^OA=K;%M?q3{DK)e zjw^Dr&g6gjxJ+Whd`r!*XZKF5&3C`NP51Wd)R;gco0Tf65ey8BOr9=|ArXh)UiI#4 zHsEPU6!vKNz>)u=`ps|oqAN#3R)$2V-1B+*o?(BI>O@Bl#TJ34nder^{0OLy2XFVR^f&W>*NW4J$IaEVYwQ(fs^y!dto+~uXAK}Gz&O&B=7H8 X?Ix6zzil-z=oma*{an^LB{Ts5LP`5G literal 0 HcmV?d00001 diff --git a/public/js/Brand.js b/public/js/Brand.js index 21e71276..fa6e89f9 100644 --- a/public/js/Brand.js +++ b/public/js/Brand.js @@ -64,7 +64,7 @@ let BRAND = { }, about: { imageUrl: '../images/mirotalk-logo.gif', - title: 'WebRTC SFU v1.7.80', + title: 'WebRTC SFU v1.7.81', html: `