Refactor transportclose 14

This commit is contained in:
Sergiu Toma 2022-08-11 14:59:50 +03:00
parent 01fec638c9
commit d9a53ecf20

4
app.js
View File

@ -282,8 +282,8 @@ const createWebRtcTransportLayer = async (callId, callback) => {
const closeRoom = (callId) => { const 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()
consumerTransport.close() // consumerTransport.close()
// Close producer and consumer // Close producer and consumer
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#producer-close // https://mediasoup.org/documentation/v3/mediasoup-client/api/#producer-close