This commit is contained in:
2024-11-01 18:21:57 +08:00
parent d7cf86507a
commit 579fd2eaf6
17 changed files with 650 additions and 500 deletions

View File

@@ -121,15 +121,21 @@ function deleteRoomConfig(roomId){
function getAllLive(page,limit){
return get("/live/list?page="+page+"&limit="+limit)
}
function getAllConfig(page,limit){
return get("/live/config/all?page="+page+"&limit="+limit)
}
//----------------首页相关接口end
//----------------视频相关接口
//----------------直播视频相关接口
function startLiveVideo(roomId){
return get("/live/video/start?roomId="+roomId)
}
function stopLiveVideo(roomId){
return get("/live/video/stop?roomId="+roomId)
}
//----------------视频相关接口end
function getVideo(roomId,page,limit){
return get("/file/list?roomId="+roomId+"&page="+page+"&limit="+limit)
}
//----------------直播视频相关接口end
//----------------弹幕相关接口
function startLiveDanmu(roomId){
return get("/live/danmu/start?roomId="+roomId)