[mirotalksfu] - allow video 8k and 60fps, fix focus mode, update dep
هذا الالتزام موجود في:
@@ -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.5.36
|
||||
* @version 1.5.37
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -2047,7 +2047,7 @@ async function changeCamera(deviceId) {
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('[Error] changeCamera', error);
|
||||
handleMediaError('video/audio', error);
|
||||
handleMediaError('video/audio', error, '/');
|
||||
});
|
||||
}
|
||||
|
||||
@@ -2055,7 +2055,7 @@ async function changeCamera(deviceId) {
|
||||
// HANDLE MEDIA ERROR
|
||||
// ####################################################
|
||||
|
||||
function handleMediaError(mediaType, err) {
|
||||
function handleMediaError(mediaType, err, redirectURL = false) {
|
||||
sound('alert');
|
||||
|
||||
let errMessage = err;
|
||||
@@ -2103,8 +2103,6 @@ function handleMediaError(mediaType, err) {
|
||||
</ul>
|
||||
`;
|
||||
|
||||
const redirectURL = ['screen', 'screenType'].includes(mediaType) || !getUserMediaError ? false : '/';
|
||||
|
||||
popupHtmlMessage(null, image.forbidden, 'Access denied', html, 'center', redirectURL);
|
||||
|
||||
throw new Error(
|
||||
@@ -4332,7 +4330,7 @@ function showAbout() {
|
||||
imageUrl: image.about,
|
||||
customClass: { image: 'img-about' },
|
||||
position: 'center',
|
||||
title: 'WebRTC SFU v1.5.36',
|
||||
title: 'WebRTC SFU v1.5.37',
|
||||
html: `
|
||||
<br />
|
||||
<div id="about">
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم