[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -52,7 +52,7 @@ module.exports = class Room {
|
|||||||
const volume = volumes[0].volume;
|
const volume = volumes[0].volume;
|
||||||
let audioVolume = Math.round(Math.pow(10, volume / 85) * 10); // 1-10
|
let audioVolume = Math.round(Math.pow(10, volume / 85) * 10); // 1-10
|
||||||
if (audioVolume > 2) {
|
if (audioVolume > 2) {
|
||||||
console.log('PEERS', this.peers);
|
//console.log('PEERS', this.peers);
|
||||||
this.peers.forEach((peer) => {
|
this.peers.forEach((peer) => {
|
||||||
peer.producers.forEach((producer) => {
|
peer.producers.forEach((producer) => {
|
||||||
if (producer.kind == 'audio' && peer.peer_audio === true) {
|
if (producer.kind == 'audio' && peer.peer_audio === true) {
|
||||||
|
|||||||
@@ -607,6 +607,7 @@ class RoomClient {
|
|||||||
videoGoogleStartBitrate: 1000,
|
videoGoogleStartBitrate: 1000,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
producer = await this.producerTransport.produce(params);
|
producer = await this.producerTransport.produce(params);
|
||||||
|
|
||||||
console.log('PRODUCER', producer);
|
console.log('PRODUCER', producer);
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم