Authored by mali

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

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