Refactor transportclose 6
This commit is contained in:
parent
8f7b60c78a
commit
65b5b563ff
1
app.js
1
app.js
@ -235,6 +235,7 @@ peers.on('connection', async socket => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user