|
@@ -1,5 +1,6 @@
|
|
|
package com.ym.mec.teacher.controller;
|
|
|
|
|
|
+import com.microsvc.toolkit.middleware.live.message.TencentWrapper;
|
|
|
import com.ym.mec.biz.dal.dto.LiveRoomStatus;
|
|
|
import com.ym.mec.biz.dal.dto.RoomReservationUserSearch;
|
|
|
import com.ym.mec.biz.dal.page.LiveRoomGoodsOrderQueryInfo;
|
|
@@ -199,5 +200,16 @@ public class TeacherImLiveBroadcastRoomController extends BaseController {
|
|
|
public HttpResponseResult<Boolean> updateRoomStatus(@RequestBody @Valid LiveRoomStatus status ) {
|
|
|
return succeed(imLiveBroadcastRoomService.updateRoomStatus(status));
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation("直播间推流状态")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "roomUid", dataType = "String", value = "房间Uid", required = true),
|
|
|
+ })
|
|
|
+ @GetMapping(value = "/liveStreamStatus")
|
|
|
+ public HttpResponseResult<TencentWrapper.LiveStreamState> roomLiveStream(String roomUid) {
|
|
|
+
|
|
|
+ // 直播间推流状态查询
|
|
|
+ return succeed(imLiveBroadcastRoomService.roomLiveStreamStatus(roomUid));
|
|
|
+ }
|
|
|
}
|
|
|
|