优化国标级联录像预览
This commit is contained in:
@@ -129,7 +129,6 @@ public class PlayController {
|
||||
//Response response = event.getResponse();
|
||||
msg.setData(String.format("success"));
|
||||
resultHolder.invokeAllResult(msg);
|
||||
mediaServerService.closeRTPServer(device, channelId, streamInfo.getStream());
|
||||
});
|
||||
|
||||
if (deviceId != null || channelId != null) {
|
||||
|
||||
@@ -77,8 +77,8 @@ public class PlaybackController {
|
||||
logger.debug(String.format("设备回放 API调用,deviceId:%s ,channelId:%s", deviceId, channelId));
|
||||
}
|
||||
|
||||
DeferredResult<ResponseEntity<String>> result = playService.playBack(deviceId, channelId, startTime, endTime, msg->{
|
||||
resultHolder.invokeResult(msg);
|
||||
DeferredResult<ResponseEntity<String>> result = playService.playBack(deviceId, channelId, startTime, endTime, wvpResult->{
|
||||
resultHolder.invokeResult(wvpResult.getData());
|
||||
});
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user