[mirotalksfu] - refactoring

هذا الالتزام موجود في:
Miroslav Pejic
2021-10-14 23:02:49 +02:00
الأصل cc86c16902
التزام f986e719da
5 ملفات معدلة مع 30 إضافات و45 حذوفات

عرض الملف

@@ -122,7 +122,7 @@ body {
}
.sidenav button:hover {
color: rgb(0, 180, 50);
color: grey;
transform: var(--btns-hover-scale);
}
@@ -471,7 +471,7 @@ emoji-picker {
}
#about a:hover {
color: rgb(0, 180, 50);
color: grey;
transition: all 0.3s ease-in-out;
}
@@ -530,7 +530,7 @@ button {
}
button:hover {
color: rgb(0, 180, 50);
color: grey;
transform: var(--btns-hover-scale);
}

عرض الملف

@@ -6269,6 +6269,7 @@
const answer = { type: 'answer', sdp: this._remoteSdp.getSdp() };
logger.debug('stopSending() | calling pc.setRemoteDescription() [answer:%o]', answer);
await this._pc.setRemoteDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async replaceTrack(localId, track) {
this._assertSendDirection();
@@ -6399,6 +6400,7 @@
const answer = await this._pc.createAnswer();
logger.debug('stopReceiving() | calling pc.setLocalDescription() [answer:%o]', answer);
await this._pc.setLocalDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async pauseReceiving(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -6818,6 +6820,7 @@
const answer = { type: 'answer', sdp: this._remoteSdp.getSdp() };
logger.debug('stopSending() | calling pc.setRemoteDescription() [answer:%o]', answer);
await this._pc.setRemoteDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async replaceTrack(localId, track) {
this._assertSendDirection();
@@ -6947,6 +6950,7 @@
const answer = await this._pc.createAnswer();
logger.debug('stopReceiving() | calling pc.setLocalDescription() [answer:%o]', answer);
await this._pc.setLocalDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async pauseReceiving(localId) {
this._assertRecvDirection();
@@ -7822,6 +7826,7 @@
const answer = { type: 'answer', sdp: this._remoteSdp.getSdp() };
logger.debug('stopSending() | calling pc.setRemoteDescription() [answer:%o]', answer);
await this._pc.setRemoteDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async replaceTrack(localId, track) {
this._assertSendDirection();
@@ -7954,6 +7959,7 @@
const answer = await this._pc.createAnswer();
logger.debug('stopReceiving() | calling pc.setLocalDescription() [answer:%o]', answer);
await this._pc.setLocalDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async pauseReceiving(localId) {
this._assertRecvDirection();
@@ -9451,6 +9457,7 @@
const answer = { type: 'answer', sdp: this._remoteSdp.getSdp() };
logger.debug('stopSending() | calling pc.setRemoteDescription() [answer:%o]', answer);
await this._pc.setRemoteDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async replaceTrack(localId, track) {
this._assertSendDirection();
@@ -9580,6 +9587,7 @@
const answer = await this._pc.createAnswer();
logger.debug('stopReceiving() | calling pc.setLocalDescription() [answer:%o]', answer);
await this._pc.setLocalDescription(answer);
this._mapMidTransceiver.delete(localId);
}
async pauseReceiving(localId) {
this._assertRecvDirection();
@@ -11157,7 +11165,7 @@
/**
* Expose mediasoup-client version.
*/
exports.version = '3.6.42';
exports.version = '3.6.43';
/**
* Expose parseScalabilityMode() function.
*/

عرض الملف

@@ -130,7 +130,7 @@ access to use this app.
<button id="chatButton" class="hidden"><i class="fas fa-comments"></i> Chat</button>
<button id="fullScreenButton" class="hidden"><i class="fas fa-expand-alt"></i> Full screen</button>
<button id="swapCameraButton" class="hidden"><i class="fas fa-sync-alt"></i> Swap Cam</button>
<button id="raiseHandButton" class="hidden"><i class="fas fa-hand-rock"></i> Raise hand</button>
<button id="raiseHandButton" class="hidden"><i class="fas fa-hand-paper"></i> Raise hand</button>
<button id="lowerHandButton" class="hidden"><i class="fas fa-hand-paper"></i> Lower hand</button>
<button id="startAudioButton" class="hidden"><i class="fas fa-microphone-slash"></i> Start audio</button>
<button id="stopAudioButton" class="hidden"><i class="fas fa-microphone"></i> Stop audio</button>
@@ -243,36 +243,7 @@ access to use this app.
</div>
</header>
<main id="chatMsger" class="chat-msger">
<div class="msg left-msg">
<div
class="msg-img"
style="
background-image: url('https://eu.ui-avatars.com/api?name=Participant&size=24&background=random&rounded=true');
"
></div>
<div class="msg-bubble">
<div class="msg-info">
<div class="msg-info-name">Participant</div>
<div class="msg-info-time">00:00:00</div>
</div>
<div class="msg-text">Public message example</div>
</div>
</div>
<div class="msg right-msg">
<div
class="msg-img"
style="
background-image: url('https://eu.ui-avatars.com/api?name=You&size=24&background=random&rounded=true');
"
></div>
<div class="msg-bubble">
<div class="msg-info">
<div class="msg-info-name">You</div>
<div class="msg-info-time">00:00:00</div>
</div>
<div class="msg-text">Public message example</div>
</div>
</div>
<!-- chat messages -->
</main>
<div class="chat-msger-inputarea">
<input