直播完成
This commit is contained in:
@@ -967,4 +967,25 @@ export async function livestart(id: string) {
|
||||
}else{
|
||||
message.error(res.msg)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export async function livestop(id: string, roomid: string) {
|
||||
const res = await put("live/" + id, {status : 2})
|
||||
if(res.code == 0){
|
||||
message.success(res.msg)
|
||||
}else{
|
||||
message.error(res.msg)
|
||||
}
|
||||
const luzhi = await get('StopMCUMixTranscode', {roomid});
|
||||
console.log(luzhi)
|
||||
}
|
||||
export async function luzhi(roomid: string){
|
||||
const res = await get('StartMCUMixTranscode', {roomid});
|
||||
console.log(res)
|
||||
}
|
||||
|
||||
// export async function StopMCUMixTranscode(roomid: number) {
|
||||
// const res = await get('StopMCUMixTranscode', {roomid});
|
||||
// console.log(res)
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user