[mirotalksfu] - fix settings moderator UI 4 mobile
هذا الالتزام موجود في:
@@ -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.6.24
|
* @version 1.6.25
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mirotalksfu",
|
"name": "mirotalksfu",
|
||||||
"version": "1.6.24",
|
"version": "1.6.25",
|
||||||
"description": "WebRTC SFU browser-based video calls",
|
"description": "WebRTC SFU browser-based video calls",
|
||||||
"main": "Server.js",
|
"main": "Server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -431,17 +431,19 @@ body {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
|
border-radius: 10px;
|
||||||
border-style: hidden;
|
border-style: hidden;
|
||||||
|
background: var(--body-bg);
|
||||||
}
|
}
|
||||||
.settingsTable td,
|
.settingsTable td,
|
||||||
th {
|
th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 5px;
|
padding: 10px;
|
||||||
/* border: 1px solid grey; */
|
/* border: 1px solid grey; */
|
||||||
}
|
}
|
||||||
.settingsTable tr:nth-child(even) {
|
/* .settingsTable tr:nth-child(even) {
|
||||||
/* background-color: #121212; */
|
background: var(--select-bg);
|
||||||
}
|
} */
|
||||||
.settingsTable i {
|
.settingsTable i {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
@@ -1453,10 +1455,21 @@ hr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wa {
|
.wa {
|
||||||
/* width: auto; */
|
|
||||||
width: 320px;
|
width: 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 500px) {
|
||||||
|
.wa {
|
||||||
|
width: 310px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 420px) {
|
||||||
|
.wa {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.ml-5 {
|
.ml-5 {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.6.24
|
* @version 1.6.25
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -4564,7 +4564,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.6.24',
|
title: 'WebRTC SFU v1.6.25',
|
||||||
html: `
|
html: `
|
||||||
<br />
|
<br />
|
||||||
<div id="about">
|
<div id="about">
|
||||||
|
|||||||
@@ -446,7 +446,10 @@ class RoomClient {
|
|||||||
console.log('00-WARNING ----> You are Banned from the Room!');
|
console.log('00-WARNING ----> You are Banned from the Room!');
|
||||||
return this.isBanned();
|
return this.isBanned();
|
||||||
}
|
}
|
||||||
|
// ##########################################
|
||||||
this.peers = new Map(JSON.parse(room.peers));
|
this.peers = new Map(JSON.parse(room.peers));
|
||||||
|
// ##########################################
|
||||||
|
|
||||||
if (!peer_info.peer_token) {
|
if (!peer_info.peer_token) {
|
||||||
// hack...
|
// hack...
|
||||||
for (let peer of Array.from(this.peers.keys()).filter((id) => id !== this.peer_id)) {
|
for (let peer of Array.from(this.peers.keys()).filter((id) => id !== this.peer_id)) {
|
||||||
@@ -1961,7 +1964,9 @@ class RoomClient {
|
|||||||
//d.appendChild(vb);
|
//d.appendChild(vb);
|
||||||
document.body.appendChild(vb);
|
document.body.appendChild(vb);
|
||||||
this.videoMediaContainer.appendChild(d);
|
this.videoMediaContainer.appendChild(d);
|
||||||
|
|
||||||
await this.attachMediaStream(elem, stream, type, 'Producer');
|
await this.attachMediaStream(elem, stream, type, 'Producer');
|
||||||
|
|
||||||
this.myVideoEl = elem;
|
this.myVideoEl = elem;
|
||||||
this.isVideoPictureInPictureSupported && this.handlePIP(elem.id, pip.id);
|
this.isVideoPictureInPictureSupported && this.handlePIP(elem.id, pip.id);
|
||||||
this.isVideoFullScreenSupported && this.handleFS(elem.id, fs.id);
|
this.isVideoFullScreenSupported && this.handleFS(elem.id, fs.id);
|
||||||
@@ -2010,6 +2015,7 @@ class RoomClient {
|
|||||||
elem.volume = 0;
|
elem.volume = 0;
|
||||||
this.myAudioEl = elem;
|
this.myAudioEl = elem;
|
||||||
this.localAudioEl.appendChild(elem);
|
this.localAudioEl.appendChild(elem);
|
||||||
|
|
||||||
await this.attachMediaStream(elem, stream, type, 'Producer');
|
await this.attachMediaStream(elem, stream, type, 'Producer');
|
||||||
|
|
||||||
const audioConsumerId = this.peer_id + '___pVolume';
|
const audioConsumerId = this.peer_id + '___pVolume';
|
||||||
@@ -2432,7 +2438,9 @@ class RoomClient {
|
|||||||
//d.appendChild(vb);
|
//d.appendChild(vb);
|
||||||
document.body.appendChild(vb);
|
document.body.appendChild(vb);
|
||||||
this.videoMediaContainer.appendChild(d);
|
this.videoMediaContainer.appendChild(d);
|
||||||
|
|
||||||
await this.attachMediaStream(elem, stream, type, 'Consumer');
|
await this.attachMediaStream(elem, stream, type, 'Consumer');
|
||||||
|
|
||||||
this.isVideoPictureInPictureSupported && this.handlePIP(elem.id, pip.id);
|
this.isVideoPictureInPictureSupported && this.handlePIP(elem.id, pip.id);
|
||||||
this.isVideoFullScreenSupported && this.handleFS(elem.id, fs.id);
|
this.isVideoFullScreenSupported && this.handleFS(elem.id, fs.id);
|
||||||
this.handleVB(d.id, vb.id);
|
this.handleVB(d.id, vb.id);
|
||||||
@@ -2509,6 +2517,7 @@ class RoomClient {
|
|||||||
elem.autoplay = true;
|
elem.autoplay = true;
|
||||||
elem.audio = 1.0;
|
elem.audio = 1.0;
|
||||||
this.remoteAudioEl.appendChild(elem);
|
this.remoteAudioEl.appendChild(elem);
|
||||||
|
|
||||||
await this.attachMediaStream(elem, stream, type, 'Consumer');
|
await this.attachMediaStream(elem, stream, type, 'Consumer');
|
||||||
|
|
||||||
// Store audio consumer and set volume
|
// Store audio consumer and set volume
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم