Merge branch 'main' of github.com:miroslavpejic85/mirotalksfu

هذا الالتزام موجود في:
Laurent Goussard
2022-06-07 19:00:14 +02:00
الأصل 39d73a31c5 31cde8021a
التزام 25711dc02c
5 ملفات معدلة مع 32 إضافات و5 حذوفات

عرض الملف

@@ -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>&nbsp; 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">