|
@@ -72,6 +72,10 @@ public class LiveRoomVideoServiceImpl extends ServiceImpl<LiveRoomVideoDao, Live
|
|
|
//查询直播间
|
|
|
LiveRoom room = liveRoomService.getOne(new QueryWrapper<LiveRoom>().lambda()
|
|
|
.eq(LiveRoom::getRoomUid, roomUId));
|
|
|
+ if(Objects.isNull(room)){
|
|
|
+ log.info("recordSync >>> roomUid is null");
|
|
|
+ return;
|
|
|
+ }
|
|
|
//开始录制
|
|
|
if (notifyType == 1) {
|
|
|
insertVideo(fileUrl, recordId, notifyType, room);
|