[mirotalksfu] - #194 Fix typo
هذا الالتزام موجود في:
@@ -64,7 +64,7 @@ let BRAND = {
|
||||
},
|
||||
about: {
|
||||
imageUrl: '../images/mirotalk-logo.gif',
|
||||
title: '<strong>WebRTC SFU v1.7.81</strong>',
|
||||
title: '<strong>WebRTC SFU v1.7.82</strong>',
|
||||
html: `
|
||||
<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 CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.7.81
|
||||
* @version 1.7.82
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -5156,9 +5156,9 @@ async function applyVirtualBackground(videoElement, stream, blurLevel, backgroun
|
||||
virtualBackgroundTransparent = null;
|
||||
} else if (backgroundTransparent) {
|
||||
videoElement.srcObject = await virtualBackground.applyTransparentVirtualBackgroundToWebRTCStream(videoTrack);
|
||||
virtualBackgroundTransparent = true;
|
||||
virtualBackgroundBlurLevel = null;
|
||||
virtualBackgroundSelectedImage = null;
|
||||
virtualBackgroundTransparent = true;
|
||||
} else {
|
||||
videoElement.srcObject = stream; // Default case, use original stream
|
||||
virtualBackgroundBlurLevel = null;
|
||||
@@ -5290,7 +5290,7 @@ function showAbout() {
|
||||
position: 'center',
|
||||
imageUrl: BRAND.about?.imageUrl && BRAND.about.imageUrl.trim() !== '' ? BRAND.about.imageUrl : image.about,
|
||||
customClass: { image: 'img-about' },
|
||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.7.81',
|
||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.7.82',
|
||||
html: `
|
||||
<br />
|
||||
<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 CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.7.81
|
||||
* @version 1.7.82
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -1548,17 +1548,13 @@ class RoomClient {
|
||||
videoTrack,
|
||||
virtualBackgroundBlurLevel,
|
||||
);
|
||||
}
|
||||
|
||||
if (virtualBackgroundSelectedImage) {
|
||||
} else if (virtualBackgroundSelectedImage) {
|
||||
// Apply virtual background to WebRTC stream
|
||||
stream = await virtualBackground.applyVirtualBackgroundToWebRTCStream(
|
||||
videoTrack,
|
||||
virtualBackgroundSelectedImage,
|
||||
);
|
||||
}
|
||||
|
||||
if (virtualBackgroundTransparent) {
|
||||
} else if (virtualBackgroundTransparent) {
|
||||
// Apply Transparent virtual background to WebRTC stream
|
||||
stream = await virtualBackground.applyTransparentVirtualBackgroundToWebRTCStream(videoTrack);
|
||||
}
|
||||
@@ -1924,12 +1920,12 @@ class RoomClient {
|
||||
virtualBackgroundTransparent = null;
|
||||
} else if (backgroundImage) {
|
||||
virtualBackgroundSelectedImage = backgroundImage;
|
||||
virtualBackgroundTransparent = null;
|
||||
virtualBackgroundBlurLevel = null;
|
||||
virtualBackgroundTransparent = null;
|
||||
} else if (backgroundTransparent) {
|
||||
virtualBackgroundTransparent = true;
|
||||
virtualBackgroundSelectedImage = null;
|
||||
virtualBackgroundBlurLevel = null;
|
||||
virtualBackgroundSelectedImage = null;
|
||||
} else {
|
||||
virtualBackgroundSelectedImage = null;
|
||||
virtualBackgroundBlurLevel = null;
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم