Added room it when close transport; Added ts config file
This commit is contained in:
parent
112ab0b229
commit
c49da6696c
@ -400,6 +400,9 @@ const connectRecvTransport = async () => {
|
||||
const closeCall = () => {
|
||||
console.log('closeCall');
|
||||
|
||||
// Reset settings and send closeTransport to video server
|
||||
resetCallSettings()
|
||||
|
||||
// Emit 'notify-end' to Hub so the consumer will know to close the video
|
||||
const notifyEnd = {
|
||||
origin_asset_id: ASSET_ID,
|
||||
@ -414,8 +417,6 @@ const closeCall = () => {
|
||||
const closeCallBtn = document.getElementById('btnCloseCall')
|
||||
closeCallBtn.setAttribute('disabled', '')
|
||||
|
||||
// Reset settings and send closeTransport to video server
|
||||
resetCallSettings()
|
||||
}
|
||||
|
||||
btnLocalVideo.addEventListener('click', getLocalStream)
|
||||
|
Loading…
Reference in New Issue
Block a user