[mirotalksfu] - fix room broadcasting
هذا الالتزام موجود في:
@@ -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.77
|
* @version 1.5.78
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mirotalksfu",
|
"name": "mirotalksfu",
|
||||||
"version": "1.5.77",
|
"version": "1.5.78",
|
||||||
"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.77
|
* @version 1.5.78
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -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.77',
|
title: 'WebRTC SFU v1.5.78',
|
||||||
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.77
|
* @version 1.5.78
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -7014,10 +7014,11 @@ class RoomClient {
|
|||||||
const audioMessage =
|
const audioMessage =
|
||||||
'The participant has been muted, and only they have the ability to unmute themselves';
|
'The participant has been muted, and only they have the ability to unmute themselves';
|
||||||
if (isBroadcastingEnabled) {
|
if (isBroadcastingEnabled) {
|
||||||
|
alert('isBroadcastingEnabled');
|
||||||
const peerAudioButton = this.getId(data.peer_id + '___pAudio');
|
const peerAudioButton = this.getId(data.peer_id + '___pAudio');
|
||||||
if (peerAudioButton) {
|
if (peerAudioButton) {
|
||||||
const peerAudioIcon = peerAudioButton.querySelector('i');
|
const peerAudioIcon = peerAudioButton.querySelector('i');
|
||||||
if (peerAudioIcon && peerAudioIcon.style.color == 'red') {
|
if (peerAudioIcon && peerAudioIcon.classList.contains('red')) {
|
||||||
if (isRulesActive && isPresenter) {
|
if (isRulesActive && isPresenter) {
|
||||||
data.action = 'unmute';
|
data.action = 'unmute';
|
||||||
return this.confirmPeerAction(data.action, data);
|
return this.confirmPeerAction(data.action, data);
|
||||||
@@ -7043,7 +7044,7 @@ class RoomClient {
|
|||||||
const peerVideoButton = this.getId(data.peer_id + '___pVideo');
|
const peerVideoButton = this.getId(data.peer_id + '___pVideo');
|
||||||
if (peerVideoButton) {
|
if (peerVideoButton) {
|
||||||
const peerVideoIcon = peerVideoButton.querySelector('i');
|
const peerVideoIcon = peerVideoButton.querySelector('i');
|
||||||
if (peerVideoIcon && peerVideoIcon.style.color == 'red') {
|
if (peerVideoIcon && peerVideoIcon.classList.contains('red')) {
|
||||||
if (isRulesActive && isPresenter) {
|
if (isRulesActive && isPresenter) {
|
||||||
data.action = 'unhide';
|
data.action = 'unhide';
|
||||||
return this.confirmPeerAction(data.action, data);
|
return this.confirmPeerAction(data.action, data);
|
||||||
@@ -7067,7 +7068,7 @@ class RoomClient {
|
|||||||
const peerScreenButton = this.getId(id);
|
const peerScreenButton = this.getId(id);
|
||||||
if (peerScreenButton) {
|
if (peerScreenButton) {
|
||||||
const peerScreenStatus = peerScreenButton.querySelector('i');
|
const peerScreenStatus = peerScreenButton.querySelector('i');
|
||||||
if (peerScreenStatus && peerScreenStatus.style.color == 'red') {
|
if (peerScreenStatus && peerScreenStatus.classList.contains('red')) {
|
||||||
if (isRulesActive && isPresenter) {
|
if (isRulesActive && isPresenter) {
|
||||||
data.action = 'start';
|
data.action = 'start';
|
||||||
return this.confirmPeerAction(data.action, data);
|
return this.confirmPeerAction(data.action, data);
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم