Merge branch 'main' of github.com:miroslavpejic85/mirotalksfu
هذا الالتزام موجود في:
@@ -333,7 +333,12 @@ httpsServer.listen(config.listenPort, () => {
|
||||
// ####################################################
|
||||
|
||||
(async () => {
|
||||
await createWorkers();
|
||||
try {
|
||||
await createWorkers();
|
||||
} catch (err) {
|
||||
log.error('Create Worker ERR --->', err);
|
||||
process.exit(1);
|
||||
}
|
||||
})();
|
||||
|
||||
async function createWorkers() {
|
||||
|
||||
@@ -644,6 +644,18 @@ button:hover {
|
||||
background-color: #0c0b0b;
|
||||
} */
|
||||
|
||||
#inviteParticipants {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
margin: 10px auto 0px auto;
|
||||
background-color: #191919;
|
||||
border-radius: 10px;
|
||||
}
|
||||
#inviteParticipants:hover {
|
||||
color: #fff;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
#searchParticipants {
|
||||
margin-top: 15px;
|
||||
width: 100%;
|
||||
|
||||
@@ -1534,6 +1534,12 @@ async function getRoomParticipants(refresh = false) {
|
||||
|
||||
async function getParticipantsTable(peers) {
|
||||
let table = `
|
||||
<div>
|
||||
<button
|
||||
id="inviteParticipants"
|
||||
onclick="shareRoom(true);"
|
||||
><i class="fas fa-user-plus"></i> Invite Someone</button>
|
||||
</div>
|
||||
<div>
|
||||
<input
|
||||
id="searchParticipants"
|
||||
|
||||
@@ -2038,10 +2038,14 @@ class RoomClient {
|
||||
return;
|
||||
}
|
||||
if (e.dataTransfer.items) {
|
||||
if (e.dataTransfer.items[0].kind === 'file') {
|
||||
var file = e.dataTransfer.items[0].getAsFile();
|
||||
rc.sendFileInformations(file, peer_id);
|
||||
let item = e.dataTransfer.items[0].webkitGetAsEntry();
|
||||
console.log('Drag and drop', item);
|
||||
if (item.isDirectory) {
|
||||
userLog('warning', 'Please drag and drop a single file not a folder.', 'top-end');
|
||||
return;
|
||||
}
|
||||
var file = e.dataTransfer.items[0].getAsFile();
|
||||
rc.sendFileInformations(file, peer_id);
|
||||
} else {
|
||||
rc.sendFileInformations(e.dataTransfer.files[0], peer_id);
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
<div class="hero-inner">
|
||||
<div class="hero-copy">
|
||||
<h1 class="hero-title mt-0">
|
||||
MiroTalk SFU<br />Free browser based real-time video calls.<br />
|
||||
MiroTalk SFU<br />Free browser based Real-time video calls.<br />
|
||||
Simple, Secure, Fast.
|
||||
</h1>
|
||||
<p class="hero-paragraph">
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم