Added room it when close transport; Added ts config file

This commit is contained in:
2022-08-11 11:33:16 +03:00
parent c8a774a903
commit 625fb28e65
7 changed files with 4828 additions and 34 deletions

View File

@ -20653,8 +20653,8 @@ module.exports = yeast;
},{}],95:[function(require,module,exports){
module.exports = {
hubAddress: 'https://hub.dev.linx.safemobile.com/',
mediasoupAddress: 'https://video.safemobile.org/mediasoup',
// mediasoupAddress: 'http://localhost:3000/mediasoup',
// mediasoupAddress: 'https://video.safemobile.org/mediasoup',
mediasoupAddress: 'http://localhost:3000/mediasoup',
}
},{}],96:[function(require,module,exports){
const io = require('socket.io-client')
@ -21009,7 +21009,7 @@ const createRecvTransport = async () => {
}
const resetCallSettings = () => {
socket.emit('transportclose')
socket.emit('transportclose', { callId })
localVideo.srcObject = null
remoteVideo.srcObject = null
consumer = null

View File

@ -350,7 +350,7 @@ const createRecvTransport = async () => {
}
const resetCallSettings = () => {
socket.emit('transportclose')
socket.emit('transportclose', { callId })
localVideo.srcObject = null
remoteVideo.srcObject = null
consumer = null