[mirotalk] - #202 - wip

هذا الالتزام موجود في:
Miroslav Pejic
2023-12-18 21:28:52 +01:00
الأصل 18fb2f7609
التزام 213d882638
5 ملفات معدلة مع 12 إضافات و6 حذوفات

عرض الملف

@@ -40,7 +40,7 @@ dependencies: {
* @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.3.41
* @version 1.3.42
*
*/

عرض الملف

@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.3.41",
"version": "1.3.42",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"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 CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.3.41
* @version 1.3.42
*
*/

عرض الملف

@@ -9,7 +9,7 @@
* @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.3.41
* @version 1.3.42
*
*/
@@ -5259,6 +5259,8 @@ class RoomClient {
let btnKo = this.getId(uid);
if (btnKo) {
btnKo.addEventListener('click', () => {
if (!isPresenter)
return this.userLog('warning', 'Only the presenter can eject the participants', 'top-end');
this.peerAction('me', peer_id, 'eject');
});
}
@@ -5274,6 +5276,8 @@ class RoomClient {
let btnCm = this.getId(uid);
if (btnCm) {
btnCm.addEventListener('click', () => {
if (!isPresenter)
return this.userLog('warning', 'Only the presenter can hide the participants', 'top-end');
this.peerAction('me', peer_id, 'hide');
});
}
@@ -5289,6 +5293,8 @@ class RoomClient {
let btnAU = this.getId(uid);
if (btnAU) {
btnAU.addEventListener('click', (e) => {
if (!isPresenter)
return this.userLog('warning', 'Only the presenter can mute the participants', 'top-end');
if (e.target.className === html.audioOn) {
this.peerAction('me', peer_id, 'mute');
}

عرض الملف

@@ -97,8 +97,8 @@ function handleRules(isPresenter) {
BUTTONS.videoOff.muteAudioButton = false;
BUTTONS.videoOff.ejectButton = false;
BUTTONS.consumerVideo.ejectButton = false;
BUTTONS.consumerVideo.muteAudioButton = false;
BUTTONS.consumerVideo.muteVideoButton = false;
//BUTTONS.consumerVideo.muteAudioButton = false;
//BUTTONS.consumerVideo.muteVideoButton = false;
BUTTONS.whiteboard.whiteboardLockButton = false;
//...
} else {