[mirotalksfu] - fix

هذا الالتزام موجود في:
Miroslav Pejic
2024-10-07 11:14:29 +02:00
الأصل 5f15bc43fd
التزام 181cb7408f
4 ملفات معدلة مع 7 إضافات و6 حذوفات

عرض الملف

@@ -55,7 +55,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.5.79 * @version 1.5.80
* *
*/ */
@@ -450,7 +450,7 @@ function startServer() {
app.get(['/newroom'], OIDCAuth, (req, res) => { app.get(['/newroom'], OIDCAuth, (req, res) => {
//log.info('/newroom - hostCfg ----->', hostCfg); //log.info('/newroom - hostCfg ----->', hostCfg);
if ((!OIDC.enabled && hostCfg.protected && !hostCfg.authenticated) || authHost.isRoomActive()) { if ((!OIDC.enabled && hostCfg.protected) || authHost.isRoomActive()) {
const ip = getIP(req); const ip = getIP(req);
if (allowedIP(ip)) { if (allowedIP(ip)) {
res.redirect('/'); res.redirect('/');

عرض الملف

@@ -1,6 +1,6 @@
{ {
"name": "mirotalksfu", "name": "mirotalksfu",
"version": "1.5.79", "version": "1.5.80",
"description": "WebRTC SFU browser-based video calls", "description": "WebRTC SFU browser-based video calls",
"main": "Server.js", "main": "Server.js",
"scripts": { "scripts": {

عرض الملف

@@ -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.5.79 * @version 1.5.80
* *
*/ */
@@ -4490,7 +4490,7 @@ function showAbout() {
imageUrl: image.about, imageUrl: image.about,
customClass: { image: 'img-about' }, customClass: { image: 'img-about' },
position: 'center', position: 'center',
title: 'WebRTC SFU v1.5.79', title: 'WebRTC SFU v1.5.80',
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.5.79 * @version 1.5.80
* *
*/ */
@@ -7948,6 +7948,7 @@ class RoomClient {
'default', 'default',
]; ];
//console.log('AVATARS LISTS', completion.response.avatars);
completion.response.avatars.forEach((avatar) => { completion.response.avatars.forEach((avatar) => {
avatar.avatar_states.forEach((avatarUi) => { avatar.avatar_states.forEach((avatarUi) => {
if ( if (