Refactor transportclose 14
This commit is contained in:
parent
01fec638c9
commit
d9a53ecf20
4
app.js
4
app.js
@ -282,8 +282,8 @@ const createWebRtcTransportLayer = async (callId, callback) => {
|
||||
const closeRoom = (callId) => {
|
||||
// Close transport for producer/consumer
|
||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#Transport-methods
|
||||
producerTransport.close()
|
||||
consumerTransport.close()
|
||||
// producerTransport.close()
|
||||
// consumerTransport.close()
|
||||
|
||||
// Close producer and consumer
|
||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#producer-close
|
||||
|
Loading…
Reference in New Issue
Block a user