Refactor transportclose 14.5

This commit is contained in:
Sergiu Toma 2022-08-11 15:00:28 +03:00
parent d9a53ecf20
commit 12516b59b8

1
app.js
View File

@ -280,6 +280,7 @@ const createWebRtcTransportLayer = async (callId, callback) => {
} }
const closeRoom = (callId) => { const closeRoom = (callId) => {
console.log('[closeRoom]', callId);
// Close transport for producer/consumer // Close transport for producer/consumer
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#Transport-methods // https://mediasoup.org/documentation/v3/mediasoup-client/api/#Transport-methods
// producerTransport.close() // producerTransport.close()