[mirotalksfu] - improve nodemailer, update dep, speaker focus WIP
هذا الالتزام موجود في:
@@ -205,6 +205,8 @@ module.exports = class Peer {
|
||||
kind: producer_kind,
|
||||
rtpParameters: producer_rtpParameters,
|
||||
});
|
||||
|
||||
this.addProducer(producer.id, producer);
|
||||
} catch (error) {
|
||||
log.error(`Error creating producer for transport ID ${producerTransportId}`, {
|
||||
error: error.message,
|
||||
@@ -222,8 +224,6 @@ module.exports = class Peer {
|
||||
|
||||
appData.mediaType = producer_type;
|
||||
|
||||
this.addProducer(id, producer);
|
||||
|
||||
if (['simulcast', 'svc'].includes(type)) {
|
||||
const { scalabilityMode } = rtpParameters.encodings[0];
|
||||
const spatialLayer = parseInt(scalabilityMode.substring(1, 2)); // 1/2/3
|
||||
@@ -316,6 +316,8 @@ module.exports = class Peer {
|
||||
paused: true, // Start the consumer in a paused state
|
||||
ignoreDtx: true, // Ignore DTX (Discontinuous Transmission)
|
||||
});
|
||||
|
||||
this.addConsumer(consumer.id, consumer);
|
||||
} catch (error) {
|
||||
log.error(`Error creating consumer for transport ID ${consumer_transport_id}`, {
|
||||
error: error.message,
|
||||
@@ -330,8 +332,6 @@ module.exports = class Peer {
|
||||
|
||||
const { id, type, kind, rtpParameters, producerPaused } = consumer;
|
||||
|
||||
this.addConsumer(id, consumer);
|
||||
|
||||
if (['simulcast', 'svc'].includes(type)) {
|
||||
// simulcast - L1T3/L2T3/L3T3 | svc - L3T3
|
||||
const { scalabilityMode } = rtpParameters.encodings[0];
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم