[mirotalk] - improvements

This commit is contained in:
Miroslav Pejic
2022-08-06 10:59:27 +02:00
parent ec693db97e
commit 43569945e2
+4 -3
View File
@@ -3040,7 +3040,8 @@ async function gotStream(stream) {
await refreshMyLocalStream(stream, true);
if (myVideoChange) {
setMyVideoStatusTrue();
if (isMobileDevice && !isCamMirrored) {
// This fix IPadPro - Tablet mirror of the back camera
if ((isMobileDevice || isIPadDevice || isTabletDevice) && !isCamMirrored) {
myVideo.classList.toggle('mirror');
isCamMirrored = true;
}
@@ -4305,7 +4306,7 @@ function downloadChatMsgs() {
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
playSound('ok');
playSound('download');
}
/**
@@ -4319,7 +4320,7 @@ function downloadCaptions() {
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
playSound('ok');
playSound('download');
}
/**