[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -251,7 +251,7 @@ module.exports = class Room {
|
|||||||
const { maxIncomingBitrate, initialAvailableOutgoingBitrate, listenInfos } = this.webRtcTransport;
|
const { maxIncomingBitrate, initialAvailableOutgoingBitrate, listenInfos } = this.webRtcTransport;
|
||||||
|
|
||||||
const webRtcTransportOptions = {
|
const webRtcTransportOptions = {
|
||||||
listenInfos: listenInfos,
|
...(this.webRtcServerActive ? { webRtcServer: this.webRtcServer } : { listenInfos }),
|
||||||
enableUdp: true,
|
enableUdp: true,
|
||||||
enableTcp: true,
|
enableTcp: true,
|
||||||
preferUdp: true,
|
preferUdp: true,
|
||||||
@@ -259,8 +259,6 @@ module.exports = class Room {
|
|||||||
initialAvailableOutgoingBitrate,
|
initialAvailableOutgoingBitrate,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.webRtcServerActive) webRtcTransportOptions.webRtcServer = this.webRtcServer;
|
|
||||||
|
|
||||||
const transport = await this.router.createWebRtcTransport(webRtcTransportOptions);
|
const transport = await this.router.createWebRtcTransport(webRtcTransportOptions);
|
||||||
|
|
||||||
if (!transport) {
|
if (!transport) {
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم