视频录制的摄像头默认是录制按钮时候的选择的摄像头
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -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 |
-
Please register or login to post a comment