[mirotalksfu] - #134 add toggleRoomBroadcasting
هذا الالتزام موجود في:
@@ -87,6 +87,7 @@ const image = {
|
||||
chatgpt: '../images/chatgpt.png',
|
||||
all: '../images/all.png',
|
||||
forbidden: '../images/forbidden.png',
|
||||
broadcasting: '../images/broadcasting.png',
|
||||
};
|
||||
|
||||
const mediaType = {
|
||||
@@ -933,6 +934,25 @@ class RoomClient {
|
||||
handleRulesBroadcasting();
|
||||
}
|
||||
|
||||
toggleRoomBroadcasting() {
|
||||
Swal.fire({
|
||||
background: swalBackground,
|
||||
position: 'center',
|
||||
imageUrl: image.broadcasting,
|
||||
title: 'Room broadcasting enabled',
|
||||
text: 'Do you want to disable room broadcasting?',
|
||||
showDenyButton: true,
|
||||
confirmButtonText: `Yes`,
|
||||
denyButtonText: `No`,
|
||||
showClass: { popup: 'animate__animated animate__fadeInDown' },
|
||||
hideClass: { popup: 'animate__animated animate__fadeOutUp' },
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
switchBroadcasting.click();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// ####################################################
|
||||
// START LOCAL AUDIO VIDEO MEDIA
|
||||
// ####################################################
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم