[mirotalksfu] - improvements

هذا الالتزام موجود في:
Miroslav Pejic
2025-06-28 00:09:51 +02:00
الأصل 3cc8448221
التزام 9d3f97c818
7 ملفات معدلة مع 32 إضافات و8 حذوفات

عرض الملف

@@ -170,7 +170,11 @@ module.exports = class Peer {
throw new Error(`Producer transport with ID ${producerTransportId} not found`);
}
const producerTransport = this.transports.get(producerTransportId);
const producerTransport = this.getTransport(producerTransportId);
if (!producerTransport) {
throw new Error(`Consumer transport with ID ${producerTransportId} not found for peer ${this.peer_name}`);
}
let producer;
try {
@@ -281,7 +285,11 @@ module.exports = class Peer {
throw new Error(`Consumer transport with ID ${consumer_transport_id} not found`);
}
const consumerTransport = this.transports.get(consumer_transport_id);
const consumerTransport = this.getTransport(consumer_transport_id);
if (!consumerTransport) {
throw new Error(`Consumer transport with ID ${consumer_transport_id} not found for peer ${this.peer_name}`);
}
let consumer;
try {