Refactor transportclose 4
This commit is contained in:
parent
7bb45dca19
commit
9c46ed4944
@ -351,7 +351,7 @@ const createRecvTransport = async () => {
|
||||
|
||||
const resetCallSettings = () => {
|
||||
console.log('resetCallSettings', callId);
|
||||
socket.emit('transportclose', { callId })
|
||||
socket.emit('transportclose')
|
||||
localVideo.srcObject = null
|
||||
remoteVideo.srcObject = null
|
||||
consumer = null
|
||||
@ -399,7 +399,7 @@ const connectRecvTransport = async () => {
|
||||
|
||||
const closeCall = () => {
|
||||
console.log('closeCall', callId);
|
||||
socket.emit('transportclose', { callId })
|
||||
socket.emit('transportclose')
|
||||
// Reset settings and send closeTransport to video server
|
||||
// resetCallSettings()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user