[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -234,7 +234,6 @@ module.exports = class Room {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async removePeer(socket_id) {
|
async removePeer(socket_id) {
|
||||||
|
|
||||||
const peer = this.getPeer(socket_id);
|
const peer = this.getPeer(socket_id);
|
||||||
|
|
||||||
if (!peer || typeof peer !== 'object') {
|
if (!peer || typeof peer !== 'object') {
|
||||||
@@ -265,7 +264,6 @@ module.exports = class Room {
|
|||||||
// ####################################################
|
// ####################################################
|
||||||
|
|
||||||
async createWebRtcTransport(socket_id) {
|
async createWebRtcTransport(socket_id) {
|
||||||
|
|
||||||
const { maxIncomingBitrate, initialAvailableOutgoingBitrate, listenInfos } = this.webRtcTransport;
|
const { maxIncomingBitrate, initialAvailableOutgoingBitrate, listenInfos } = this.webRtcTransport;
|
||||||
|
|
||||||
const webRtcTransportOptions = {
|
const webRtcTransportOptions = {
|
||||||
@@ -308,7 +306,6 @@ module.exports = class Room {
|
|||||||
iceState: iceState,
|
iceState: iceState,
|
||||||
});
|
});
|
||||||
transport.close();
|
transport.close();
|
||||||
this.removePeer(peer.id);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -326,7 +323,6 @@ module.exports = class Room {
|
|||||||
dtlsState: dtlsState,
|
dtlsState: dtlsState,
|
||||||
});
|
});
|
||||||
transport.close();
|
transport.close();
|
||||||
this.removePeer(peer.id);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم