Authored by mali

视频录制的摄像头默认是录制按钮时候的选择的摄像头

@@ -212,6 +212,7 @@ public class UfoLiveService { @@ -212,6 +212,7 @@ public class UfoLiveService {
212 public Integer queryInitCameraCode(QiniuLiveRecord req) { 212 public Integer queryInitCameraCode(QiniuLiveRecord req) {
213 Integer liveCameraCode = liveRecordTimeMapper.selectCameraByOrderCode(req.getOrderCode()); // 优先取录制按钮时候保存的摄像头编号 213 Integer liveCameraCode = liveRecordTimeMapper.selectCameraByOrderCode(req.getOrderCode()); // 优先取录制按钮时候保存的摄像头编号
214 if (null != liveCameraCode) { 214 if (null != liveCameraCode) {
  215 + req.setCameraCode(null == req.getCameraCode() ? liveCameraCode : req.getCameraCode());
215 return liveCameraCode; 216 return liveCameraCode;
216 } 217 }
217 218