This commit is contained in:
unknown 2020-11-30 16:22:04 +08:00
parent 6750d3358c
commit bde66631fc

View File

@ -191,15 +191,15 @@ function setBtnClickFuc() {
}
})
})
const jieshuh = new Promise((res)=>{
$.ajax({
url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid,
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
success(){
res(1)
}
})
})
// const jieshuh = new Promise((res)=>{
// $.ajax({
// url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid,
// headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
// success(){
// res(1)
// }
// })
// })
Promise.allSettled([promise,jiekou,jieshu,jieshuh]).then(()=>{
window.parent.location.href="/regime/livedetail?id=" + window.liveid;
})