[mirotalksfu] - #194 Update default Virtual Backgrounds and Fix
3
.gitignore
مباع
@@ -20,3 +20,6 @@ docker-compose.yml
|
|||||||
docker-push.sh
|
docker-push.sh
|
||||||
rec
|
rec
|
||||||
rtmp
|
rtmp
|
||||||
|
|
||||||
|
# virtual background
|
||||||
|
custom
|
||||||
@@ -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 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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.7.51
|
* @version 1.7.52
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mirotalksfu",
|
"name": "mirotalksfu",
|
||||||
"version": "1.7.51",
|
"version": "1.7.52",
|
||||||
"description": "WebRTC SFU browser-based video calls",
|
"description": "WebRTC SFU browser-based video calls",
|
||||||
"main": "Server.js",
|
"main": "Server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
"sanitize-filename": "^1.6.3",
|
"sanitize-filename": "^1.6.3",
|
||||||
"socket.io": "4.8.1",
|
"socket.io": "4.8.1",
|
||||||
"swagger-ui-express": "5.0.1",
|
"swagger-ui-express": "5.0.1",
|
||||||
"uuid": "11.0.5"
|
"uuid": "11.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"mocha": "^11.1.0",
|
"mocha": "^11.1.0",
|
||||||
|
|||||||
|
قبل العرض: | الارتفاع: | الحجم: 140 KiB |
|
قبل العرض: | الارتفاع: | الحجم: 34 KiB |
|
قبل العرض: | الارتفاع: | الحجم: 163 KiB |
|
قبل العرض: | الارتفاع: | الحجم: 328 KiB |
|
قبل العرض: | الارتفاع: | الحجم: 269 KiB |
|
قبل العرض: | الارتفاع: | الحجم: 484 KiB |
|
قبل العرض: | الارتفاع: | الحجم: 94 KiB |
|
قبل العرض: | الارتفاع: | الحجم: 39 KiB |
|
قبل العرض: | الارتفاع: | الحجم: 50 KiB |
|
قبل العرض: | الارتفاع: | الحجم: 22 KiB |
ثنائية
public/images/virtual-background/default/background-1.jpg
Normal file
|
بعد العرض: | الارتفاع: | الحجم: 136 KiB |
ثنائية
public/images/virtual-background/default/background-10.jpg
Normal file
|
بعد العرض: | الارتفاع: | الحجم: 21 KiB |
|
قبل العرض: | الارتفاع: | الحجم: 477 KiB بعد العرض: | الارتفاع: | الحجم: 477 KiB |
ثنائية
public/images/virtual-background/default/background-2.webp
Normal file
|
بعد العرض: | الارتفاع: | الحجم: 146 KiB |
ثنائية
public/images/virtual-background/default/background-3.jpg
Normal file
|
بعد العرض: | الارتفاع: | الحجم: 319 KiB |
ثنائية
public/images/virtual-background/default/background-4.jpg
Normal file
|
بعد العرض: | الارتفاع: | الحجم: 258 KiB |
ثنائية
public/images/virtual-background/default/background-5.jpg
Normal file
|
بعد العرض: | الارتفاع: | الحجم: 463 KiB |
ثنائية
public/images/virtual-background/default/background-6.jpg
Normal file
|
بعد العرض: | الارتفاع: | الحجم: 89 KiB |
ثنائية
public/images/virtual-background/default/background-7.jpg
Normal file
|
بعد العرض: | الارتفاع: | الحجم: 37 KiB |
ثنائية
public/images/virtual-background/default/background-8.jpg
Normal file
|
بعد العرض: | الارتفاع: | الحجم: 32 KiB |
ثنائية
public/images/virtual-background/default/background-9.jpg
Normal file
|
بعد العرض: | الارتفاع: | الحجم: 49 KiB |
@@ -64,7 +64,7 @@ let BRAND = {
|
|||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
imageUrl: '../images/mirotalk-logo.gif',
|
imageUrl: '../images/mirotalk-logo.gif',
|
||||||
title: '<strong>WebRTC SFU v1.7.51</strong>',
|
title: '<strong>WebRTC SFU v1.7.52</strong>',
|
||||||
html: `
|
html: `
|
||||||
<button
|
<button
|
||||||
id="support-button"
|
id="support-button"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
|
|||||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
* @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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.7.51
|
* @version 1.7.52
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -2323,14 +2323,15 @@ async function changeCamera(deviceId) {
|
|||||||
);
|
);
|
||||||
checkInitConfig();
|
checkInitConfig();
|
||||||
handleCameraMirror(initVideo);
|
handleCameraMirror(initVideo);
|
||||||
if (isVideoAllowed) {
|
|
||||||
await loadVirtualBackgroundSettings();
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error('[Error] changeCamera', error);
|
console.error('[Error] changeCamera', error);
|
||||||
handleMediaError('video/audio', error, '/');
|
handleMediaError('video/audio', error, '/');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (isVideoAllowed) {
|
||||||
|
await loadVirtualBackgroundSettings();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ####################################################
|
// ####################################################
|
||||||
@@ -5269,7 +5270,7 @@ function showAbout() {
|
|||||||
position: 'center',
|
position: 'center',
|
||||||
imageUrl: BRAND.about?.imageUrl && BRAND.about.imageUrl.trim() !== '' ? BRAND.about.imageUrl : image.about,
|
imageUrl: BRAND.about?.imageUrl && BRAND.about.imageUrl.trim() !== '' ? BRAND.about.imageUrl : image.about,
|
||||||
customClass: { image: 'img-about' },
|
customClass: { image: 'img-about' },
|
||||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.7.51',
|
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.7.52',
|
||||||
html: `
|
html: `
|
||||||
<br />
|
<br />
|
||||||
<div id="about">
|
<div id="about">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
* @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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.7.51
|
* @version 1.7.52
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -119,17 +119,17 @@ const image = {
|
|||||||
link: '../images/link.png',
|
link: '../images/link.png',
|
||||||
upload: '../images/upload.png',
|
upload: '../images/upload.png',
|
||||||
virtualBackground: {
|
virtualBackground: {
|
||||||
one: '../images/virtual-background/background-1.jpg',
|
one: '../images/virtual-background/default/background-1.jpg',
|
||||||
two: '../images/virtual-background/background-2.jpg',
|
two: '../images/virtual-background/default/background-2.webp',
|
||||||
three: '../images/virtual-background/background-3.jpg',
|
three: '../images/virtual-background/default/background-3.jpg',
|
||||||
four: '../images/virtual-background/background-4.jpg',
|
four: '../images/virtual-background/default/background-4.jpg',
|
||||||
five: '../images/virtual-background/background-5.jpg',
|
five: '../images/virtual-background/default/background-5.jpg',
|
||||||
six: '../images/virtual-background/background-6.jpg',
|
six: '../images/virtual-background/default/background-6.jpg',
|
||||||
seven: '../images/virtual-background/background-7.jpg',
|
seven: '../images/virtual-background/default/background-7.jpg',
|
||||||
eight: '../images/virtual-background/background-8.jpg',
|
eight: '../images/virtual-background/default/background-8.jpg',
|
||||||
nine: '../images/virtual-background/background-9.jpg',
|
nine: '../images/virtual-background/default/background-9.jpg',
|
||||||
ten: '../images/virtual-background/background-10.jpg',
|
ten: '../images/virtual-background/default/background-10.jpg',
|
||||||
eleven: '../images/virtual-background/background-11.gif',
|
eleven: '../images/virtual-background/default/background-11.gif',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||